CPC H04N 19/18 (2014.11) [H04N 19/176 (2014.11); H04N 19/44 (2014.11)] | 18 Claims |
1. An apparatus configured to decode video data, the apparatus comprising:
a memory configured to store a block of video data; and
one or more processors implemented in circuitry and in communication with the memory, the one or more processors configured to:
receive the block of video data;
set an MtsDcOnly variable to 1, wherein the MtsDcOnly variable having a value of 1 indicates that the only non-zero transform coefficient in the block of video data is a DC coefficient;
reset the MtsDcOnly variable to 0 in the case that that a last scan position is greater than zero and a last subblock of the block is equal to zero, wherein the MtsDcOnly variable having a value of 0 indicates that there are non-zero transform coefficients in the block of video data other than the DC coefficient;
determine a presence of non-zero transform coefficients in the block of video data other than the DC coefficient based on the value of the MtsDcOnly variable;
determine a value of a multiple transform set index for the block of video data based on the presence of non-zero transform coefficients in the block of video data other than the DC coefficient; and
apply a transform to the block of video data based on the determined value of the multiple transform set index.
|