VIDEO OR IMAGE CODING BASED ON SIGNALING OF SCALING LIST DATA
According to the disclosure of the present document, scaling list data delivered in an adaptation parameter set (APS) may be signaled through a hierarchical structure, and the amount of data that needs to be signaled for video/image coding may be reduced and implementation may be facilitated by placing limits on the scaling list data delivered in the APS.
1 . A decoding apparatus for an image decoding, the decoding apparatus comprising:
a memory; and
at least one processor connected to the memory, the at least one processor configured to:
obtain image information including prediction information and residual information from a bitstream;
derive prediction samples for a current block by performing a prediction based on the prediction information;
derive quantized transform coefficients for the current block based on the residual information;
derive transform coefficients by performing a dequantization process on the quantized transform coefficients based on scaling list data;
derive residual samples based on the transform coefficients; and
generate reconstruction samples based on the prediction samples and the residual samples,
wherein the image information includes an adaptation parameter set (APS), header information, general constraints information and a sequence parameter set (SPS),
wherein the APS includes APS ID information and APS type information,
wherein the scaling list data is included in the APS based on the APS type information,
wherein the header information includes APS ID information related to scaling list data,
wherein the APS including the scaling list data is specified based on the APS ID information related to the scaling list data included in the header information,
wherein the SPS includes first enabled flag information related to whether the scaling list data is used,
wherein the scaling list data is included in the APS based on a value of the first enabled flag information being equal to 1,
wherein the general constraints information includes constraint flag information related to the scaling list data,
wherein based on a value of the constraint flag information being equal to 1, the value of the first enabled flag information is determined to be equal to 0, and
wherein based on a value of the constraint flag information being equal to 0, the value of the first enabled flag information is equal to 0 or 1.
2 . An encoding apparatus for an image encoding, the encoding apparatus comprising:
a memory; and
at least one processor connected to the memory, the at least one processor configured to:
derive prediction samples for a current block by performing a prediction;
derive residual samples for the current block based on the prediction samples;
derive transform coefficients by performing a transform process based on the residual samples;
derive quantized transform coefficients by performing a quantization process on the transform coefficients;
generate prediction information based on the prediction;
generate residual information based on the quantized transform coefficients; and
encode image information including the prediction information and the residual information,
wherein the image information includes an adaptation parameter set (APS), header information, general constraints information and a sequence parameter set (SPS),
wherein the APS includes APS ID information and APS type information,
wherein scaling list data for the quantized transform coefficients is included in the APS based on the APS type information,
wherein the header information includes APS ID information related to scaling list data,
wherein the APS including the scaling list data is specified based on the APS ID information related to the scaling list data included in the header information,
wherein the SPS includes first enabled flag information related to whether the scaling list data is used,
wherein the scaling list data is included in the APS based on a value of the first enabled flag information being equal to 1,
wherein the general constraints information includes constraint flag information related to the scaling list data,
wherein based on a value of the constraint flag information being equal to 1, the value of the first enabled flag information is equal to 0, and
wherein based on a value of the constraint flag information being equal to 0, the value of the first enabled flag information is equal to 0 or 1.
3 . An apparatus for transmitting data for an image, the apparatus comprising:
at least one processor configured to obtain a bitstream for the image, wherein the bitstream is generated based on deriving prediction samples for a current block by performing a prediction, deriving residual samples for the current block based on the prediction samples, deriving transform coefficients by performing a transform process based on the residual samples, deriving quantized transform coefficients by performing a quantization process on the transform coefficients, generating prediction information based on the prediction, generating residual information based on the quantized transform coefficients, encoding image information including the prediction information and the residual information; and
a transmitter configured to transmit the data comprising the bitstream,
wherein the image information includes an adaptation parameter set (APS), header information, general constraints information and a sequence parameter set (SPS),
wherein the APS includes APS ID information and APS type information,
wherein scaling list data for the quantized transform coefficients is included in the APS based on the APS type information,
wherein the header information includes APS ID information related to scaling list data,
wherein the APS including the scaling list data is specified based on the APS ID information related to the scaling list data included in the header information,
wherein the SPS includes first enabled flag information related to whether the scaling list data is used,
wherein the scaling list data is included in the APS based on a value of the first enabled flag information being equal to 1,
wherein the general constraints information includes constraint flag information related to the scaling list data,
wherein based on a value of the constraint flag information being equal to 1, the value of the first enabled flag information is equal to 0, and
wherein based on a value of the constraint flag information being equal to 0, the value of the first enabled flag information is equal to 0 or 1.