主权项 |
1. A method of decoding a video signal with a decoding apparatus, comprising:
obtaining, with the decoding apparatus, a block type information of a current block; obtaining, with the decoding apparatus, an intra prediction mode of the current block when the block type information indicates that the current block is coded in an intra mode and wherein the current block includes at least one first sub-block; obtaining, with the decoding apparatus, a prediction value of the first sub-block based on the intra prediction mode, the prediction value of the first sub-block being obtained by a second sub-block unit, a second sub-block resulting from a partitioning of the first sub-block, the first sub-block including four second sub-blocks, the second sub-block unit being determined based on transform size information of the current block; obtaining, with the decoding apparatus, coded block pattern information of the first sub-block, the coded block pattern information indicating whether a transform block includes coded transform coefficients; determining, with the decoding apparatus, based on the coded block pattern information of the first sub-block, whether or not to check coded block pattern information of one or more of the four second sub-blocks; upon determining that the coded block pattern information of one or more of the four second sub-blocks is to be checked, checking, with the decoding apparatus, for at least one second sub-block having a same coded block pattern information as the obtained coded block pattern information of the first sub-block, the checking being performed when the coded block pattern information of the first sub-block indicates that the transform block includes the coded transform coefficients; reconstructing, with the decoding apparatus, the first sub-block using the prediction value of the first sub-block and the coded block pattern information of the second sub-block; obtaining, with the decoding apparatus, motion information from a block adjacent to a third sub-block when the block type information indicates that the current block is coded in inter mode and wherein the current block includes at least one third sub-block; and obtaining, with the decoding apparatus, a prediction value of the third sub-block based on the motion information. |