Method for video coding and apparatus therefor

By employing multiple CC-ALF filters and nonlinear clipping operations in the video encoding and decoding system, the filter selection and signaling are optimized, solving the signaling cost and coding complexity problems of CC-ALF, and improving video encoding and decoding performance and image quality.

CN117319686BActive Publication Date: 2026-11-24HFI INNOVATION INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311455853.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-07-26
Filing Date
2020-07-24
Publication Date
2026-11-24
Estimated Expiration
2040-07-24

AI Technical Summary

Technical Problem

Among existing video encoding and decoding technologies, cross-component adaptive loop filter (CC-ALF) presents challenges in terms of signaling cost and encoder complexity, and the efficiency of nonlinear filtering processing needs to be improved.

Method used

Multiple CC-ALF filters are employed, and the filtering effect is improved by selecting and signaling filters at the coding tree block, coding unit or block level, combined with nonlinear limiting operation, optimizing filter coefficients and difference processing.

Benefits of technology

It improves the performance of video encoding and decoding, reduces signaling costs and encoder complexity, and enhances image quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117319686B_ABST
    Figure CN117319686B_ABST
Patent Text Reader

Abstract

A method and apparatus for loop filtering processing of reconstructed video are disclosed. According to one method, multiple CC-ALF (Cross-Component Adaptive Loop Filtering) filters are used. The selection of multiple CC-ALF filters can be notified by signaling in an APS (Adaptive Parameter Set). According to another method, CC-ALF can be implemented based on the difference between the sample to be processed and its neighboring samples. This invention proposes a method and apparatus for video encoding and decoding, utilizing cross-component ALF processing to achieve the beneficial effect of improving coding performance.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Cross-referencing

[0002] This invention claims priority to U.S. Provisional Patent Application No. 62 / 878,899, filed July 26, 2019, the entire contents of which are incorporated herein by reference. Technical Field

[0003] This invention relates to adaptive loop filter (ALF) processing in video encoding and decoding systems. More specifically, this invention relates to cross-component ALF processing in video encoders or decoders. Background Technology

[0004] Motion estimation is an effective inter-frame coding and decoding technique to utilize temporal redundancy in video sequences. Motion-compensated inter-frame coding and decoding is widely used in various international video coding and decoding standards. Motion estimation employed in various coding and decoding standards is typically a block-based technique, where motion information (such as coding and decoding modes and motion vectors) is determined for each macroblock or similar block configuration. In addition, intra-frame coding and decoding are adaptively applied, where the image is processed without referencing any other image. The residuals from inter-frame or intra-frame predictions are typically further processed by transform, quantization, and entropy coding and decoding to generate a compressed video bitstream. Coding and decoding artifacts are introduced during the encoding process, particularly during quantization. To mitigate these artifacts, additional processing has been applied to the reconstructed video to enhance image quality in the new coding and decoding system. This additional processing improves system performance by configuring the encoder and decoder in loop operation so that they can derive the same reference image.

[0005] Figure 1AAn exemplary adaptive inter-frame / intra-frame video encoding / decoding system incorporating loop processing including an adaptive loop filter (ALF) is illustrated. For inter-frame prediction, motion estimation (ME) / motion compensation (MC) 112 is used to provide prediction data based on video data from one or more other images. Switch 114 selects either intra-frame prediction 110 or inter-frame prediction data, and the selected prediction data is provided to adder 116 to form a prediction error, also known as a residual. The prediction error is then processed by transformation (T) 118 followed by quantization (Q) 120. The transformed and quantized residual is then encoded by entropy encoder 122 to form a bitstream corresponding to compressed video data. The bitstream associated with the transform coefficients is then packaged together with auxiliary information such as motion, mode, and other information related to image regions. This auxiliary information can also be entropy encoded / decoded to reduce the required bandwidth. Therefore, data associated with the auxiliary information is provided to, for example... Figure 1A The entropy encoder 122 is shown. When using inter-frame prediction mode, one or more reference images also need to be reconstructed by the encoder. Therefore, the transformed and quantized residuals are processed by inverse quantization (IQ) 124 and inverse transformation (IT) 126 to recover the residuals. Then, in reconstruction (REC) 128, the residuals are added back to the prediction data 136 to reconstruct the video data. The reconstructed video data can be stored in the reference image buffer 134 and used for prediction of other frames.

