Patent ID: 11936875
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:
generate residual samples for a current block;
derive transform coefficients based on a transform process for the residual samples;
derive quantized transform coefficients based on a quantization process for the transform coefficients;
generate residual information indicating the quantized transform coefficients;
generate reconstructed samples based on the residual information;
generate adaptive loop filter (ALF)-related information and cross-component ALF (CCALF)-related information for the reconstructed samples; and
encode image information including the residual information, the ALF-related information, and the CCALF-related information,
wherein the image information includes header information and an adaptation parameter set (APS) including ALF data,
wherein the header information includes a first flag related to whether the CCALF is enabled for a Cb color component of the filtered reconstructed chroma samples,
wherein cross-component filter coefficients are represented based on the ALF data,
wherein based on the determination that a value of the first flag is 1, the header information includes information related to an identifier of the APS for deriving the cross-component filter coefficients for the Cb color component,
wherein the ALF data included in the APS for deriving the cross-component filter coefficients for the Cb color component include a Cb filter signal flag related to whether cross-component filters for the Cb color component are signaled,
wherein based on the Cb filter signal flag, the ALF data included in the APS for deriving the cross-component filter coefficients for the Cb color component include information related to the number of cross-component filters for the Cb color component,
wherein based on the information related to the number of cross-component filters for the Cb color component, the ALF data included in the APS for deriving the cross-component filter coefficients for the Cb color component include information on absolute values of the cross-component filter coefficients for the Cb color component and information on signs of the cross-component filter coefficients for the Cb color component, and
wherein the cross-component filter coefficients for the Cb color component are derived based on the information on the absolute values of the cross-component filter coefficients for the Cb color component and the information on the signs of the cross-component filter coefficients for the Cb color component.