| CPC H04N 19/137 (2014.11) [H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/186 (2014.11)] | 4 Claims |

|
3. A decoder, comprising:
a processor; and
a storage medium storing instructions executable by the processor,
wherein the storage medium is configured to communicate with the processor through a communication bus to execute an operation, and the instructions are executed by the processor to implement a method for determining a prediction direction, the method comprising:
determining a chroma intra prediction mode of a block to be decoded;
acquiring a Direct Mode (DM) in the chroma intra prediction mode; and
determining an index number of the prediction direction in a DM derived mode based on M, N, K1 and K2 to determine the DM derived mode;
wherein the N is an offset, the M is an index value of prediction direction of the DM, the K1 is a minimum value of index values of prediction directions in the DM and the K2 is a maximum value of the index values of the prediction directions in the DM, and
wherein decoding of a Cross-Component Linear Model Prediction (CCLM) is decoded prior to decoding of the DM derived mode.
|