[0006] like Figure 1A As shown, the incoming video data undergoes a series of processing steps in the encoding system. Due to these processing steps, the reconstructed video data from REC 128 may be subject to various forms of corruption. Therefore, before the reconstructed video data is stored in the reference image buffer 134, various loop filtering processes are applied to the reconstructed video data to improve video quality. In the video encoding and decoding system, various filters such as deblocking filter (DF) 130, sample adaptive offset (SAO) 131, and ALF 132 have been used to enhance image quality.

[0007] Figure 1B It shows Figure 1AThe encoder corresponds to the decoder. The video bitstream is decoded by entropy decoder 142 to recover the transformed and quantized residuals. On the decoder side, only motion compensation (MC) 113 is performed, without ME / MC. The decoding process is similar to the reconstruction loop on the encoder side. The recovered transformed and quantized residuals, SAO / ALF information, and other system information are used to reconstruct the video data. The reconstructed video is further processed by DF 130, SAO 131, and ALF 132 to generate the final enhanced decoded video.

[0008] ALF processing across components

[0009] In JVET-O0636 (July 3-12, 2019, Gothenburg, ITU-T SG 16WP3 and ISO / IEC JTC1 / SC 29 / WG 11, 15th meeting, Kiran Misra et al., "Cross-Component Adaptive Loop Filter for chroma", reference: JVET-O0636), a cross-component adaptive loop filter (CC-ALF) processing method was proposed. CC-ALF uses luminance sample values ​​to refine each chroma component. Figure 2A The CC-ALF structure for other loop filters according to JVET-O0636 is shown. Figure 2A In the JVET-O0636, ALF processing is performed after each of the respective SAOs (210, 212, and 214). In conventional video codec systems, only ALF luminance 220 and ALF chrominance 230 are used. In the JVET-O0636, two additional ALF filters (i.e., CC ALF Cb 222 and CC ALF Cr 224) are used to derive adjustment signals that are added to Cb and Cr in the ALF processing using adders 240 and 242, respectively.

[0010] like Figure 2B As shown, according to JVET-O0636, CC-ALF applies a linear, diamond-shaped filter to the luminance channel for each chroma component. The filter coefficients are transmitted in the APS (by 2...). 10 Factor scaling), and rotation for fixed point representation. Filter application is based on variable block size control and signaling notification via context encoding / decoding flags received for each sample block. Block size and CC-ALF enable flags are received together at the slice level for each chroma component. The syntax and semantics of CC-ALF are also disclosed in JVET-O0636.

[0011] Nonlinear ALF operations

[0012] In VTM 3.0 (VVC (Video Common Coding) Test Mode Version 3.0), the filtering process of the adaptive loop filter is executed as follows:

[0013]

[0014] In the above equation, sample I(x+i,y+j) is the input sample, O(x,y) is the filtered output sample (i.e., the filtering result), and w(i,j) represents the filtering coefficients. Since ALF is applied to the reconstructed sample, sample I(x+i,y+j) corresponds to the reconstructed sample. The center reconstructed pixel at the center position of the ALF processing corresponds to (i,j) = (0,0), i.e., I(x,y). In fact, in VTM 3.0, it uses an integer algorithm to implement the calculation for fixed point precision:

[0015]

[0016] In the above equation, L represents the filter length, and w(i,j) are filter coefficients with fixed point precision.

[0017] If the sum of the filter coefficients is forced to 1, and there is no impact on encoding / decoding efficiency, equation (1) can be transformed as follows:

[0018]

[0019] In the above equations, except for w(0,0), w(i,j) is the same filter coefficient as in equation 1, which is equal to 1 in equation (3) and equal to 1 in equation (1).

[0020] Using the filtering formula in equation (3), when the adjacent sample values ​​are very different from the current sample value being filtered (I(x,y)), the influence of the adjacent sample values ​​(I(x+i,y+j)) can be reduced by using a sample limiting function, and nonlinearity can be easily introduced to make ALF more effective.

[0021] A nonlinear ALF is disclosed in JVET-M0385 (September 18, 2019, Marrakech, MA, ITU-T SG 16 WP3 and ISO / IEC JTC 1 / SC 29 / WG 11, 13th meeting, J. Taquet et al., “Non-Linear Adaptive Loop Filter”, reference: JVET-M0385). In the test software VTM3.0, an adaptive clipping operation is introduced for the input sample values ​​of the adaptive loop filter. The purpose of this adaptive clipping is to introduce some nonlinearity to cut off the difference between the limited input value to be filtered and the other adjacent input sample values ​​of the filter.

[0022] According to JVET-M0385, the ALF filtering operation should be corrected as follows:

