CPC H04N 19/70 (2014.11) [H04N 19/124 (2014.11); H04N 19/132 (2014.11); H04N 19/176 (2014.11); H04N 19/18 (2014.11)] | 3 Claims |
1. An image decoding method performed by a decoding apparatus, the method comprising:
obtaining image information including residual information and an adaptation parameter set (APS) from a bitstream;
deriving quantized transform coefficients for a current block based on the residual information;
deriving scaling list data based on the APS;
deriving transform coefficients by performing a dequantization process on the quantized transform coefficients based on the scaling list data;
deriving residual samples by performing an inverse transform process based on the transform coefficients; and
generating reconstructed samples based on the residual samples,
wherein the APS includes APS ID information and APS type information,
wherein the APS ID information indicates an identifier of the APS,
wherein the APS type information represents a type of the APS among an APS related to an Adaptive Loop Filter (ALF), an APS related to Luma Mapping with Chroma Scaling (LMCS), or an APS related to the scaling list data,
wherein a value of the APS type information being equal to 0 represents that the APS is the APS related to the ALF, the value of the APS type information being equal to 1 represents that the APS is the APS related to the LMCS, and the value of the APS type information being equal to 2 represents that the APS is the APS related to the scaling list data,
wherein the type of the APS is determined to be the APS related to the scaling list data based on the value of the APS type information being equal to 2,
wherein the scaling list data is included in the APS based on the value of the APS type information being equal to 2,
wherein the image information includes a sequence parameter set (SPS) and general constraints information,
wherein the SPS includes enabled flag information representing whether a scaling list is used or not,
wherein a value of the enabled flag information being equal to 1 represents that the scaling list is used, and the value of the enabled flag information being equal to 0 represents that the scaling list is not used,
wherein the general constraints information includes constraint flag information related to the scaling list data,
wherein the value of the enabled flag information is determined to be equal to 0 based on a value of the constraint flag information being equal to 1, and
wherein the value of the enabled flag information is equal to 0 or 1 based on the value of the constraint flag information being equal to 0.
|