CPC H04N 19/132 (2014.11) [H04N 19/105 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/186 (2014.11); H04N 19/70 (2014.11)] | 4 Claims |
1. A method for decoding video data, the method comprising:
acquiring, from a bitstream, information on a luma prediction mode and information on a chroma prediction mode of a current coding block;
deriving a luma intra prediction type and luma intra prediction mode of the current coding block based on the information on the luma prediction mode, the luma intra prediction type comprising matrix-based intra prediction (MIP) and regular intra prediction;
determining a chroma intra prediction mode of the current coding block, based on the luma intra prediction type and luma intra prediction mode of the current coding block and the information on the chroma prediction mode; and
generating chroma prediction samples of the current coding block based on the chroma intra prediction mode of the current coding block;
wherein, the determining of a chroma intra prediction mode of the current coding block comprises:
if the information on the chroma prediction mode indicates DM (Direct mode), the luma intra prediction type of the current coding block is the matrix-based intra prediction, and a sampling format of the video data is 4:4:4,
determining that the chroma intra prediction type of the current coding block is the matrix-based intra prediction, and determining that the chroma intra prediction mode corresponding to the chroma intra prediction type of the current coding block is the same as a matrix-based intra prediction mode derived as the luma intra prediction mode of the current coding block.
|