[0023] O′(x,y)=I(x,y)+∑ (i,j)≠(0,0) w(i,j).K(I(x+i,y+j)-I(x,y),k(i,j)) (4)

[0024] In the above equation, O'(x,y) corresponds to the corrected ALF filter output, I(x,y) corresponds to the sample before ALF, K(d,b) = min(b, max(-b,d)) is the clipping function, and k(i,j) is the clipping parameter, which depends on the filter coefficients at (i,j). The encoder performs optimization to find the optimal k(i,j).

[0025] In the embodiment according to JVET-M0385, the limiting parameter k(i,j) is specified for each ALF filter, where each filter coefficient is represented by a signal indicating a limiting value. This means that in the bitstream, each luminance filter signals 12 limiting values ​​and each chrominance filter signals 6 limiting values.

[0026] To limit signaling costs and encoder complexity, the clipping value is restricted to a small set of possible values ​​in JEVT-M0385. Furthermore, only four possible values ​​are used for inter-frame stripes and three for intra-frame stripes.

[0027] Because the local differences in luminance are typically more pronounced than those in chrominance, two separate sets are used for luminance and chrominance filters. Furthermore, the maximum sample value is included in each set, allowing clipping to be disabled if not necessary.

[0028] The set of limiting values ​​proposed by JVET-M0385 is provided in Table 1.

[0029] Table 1: Permissible amplitude limits

[0030]

[0031] The threshold value is encoded in the strip header using Golomb coding, which corresponds to the index of the threshold value in the set.

[0032] This invention discloses techniques for improving CC-ALF encoding and decoding performance. Additionally, techniques related to signaling for improving CC-ALF are also disclosed. Summary of the Invention

[0033] A method and apparatus for loop filtering processing of reconstructed video are disclosed. According to the method, reconstructed chroma samples and associated reconstructed luminance samples are received from a color image. A first target ALF is selected from a plurality of first ALF candidates. First ALF processing corresponding to the first target ALF is applied to the associated reconstructed luminance samples to generate first filtered chroma samples for the reconstructed chroma samples to be processed. A final filtered chroma sample including the first filtered chroma sample is generated, wherein the final filtered chroma sample is used as video decoding output or for further video encoding or decoding processes.

[0034] In one embodiment, a second ALF processing is applied to the reconstructed chroma samples to generate a second filtered chroma sample for the reconstructed chroma sample to be processed, wherein a final filtered chroma sample is generated by combining the first filtered chroma sample and the second filtered chroma sample. In one embodiment, the second ALF processing corresponds to the second target ALF, and the first target ALF is explicitly derived from the first ALF candidate based on selecting the second target ALF from a plurality of second ALF candidates.

[0035] In one embodiment, information regarding the selection of a first target ALF from a plurality of first ALF candidates is signaled at the coding tree block (CTB) level, coding unit (CU) level, or block level, or is parsed from the CTB level, CU level, or block level.

[0036] In one embodiment, the first ALF candidate is signaled to an APS on the encoder side, or the first ALF candidate is parsed from an APS on the decoder side. Furthermore, multiple second ALF candidates, independent of an APS, signal to or parse the first ALF candidate in an APS.

[0037] According to another method, reconstructed chroma samples and associated reconstructed luminance samples are received from a color image. A first ALF processing is applied to the associated reconstructed luminance samples to generate a first filtered chroma sample for the reconstructed chroma sample to be processed, wherein the derivation of the first filtered chroma sample includes at least one first difference between the associated reconstructed luminance sample to be processed (i.e., the chroma sample corresponding to the reconstructed luminance sample to be processed) and a first adjacent associated reconstructed luminance sample of the associated reconstructed luminance sample to be processed. A final filtered chroma sample including the first filtered chroma sample is generated, wherein the final filtered chroma sample is used as video decoding output or for further video encoding or decoding processes.

[0038] In one embodiment, a second ALF processing is applied to the reconstructed chroma sample to generate a second filtered chroma sample for use in the reconstructed chroma sample to be processed. In one embodiment, the derivation of the second filtered chroma sample includes at least one second difference between the reconstructed chroma sample to be processed and a second adjacent chroma sample of the reconstructed chroma sample to be processed.

[0039] This invention proposes a method and apparatus for video encoding and decoding, which utilizes cross-component ALF processing to achieve the beneficial effect of improving encoding performance. Attached Figure Description

[0040] Figure 1A An exemplary adaptive inter-frame / intra-frame video coding system for DF, SAO, and ALF in merge loop processing is shown.

