摘要 |
Provided are an apparatus and a method for processing video data. The method for processing video data comprises the steps of: determining a primary transform C_N for application to residual data; determining a secondary transform Tr_K for application to the residual data; applying the primary transform C_N to the residual data; and selectively applying the secondary transform Tr_K to the residual data, wherein N denotes the length of an input vector to which the primary transform C_N is applied, and K denotes the length of a predetermined number of coefficients of a primary transform output to which the secondary transform Tr_K is applied. Similar inverse operations, that is, an inverse secondary transform inv (Tr_K) is selectively applied to the input residual data by a decoder and then an inverse primary transform inv (C_N) is applied. |