According to the present technology, EO is inhibited depending on a TU in the transformation skip mode in an LCU, and band offset is performed in the TU in the transformation skip mode, for example. In FIG. 11, (d) illustrates decoded image data produced when band offset performed as the SAO process. In FIG. 11, (d) illustrates a case in which the parameter “sao_band_position” indicating the position of the band is set to “5,” the parameter “sao_offset_abs” indicating the absolute value of the offset value is set to “26, 0, 0, 0,” and the parameter “sao_offset_sign” indicating the positive or negative of the offset value is set to “1, 1, 1, 1.” In this case, the DC of the TU in the transformation skip mode is corrected from “170” into “196,” making less conspicuous the boundary between the TU in the transformation skip mode and the adjacent TU. In FIG. 11, (e) schematically illustrates a decoded image produced when the band offset process is performed as the SAO process.
According to the present technology, therefore, since the edge offset process is inhibited depending on a TU in the transformation skip mode in an LCU, a coded stream for suppressing a reduction in the image quality can be generated by performing the SAO process even if a TU in the transformation skip mode is included in an LCU.
<1-6. Other Operation of Adaptive Offset Filter>