CPC H04N 19/186 (2014.11) [H04N 19/132 (2014.11); H04N 19/136 (2014.11); H04N 19/176 (2014.11); H04N 19/70 (2014.11)] | 20 Claims |
1. An image decoding apparatus, comprising:
an entropy decoder for obtaining image information including prediction related information and luma mapping with chroma scaling (LMCS) related information from a bitstream;
a predictor for generating prediction luma samples for a current block in a current picture based on the prediction related information, for deriving LMCS codewords based on the LMCS related information, and for generating mapped prediction luma samples based on the prediction luma samples and the LMCS codewords; and
an adder for generating reconstructed luma samples for the current block based on the mapped prediction luma samples,
wherein the image information includes adaptation parameter sets (APSs),
wherein each of the APS s includes type information specifying whether the APS is an LMCS APS,
wherein an LMCS data field included in the APS of which the type information specifies the LMCS APS includes the LMCS related information,
wherein the LMCS codewords are derived based on the LMCS data field, and
wherein an ID value of the APS of which the type information specifies the LMCS APS is in a predetermined range.
|