| CPC H04N 19/30 (2014.11) [H04N 19/107 (2014.11); H04N 19/132 (2014.11); H04N 19/159 (2014.11); H04N 19/184 (2014.11); H04N 19/186 (2014.11); H04N 19/50 (2014.11); H04N 19/85 (2014.11)] | 6 Claims |

|
1. A method for video decoding, comprising:
obtaining a plurality of prediction samples, in a mapped domain, of luma component of a Coding Unit (CU) that is coded by a combined inter and intra prediction (CIIP) mode under luma mapping with chroma scaling (LMCS) framework based on a pre-defined plurality of forward mapping scaling factors that are in a pre-defined forward mapping precision, the pre-defined forward mapping precision is 11-bit;
obtaining a plurality of residual samples, in the mapped domain, of the luma component of the CU;
adding the plurality of prediction samples, in the mapped domain, of the luma component of the CU to the plurality of residual samples in the mapped domain, resulting in a plurality of reconstructed samples, in the mapped domain, of the luma component; and
converting the plurality of reconstructed samples of the luma component from the mapped domain into an original domain based on a pre-defined plurality of inverse mapping scaling factors;
wherein obtaining the plurality of prediction samples, in the mapped domain, of the luma component of the CU comprises:
deriving a plurality of inter prediction samples, in the original domain, of the luma component of the CU from a temporal reference picture of the CU;
obtaining converted inter prediction samples by converting the plurality of inter prediction samples of the luma component from the original domain into the mapped domain based on a pre-defined coding bit-depth and the pre-defined plurality of forward mapping scaling factors that are in the pre-defined forward mapping precision;
calculating a plurality of intra prediction samples, in the mapped domain, of the luma component of the CU; and
deriving the plurality of prediction samples, in the mapped domain, of the luma component of the CU as a weighted average of the converted inter prediction samples and the plurality of intra prediction samples.
|