CPC H04N 19/186 (2014.11) [H04N 19/109 (2014.11); H04N 19/159 (2014.11); H04N 19/172 (2014.11); H04N 19/96 (2014.11)] | 3 Claims |
1. A decoding apparatus for 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 mode information, residual information and luma mapping with chroma scaling (LMCS) related information from a bitstream;
derive an inter prediction mode for a current block in a current picture based on the prediction mode information;
generate predicted luma samples based on the inter prediction mode;
generate mapped predicted luma samples based on a mapping process for luma samples;
derive residual luma samples based on the residual information; and
generate reconstructed luma samples based on the mapped predicted luma samples and the residual luma samples,
wherein the image information includes LMCS adaptation parameter sets (APSs),
wherein an LMCS APS includes an LMCS data field and ID information,
wherein the LMCS data field includes the LMCS related information,
wherein LMCS codewords used in the mapping process are derived based on the LMCS data field,
wherein a value of the ID information is in a predetermined range, and
wherein the predetermined range is a range of 0 to 3.
|