Patent ID: 11924448
Assignee: LG ELECTRONICS INC.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 1:
2. An image encoding method performed by an encoding apparatus, the method comprising:
deriving an inter prediction mode;
generating motion information for a current block based on the inter prediction mode;
generating a predicted luma sample for the current block based on the motion information for the current block;
deriving luma mapping with chroma scaling (LMCS) codewords;
deriving LMCS related information based on the LMCS codewords;
generating mapped prediction luma samples based on the LMCS codewords;
generating residual luma samples for the current block based on the mapped prediction luma samples;
deriving residual information based on the residual luma samples; and
encoding image information including the LMCS related information and the residual information,
wherein the image information includes adaptation parameter sets (APSs),
wherein an APS includes type information indicating whether or not the APS is an LMCS APS,
wherein an APS of which the type information indicates that the APS is the LMCS APS includes an LMCS data field,
wherein the LMCS data field includes the LMCS related information and information on the LMCS codewords
wherein the LMCS data field includes information on the LMCS codewords,
wherein a maximum number of LMCS APSs of the APSs is a specific value, and
wherein the specific value is four.