[0041] Figure 1B An exemplary adaptive inter-frame / intra-frame video decoding system for DF, SAO, and ALF in merge loop processing is shown.

[0042] Figure 2A The architecture of CC-ALF for other loop filters according to JVET-O0636 is shown, where ALF processing is performed after the corresponding SAO.

[0043] Figure 2B A diamond-shaped filter, according to JVET-O0636, is shown, applied to the luminance channel for each chromaticity component.

[0044] Figure 3 A flowchart illustrating an exemplary loop filtering process for reconstructed video according to an embodiment of the present invention is shown, wherein multiple CC-ALF filters are used.

[0045] Figure 4 A flowchart illustrating an exemplary ALF processing of reconstructed video according to an embodiment of the present invention is shown, wherein information of multiple CC-ALF filters is transmitted in an APS. Detailed Implementation

[0046] The following description represents the best mode of carrying out the invention. This description is intended to illustrate the basic principles of the invention and should not be construed as limiting. The scope of the invention is determined by reference to the appended claims.

[0047] Method 1: Corresponding luminance sample location in CC-ALF

[0048] In CC-ALF, an additional filter is added for the chroma component, and the filtered output is a weighted sum of the original chroma filter and the additional filter. If the video format is YUV444 or RGB444, the corresponding luminance sample of the chroma sample to be processed is explicitly defined by using the same spatial location in different color components. However, if the video format is not YUV444 or RGB444, such as YUV420 or YUV422, the definition of the corresponding luminance sample in CC-ALF becomes problematic. According to one embodiment of the invention, the corresponding luminance sample is downsampled based on the YUV format or the chroma sampling position. For example, if the video format is YUV420 and the chroma sampling position is (0, 0.5) in terms of luminance position, the corresponding luminance sample can be one of four luminance samples. In another example, the corresponding luminance sample can be the average of the two luminance samples on the left. In another case, the corresponding luminance sample can be the average of four luminance samples. A filter footprint can be defined for either the chroma position or the luminance position. If a filter footprint is defined for the chroma sample, the input to the CC-ALF filtering process can be the corresponding luminance sample mentioned above. If the filter coverage area is defined for a luminance sample, the center position of the CC-ALF filter shape is defined by the corresponding luminance sample of the chroma sample to be processed. In one embodiment, the definition of the corresponding luminance sample depends on the video format or the sampling position of the chroma components.

[0049] Method 2: CC-ALF Implementation

[0050] In another embodiment, nonlinear clipping can be applied to CC-ALF. Instead of directly using adjacent samples, the difference between neighboring samples and the sample to be processed can be used during the filtering process. The sample to be processed can be a sample value in the chromaticity component or a sample value corresponding to the luminance sample in CC-ALF.

[0051] In another embodiment, the accuracy of the filter coefficients in the additional filters of the CC-ALF is aligned with the original ALF design.

[0052] Method 3: Multiple CC-ALF filters

[0053] In another embodiment, multiple CC-ALF filters can be used in a strip / brick / tile / image. When using multiple CC-ALF filters, the selection of the multiple CC-ALF filters can be explicitly signaled at the CTB level, CU level, or block level. In another embodiment, the selection of multiple CC-ALF filters can be implicitly derived from the selection of multiple chroma filters. When using multiple CC-ALF filters, they can be signaled independently in an APS or signaled together with multiple chroma filters. For example, two sets of multiple filters (one for CC-ALF and another for chroma filters) are signaled separately in an APS. In another case, only one set of multiple filters is signaled in an APS, and each candidate in this set includes at least one chroma filter and a CC-ALF filter.

[0054] In another embodiment, a chroma filter and a CC-ALF filter cannot be used simultaneously. In other words, for each chroma sample to be processed, only one of the chroma filter and the CC-ALF filter can be applied. In one embodiment, the shapes of the two filters can be further standardized. In another embodiment, a flag is signaled to each filter to indicate whether the filter type is a chroma filter or a CC-ALF filter.

[0055] In another embodiment, the proposed method is applied to the luminance ALF. That is, the ALF output of the luminance component is also affected by the corresponding chrominance sample. In one example, two filters are added, one with the Cb component as input and the other with the Cr component as input. The ALF output is a weighted sum of the outputs of these two additional filters and the original filter. In another case, only one filter is added, but the input of this filter is one of the following: Cb, Cr, and a combination of the average values ​​of Cb and Cr.

