| CPC H04N 19/13 (2014.11) [A61F 13/05 (2024.01); A61M 1/732 (2021.05); A61M 1/962 (2021.05); G06T 9/00 (2013.01); H04N 19/117 (2014.11); H04N 19/136 (2014.11); H04N 19/157 (2014.11); H04N 19/1887 (2014.11); H04N 19/189 (2014.11); H04N 19/196 (2014.11); H04N 19/46 (2014.11); H04N 19/61 (2014.11); H04N 19/70 (2014.11); H04N 19/80 (2014.11); H04N 19/82 (2014.11); H04N 19/86 (2014.11); A61F 2013/00174 (2013.01); A61F 2013/0057 (2013.01); A61F 2013/0091 (2013.01); A61F 2013/00944 (2013.01); A61F 2013/00957 (2013.01); A61M 2205/15 (2013.01); A61M 2205/3592 (2013.01); A61M 2205/8206 (2013.01)] | 3 Claims |

|
1. A coding circuit comprising:
context arithmetic coding circuitry that performs context arithmetic coding to code (i) first information indicating whether or not to use, in sample adaptive offset (SAO) processing for a first region of an image, information on SAO processing for a region other than the first region and (ii) second information indicating whether or not to perform the SAO processing for the first region, the context arithmetic coding being arithmetic coding using a variable probability, the SAO processing being offset processing on a pixel value; and
bypass arithmetic coding circuitry that performs bypass arithmetic coding to code other information, the other information being information on the SAO processing for the first region and different from the first information and the second information, the other information being coded after the first information and the second information are coded, the bypass arithmetic coding being arithmetic coding using a fixed probability,
wherein the other information includes (i) third information indicating whether the SAO processing for the first region is edge offset processing or band offset processing and (ii) fourth information indicating an absolute value of an offset value, the edge offset processing being performed according to an edge, the band offset processing being performed according to a pixel value, and
wherein when the SAO processing for the first region is the band offset processing, the other information includes (i) fifth information indicating whether the offset value is positive or negative and (ii) sixth information indicating a scope of application of the offset value.
|