In the example shown in Table 11, each band group includes 8 bands by 8 pixel values. The band groups may be sequentially grouped from the left of the total bands as illustrated in
In Table 7, the SAO type to be applied to the current pixel out of the SAO types shown in Tables 8 to 11 may be indicated by sao_type_idx. With reference to Table 7 and Tables 8 to 11, when the value of sao_type_idx is equal to or greater than 5, the band offset is applied.
Table 12 schematically shows another example of the syntax sao_offset_param related to an offset out of the SAO parameters as a syntax structure for applying the SAO.