[0056] Any of the aforementioned solutions can be implemented in the encoder and / or decoder. For example, any of the proposed solutions can be implemented in the loop filter module of the encoder and / or decoder. Alternatively, any of the proposed solutions can be implemented as a circuit coupled to the loop filter module of the encoder and / or decoder.

[0057] Figure 3A flowchart illustrating an exemplary loop filtering process for reconstructed video according to an embodiment of the present invention is shown, wherein multiple CC-ALF filters are used. The steps shown in the flowchart can be implemented as program code executable on one or more processors (e.g., one or more CPUs) on the encoder side. The steps shown in the flowchart can also be implemented in hardware, such as one or more electronic devices or processors for performing the steps in the flowchart. According to this method, in step 310, reconstructed chroma samples and associated reconstructed luminance samples from a color image are received. In step 320, a first target ALF is selected from a plurality of first ALF candidates. In step 330, the first ALF processing corresponding to the first target ALF is applied to the associated reconstructed luminance samples to generate a first filtered chroma sample for the reconstructed chroma sample to be processed. In step 340, a final filtered chroma sample including the first filtered chroma sample is generated, wherein the final filtered chroma sample is used as video decoding output or for further video encoding or decoding processes.

[0058] Figure 4 A flowchart illustrating an exemplary ALF processing of reconstructed video according to an embodiment of the present invention is shown, wherein information from multiple CC-ALFs is signaled in an APS. According to this method, in step 410, reconstructed chroma samples and associated reconstructed luminance samples from a color image are received. In step 420, a first ALF (Adaptive Loop Filter) is applied to the associated reconstructed luminance samples to generate a first filtered chroma sample for the reconstructed chroma sample to be processed, wherein the derivation of the first filtered chroma sample includes at least one first difference between the associated reconstructed luminance sample to be processed (i.e., the chroma sample corresponding to the reconstructed luminance sample) and a first adjacent associated reconstructed luminance sample of the associated luminance sample to be processed. In step 430, a final filtered chroma sample including the first filtered chroma sample is generated, wherein the final filtered chroma sample is used as video decoding output or for further video encoding or decoding processes.

[0059] The flowchart shown is intended to illustrate examples of video encoding and decoding according to the present invention. Those skilled in the art can modify each step, rearrange the steps, split the steps, or combine the steps to implement the invention without departing from its spirit. Specific syntax and semantics have been used in this disclosure to illustrate examples of implementing embodiments of the invention. Those skilled in the art can implement the invention by replacing the syntax and semantics with equivalents without departing from its spirit.

[0060] The foregoing description is shown to enable those skilled in the art to practice the invention in the context of a particular application and according to its requirements. Various modifications to the described embodiments will be apparent to those skilled in the art, and the basic principles defined herein can be applied to other embodiments. Therefore, the invention is not intended to be limited to the specific embodiments shown and described, but is consistent with the widest scope of the principles and novel features disclosed herein. In the foregoing detailed description, various specific details are shown to provide a thorough understanding of the invention. However, those skilled in the art will understand that the invention can be practiced.

[0061] The embodiments of the invention described above can be implemented in various hardware, software code, or combinations thereof. For example, embodiments of the invention may be implemented by one or more electronic circuits integrated into a video compression chip or by program code integrated into video compression software to execute the processes described herein. Embodiments of the invention may also be program code executed in a digital signal processor (DSP) to execute the processes described herein. The invention also relates to multiple functions executed by a computer processor, digital signal processor, microprocessor, or field programmable gate array (FPGA). These processors can perform specific tasks according to the invention by executing machine-readable code or firmware code that defines the specific methods presented by the invention. The software code or firmware code may be developed in different programming languages ​​and in different formats or styles. However, different code formats, styles, and languages ​​of the software code, as well as other methods of configuring code to perform the tasks according to the invention, will not depart from the spirit and scope of the invention.

[0062] The invention may be presented in other specific forms without departing from its spirit and essential characteristics. The described examples are to be considered in all respects as illustrative rather than restrictive. Therefore, the scope of the invention is indicated by the appended claims rather than by the foregoing description. All variations conforming to the meaning of the claims and their equivalents are included within its scope.

Claims

