CPC H04N 19/103 (2014.11) [H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/593 (2014.11)] | 7 Claims |
1. A method of decoding an image, comprising:
receiving a bitstream including the image;
determining an intra prediction mode for a chroma component of a current block in the image; and
performing, based on the intra prediction mode, intra prediction for the chroma component of the current block using one or more reference sample lines of the current block,
wherein a number of the one or more reference sample lines available for the chroma component of the current block is adaptively determined based on a position of the current block in a coding tree unit (CTU),
wherein, in response to a case where the current block is located on the boundary of the CTU, the intra prediction for the chroma component of the current block is performed using one reference sample line, and
wherein, in response to a case where the current block is not located on the boundary of the CTU, the intra prediction for the chroma component of the current block is performed using three reference sample lines.
|