Methods and systems for efficient scaling in the transform domain are
provided when transform coefficient data is provided as an input to a
data processing system, comprising generating a first matrix from
transform coefficient data; zeroing out a row or column of, or inserting
a row or column of zeros into, the first matrix; generating a second
matrix by applying a one-dimensional inverse transform to the first
matrix with the zeroed-out at least one row, the at least one column, the
inserted at least one row of zeros or the at least one column of zeros;
generating a third matrix by regrouping the second matrix; generating a
combined matrix by applying a forward transform to the third matrix; and
the data processing system scaling the data represented by the transform
coefficient data by applying the combined matrix to the transform
coefficient data.