CPC H04N 19/117 (2014.11) [H04N 19/132 (2014.11); H04N 19/186 (2014.11); H04N 19/46 (2014.11); H04N 19/82 (2014.11)] | 19 Claims |
1. A method for in-loop filtering of a current video, comprising:
extracting at least one loop filtering parameter from a coded video bitstream of the current video for a reconstructed sample of a first color component in a current picture reconstructed from the coded video bitstream, the at least one loop filtering parameter comprising a flag;
determining based on the flag a type of a target sample offset filter to be applied to the reconstructed sample of the first color component, the type of the target sample offset filter being either of a first type or a second type, wherein a first value of the flag indicates that the target sample offset filter is a predefined fixed sample offset filter comprising a sample offset lookup table (LUT) with entries pretrained offline prior to encoding the current video and pre-configured among encoders and decoders, and wherein a second value of the flag indicates that an adaptive sample offset filter comprising a sample offset LUT with entries adaptively derived by encoders during encoding processes based on data contained in the current video, respectively;
identifying the target sample offset filter based at least on the determined type of the target sample offset filter; and
filtering the reconstructed sample of the first color component based on the target sample offset filter and a plurality of reconstructed reference samples of a second color component to generate a filtered reconstructed sample of the first color component.
|