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

Claim 1:
2. An encoding apparatus for 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 luma mapping with chroma scaling (LMCS) codewords;
generate LMCS related information based on the LMCS codewords;
derive a prediction mode for a current block for a current picture;
generate prediction related information based on the prediction mode;
generate prediction chroma samples based on the prediction mode;
generate residual chroma samples based on the prediction chroma samples;
derive a chroma residual scaling factor for luma dependent chroma residual scaling based on the LMCS codewords and luma samples;
generate residual chroma samples scaled based on the chroma residual scaling factor;
generate residual information based on the scaled residual chroma samples; and
encode image information including the LMCS related information, prediction related information, and the residual information,
wherein the LMCS related information includes information on bins and information on the LMCS codewords,
wherein the information on bins represents a minimum bin index and a maximum bin index,
wherein the information on the LMCS codewords represents the LMCS codewords,
wherein the image information includes information on an absolute value of a chroma residual scaling delta value and information on a sign of the chroma residual scaling delta value, and
wherein the LMCS codewords, the information on the absolute value of the chroma residual scaling delta value and the information on the sign of the chroma residual scaling delta value represent the chroma residual scaling factor.