CPC H04N 19/117 (2014.11) [H04N 19/11 (2014.11); H04N 19/176 (2014.11); H04N 19/186 (2014.11)] | 13 Claims |
1. A method for video processing, the method comprising:
receiving an input chroma block from a video sequence;
determining that the input chroma block is to be predicted in a Chroma from Luma (CfL) prediction mode for the video sequence;
applying a plurality of downsampling filters to obtain a plurality of sets of downsampled luma samples corresponding to the input chroma block, respectively;
iteratively predicting the input chroma block in the CfL prediction mode based on each of the plurality of sets of downsampled luma samples;
calculating a plurality of error scores for the iteratively predicting, each of the plurality of error scores corresponding to a respective one of the plurality of downsampling filters;
biasing one of the plurality of error scores to increase a likelihood that a downsampling filter corresponding to the one of the plurality of error scores is selected;
selecting a target downsampling filter from the plurality of downsampling filters based on the plurality of error scores with the biasing; and
encoding the input chroma block in the CfL prediction mode by applying the selected target downsampling filter.
|