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

Claim 12:
13. A non-transitory computer-readable storage medium storing a bitstream generated by an image encoding method, the image encoding method comprising:
deriving prediction samples for a current block;
generating prediction-related information based on the prediction samples;
generating residual samples for the current block;
deriving transform coefficients based on a transform process for the residual samples;
generating residual information based on the transform coefficients;
generating reconstructed samples based on the residual samples and the prediction samples, the reconstructed samples including reconstructed luma samples and reconstructed chroma samples;
generating information related to an adaptive loop filter (ALF) and information related to a cross-component ALF (CCALF) for the reconstructed samples; and
encoding image information to generate the bitstream, wherein the image information includes the residual information, the prediction-related information, the ALF related information, and the CCALF related information,
wherein
the image information includes a sequence parameter set (SPS) and slice header information,
the SPS includes ALF enabled flag related to whether the ALF process is enabled,
based on a value of the ALF enabled flag being 1, the SPS includes a CCALF enabled flag related to whether the CCALF is available,
based on a determination that a value of the ALF enabled flag in the SPS is 1, the slice header information includes an ALF enabled flag related to whether the ALF is enabled,
based on a determination that a value of the ALF enabled flag included in the slice header information is 1 and a value of the CCALF enabled flag included in the SPS is 1, the slice header information includes information on whether the CCALF is enabled for the filtered reconstructed chroma samples, and
based on a value of the information on whether the CCALF is enabled for the filtered reconstructed chroma samples being 1, the slice header information includes identification (ID) information of an adaptation parameter set (APS) associated with the CCALF for the filtered reconstructed chroma samples,
ALF data included in the APS includes information related to a number of the cross-component filters for the Cb color component and information related to a number of cross-component filters for the Cr component,
based on the information related to the number of the cross-component filters for the Cb color component, the ALF data includes 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
based on information related to the number of the cross-component filters for the Cr color component, the ALF data includes information on absolute values of the cross-component filter coefficients for the Cr color component and information on signs of the cross-component filter coefficients for the Cr color component.