CPC H04N 19/51 (2014.11) [H04N 19/107 (2014.11); H04N 19/11 (2014.11); H04N 19/172 (2014.11); H04N 19/176 (2014.11); H04N 19/18 (2014.11); H04N 19/44 (2014.11); H04N 19/61 (2014.11); H04N 19/86 (2014.11)] | 9 Claims |
1. A method for decoding a bitstream by a video decoding apparatus, the method comprising:
obtaining, by the video decoding apparatus from the bitstream, first information for a current block, the first information specifying whether the bitstream contains transform coefficient information for the current block;
determining, based on the first information, whether to obtain second information for a sub-block of the current block, the second information of the sub-block specifying whether the bitstream contains transform coefficient information for the sub-block;
obtaining, by the video decoding apparatus from the bitstream, the second information for the sub-block of the current block based on the first information having a first value;
obtaining, by the video decoding apparatus from the bitstream, the transform coefficient information for the sub-block based on the second information of the sub-block having the first value;
obtaining, by the video decoding apparatus, residual data of the sub-block based on the obtained transform coefficient information;
obtaining, by the video decoding apparatus, a predicted value of the sub-block based on an intra-prediction; and
reconstructing, by the video decoding apparatus, the sub block based on the obtained residual data and the predicted value,
wherein, based on the first information having a second value, the obtaining the second information for the sub-block of the current block is skipped, and
wherein, based on the second information of the sub-block having the second value, the obtaining the transform coefficient information for the sub-block is skipped.
|