CPC H04N 19/117 (2014.11) [H04N 19/132 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/186 (2014.11); H04N 19/82 (2014.11)] | 6 Claims |
1. An encoder, comprising:
circuitry; and
memory coupled to the circuitry;
wherein the circuitry, in operation:
generates a first coefficient value by applying a CCALF (cross component adaptive loop filtering) process to a first reconstructed image sample of a luma component;
determines whether the first coefficient value is less than 64;
sets the first coefficient value to zero in response to determining the first coefficient value is less than 64;
generates a second coefficient value by applying an ALF (adaptive loop filtering) process to a second reconstructed image sample of a chroma component;
generates a third coefficient value by adding the first coefficient value to the second coefficient value;
encodes a third reconstructed image sample of the chroma component using the third coefficient value;
writes a first parameter into a sequence parameter set;
writes a second parameter into a picture header in response to a value of the first parameter being 1;
writes a third parameter into a slice header in response to the value of the first parameter being 1; and
writes a fourth parameter into a coding tree unit in response to a value of the third parameter being 1, the fourth parameter indicating a filter to be used in the CCALF process.
|