| CPC H04N 19/107 (2014.11) [H04N 19/176 (2014.11); H04N 19/186 (2014.11); H04N 19/513 (2014.11)] | 20 Claims |

|
1. A method of decoding performed in a decoder, the method comprising:
receiving a coded video bitstream comprising a current block, the current block being associated with at least a first color component and a second color component;
obtaining coded information of the first color component and the second color component associated with the current block;
when a first prediction mode for the first color component associated with the current block is one of (i) an intra prediction mode, (ii) an inter prediction mode, or (iii) a combined intra-inter prediction mode,
determining a second prediction mode for the second color component associated with the current block based on the first prediction mode being selected from (i), (ii), or (iii), wherein when the first prediction mode for the first color component is the inter prediction mode, the second prediction mode for the second color component is determined based on a template matching (TM) cost of a template of the second color component, the template including adjacent samples of the second color component; and
reconstructing the current block based on predicting the first color component of the current block in the first prediction mode and predicting the second color component of the current block in the second prediction mode.
|