| CPC H04N 19/117 (2014.11) [H04N 19/176 (2014.11); H04N 19/186 (2014.11)] | 18 Claims | 

| 
               1. An apparatus for video decoding, comprising one or more processors, wherein the one or more processors are configured to: 
            obtain a filter associated with a coding block comprising a first component, a second component and a third component, wherein the filter is associated with the second component and the third component; 
                apply the filter to a value of the first component associated with a sample in the coding block to obtain an output of the filter; 
                modify a value for the second component associated with the sample in the coding block using the output of the filter to obtain a modified value for the second component; 
                obtain a weighting factor associated with the third component; 
                apply the weighting factor to the output of the filter to generate a weighted filter output; and 
                modify a value for the third component associated with the sample in the coding block using the weighted filter output to obtain a modified-weighted value for the third component. 
               |