1. A method, comprising: approximating at least one non-power-of-2 element of a matrix as a power-of-2 element such that all elements of a resultant matrix are power-of-2 elements; and encoding video data using the resultant matrix.