1. A method for video encoding and decoding, the method comprising: Receive reconstructed chromaticity samples and associated reconstructed luminance samples from a color image; Select the first target adaptive loop filter from multiple first adaptive loop filter candidates; The first adaptive loop filter processing corresponding to the first target adaptive loop filter is applied to the relevant reconstructed luminance sample to generate a first filtered chrominance sample for the reconstructed chrominance sample to be processed; as well as Generate a final filtered chroma sample that includes the first filtered chroma sample, wherein the final filtered chroma sample is generated based on the first filtered chroma sample and is used as video decoding output or for further video encoding or decoding processes; In this cross-component adaptive loop filter, the accuracy of the filter coefficients of the additional filter is aligned with the original adaptive loop filter design. The additional filter in the cross-component adaptive loop filter is used for the processing of the first adaptive loop filter, and the original adaptive loop filter design is used for the processing of the second adaptive loop filter.

2. The method for video encoding and decoding according to claim 1, characterized in that, The method further includes applying a second adaptive loop filter to the reconstructed chromaticity sample to generate a second filtered chromaticity sample for the reconstructed chromaticity sample to be processed, wherein the final filtered chromaticity sample is generated by combining the first filtered chromaticity sample and the second filtered chromaticity sample.

3. The method for video encoding and decoding according to claim 2, characterized in that, The second adaptive loop filter processing corresponds to the second target adaptive loop filter, and the selection of the first target adaptive loop filter from the plurality of first adaptive loop filter candidates is explicitly derived based on the selection of the second target adaptive loop filter from the plurality of second adaptive loop filter candidates.

4. The method for video encoding and decoding according to claim 1, characterized in that, Signaling is sent at the coding tree block level, coding unit level, or block level, or information about selecting the first target adaptive loop filter from the plurality of first adaptive loop filter candidates is parsed from the coding tree block level, coding unit level, or block level.

5. The method for video encoding and decoding according to claim 1, characterized in that, The encoder can signal the multiple first adaptive loop filter candidates from a set of adaptation parameters, or the decoder can parse the multiple first adaptive loop filter candidates from a set of adaptation parameters.

6. The method for video encoding and decoding according to claim 5, characterized in that, Independent of multiple second adaptive loop filter candidates in an adaptive parameter set, signaling or parsing the multiple first adaptive loop filter candidates in an adaptive parameter set.

7. An apparatus for video encoding and decoding, the apparatus comprising one or more electronic circuits or processors for: Receive reconstructed chromaticity samples and associated reconstructed luminance samples from a color image; Select the first target adaptive loop filter from multiple first adaptive loop filter candidates; The reconstructed luminance sample is processed by a first adaptive loop filter corresponding to the first target adaptive loop filter to generate a first filtered chrominance sample for the reconstructed chrominance sample to be processed. as well as Generate a final filtered chroma sample that includes the first filtered chroma sample, wherein the final filtered chroma sample is generated based on the first filtered chroma sample, and the final filtered chroma sample is used as video decoding output or for further video encoding or decoding processes. In this cross-component adaptive loop filter, the accuracy of the filter coefficients of the additional filter is aligned with the original adaptive loop filter design. The additional filter in the cross-component adaptive loop filter is used for the processing of the first adaptive loop filter, and the original adaptive loop filter design is used for the processing of the second adaptive loop filter.

8. The apparatus for video encoding and decoding according to claim 7, characterized in that, The one or more electronic circuits or processors are further configured to apply a second adaptive loop filter to the reconstructed chroma sample to generate a second filtered chroma sample for the reconstructed chroma sample to be processed, wherein the final filtered sample is generated by combining the first filtered chroma sample and the second filtered chroma sample.

9. The apparatus for video encoding and decoding according to claim 8, characterized in that, The second adaptive loop filter processing corresponds to the second target adaptive loop filter, and the selection of the first target adaptive loop filter from the plurality of first adaptive loop filter candidates is explicitly derived based on the selection of the second target adaptive loop filter from the plurality of second adaptive loop filter candidates.

10. The apparatus for video encoding and decoding according to claim 7, characterized in that, Signaling is sent at the coding tree block level, coding unit level, or block level, or information about selecting the first target adaptive loop filter from the plurality of first adaptive loop filter candidates is parsed from the coding tree block level, coding unit level, or block level.

11. The apparatus for video encoding and decoding according to claim 7, characterized in that, The encoder can signal the multiple first adaptive loop filter candidates from a set of adaptation parameters, or the decoder can parse the multiple first adaptive loop filter candidates from a set of adaptation parameters.

12. The apparatus for video encoding and decoding according to claim 11, characterized in that, Independent of multiple second adaptive loop filter candidates in an adaptive parameter set, signaling or parsing the multiple first adaptive loop filter candidates in an adaptive parameter set.