CPC H04N 19/137 (2014.11) [H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/186 (2014.11)] | 4 Claims |
1. A method for determining a prediction direction, implemented by a decoder and 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
in response to that a sum value of M and N is larger than or equal to K2 and a difference value between the M and N is smaller than or equal to K1, determining that an index value of prediction direction of a DM derived mode is the K1 and the K2 respectively,
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 of the DM, and K2 is a maximum value of the index values of the prediction directions of the DM, and
wherein the DM derived mode is set after a Cross-Component Linear Model Prediction (CCLM) mode is set.
|