| CPC H04N 19/46 (2014.11) [H04N 19/176 (2014.11); H04N 19/186 (2014.11); H04N 19/70 (2014.11)] | 12 Claims |

|
1. A method for decoding video data, the method comprising:
obtaining first residual data for a current block from a bitstream;
determining whether to apply color space transform to the first residual data based on a high-level color transform control flag and a block-level color transform control flag; and
in response to a determination that the color space transform is applied to the first residual data, generating second residual data by performing reverse color transform on the first residual data;
generating a prediction block for the current block; and
generating a reconstructed block for the current block based on the prediction block and the second residual data,
wherein the high-level color transform control flag is signaled in the bitstream depending on a maximum transform size allowed in a sequence of pictures including the current block, and the block-level color transform control flag is signaled in the bitstream depending on the high-level color transform control flag,
wherein, when the high-level color transform control flag and the block-level color transform control flag are not signaled, the high-level color transform control flag and the block-level color transform control flag are inferred to be false, and
wherein the method further comprises:
decoding a syntax element indicating the maximum transform size allowed for the sequence of the pictures from the bitstream; and
decoding the high-level color transform control flag from the bitstream when the syntax element indicates that the maximum transform size is smaller than a predetermined value.
|