CPC H04N 19/159 (2014.11) [H04N 19/11 (2014.11); H04N 19/124 (2014.11); H04N 19/152 (2014.11); H04N 19/176 (2014.11); H04N 19/197 (2014.11); H04N 19/513 (2014.11); H04N 19/547 (2014.11); H04N 19/61 (2014.11); H04N 19/184 (2014.11); H04N 19/50 (2014.11)] | 13 Claims |
1. A video decoding method performed by a video decoding apparatus, the method comprising:
determining a neighboring intra prediction mode associated with a neighboring block, the neighboring block being adjacent to a current block;
determining a current intra prediction mode associated with the current block based on whether the neighboring intra prediction mode associated with the neighboring block has directionality or not;
performing intra-prediction based on the current intra prediction mode associated with the current block to generate a prediction block associated with the current block;
obtaining transform coefficients by using a discrete cosine transform;
dequantizing the transform coefficients to generate dequantized transform coefficients;
transforming the dequantized transform coefficients to generate a residual block associated with the current block; and
reconstructing the current block based on the prediction block and the residual block,
wherein determining the current intra prediction mode associated with the current block comprises:
determining candidate intra prediction modes associated with the current block according to a first set of two or more mathematical expressions, when the neighboring intra prediction mode associated with the neighboring block has no directionality,
determining candidate intra prediction modes associated with the current block according to a second set of two or more mathematical expressions, when the neighboring intra prediction mode associated with the neighboring block has directionality,
selecting the current intra prediction mode associated with the current block among the candidate intra prediction modes,
wherein the second set of two or more mathematical expressions is different from the first set of two or more mathematical expressions,
wherein the second set of two or more mathematical expressions use the neighboring intra prediction mode associated with the neighboring block, and
the neighboring block includes a left block adjacent to the current block.
|