CPC H04N 19/593 (2014.11) [H04N 19/117 (2014.11); H04N 19/132 (2014.11); H04N 19/176 (2014.11); H04N 19/186 (2014.11); H04N 19/70 (2014.11)] | 20 Claims |
1. A method for performing chroma from luma (CfL) intra prediction, the method being performed by at least one processor and comprising:
receiving a current block from a coded video bitstream;
obtaining, from the coded video bitstream, a syntax element indicating which of two or more downsampling filters is used for predicting the current block in a CfL intra prediction mode;
in response to the syntax element indicating that a first downsampling filter is used for the current block:
determining a plurality of filter coefficients according to the first downsampling filter; and
downsampling the current block based on the determined plurality of coefficients using a first number of sampling positions;
in response to the syntax element indicating that a second downsampling filter is used for the current block:
determining the plurality of filter coefficients according to the second downsampling filter;
downsampling the current block based on the determined plurality of coefficients using a second number of sampling positions, wherein the second number of sampling positions are different from the first number of sampling positions; and
reconstructing the current block after downsampling the current block.
|