Fixed filter using adaptive loop filter in video coding
By applying fixed filters to different stages and color components during video encoding and decoding, the problem of ringing artifacts within reconstructed videos that cannot be removed in existing technologies is solved, achieving higher video quality and encoding/decoding efficiency.
Patent Information
- Application Number
- CN202580029176.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-04-20
- Filing Date
- 2025-04-21
- Publication Date
- 2026-11-20
AI Technical Summary
In existing video encoding and decoding technologies, ringing artifacts within the reconstructed video cannot be completely removed by current loop filters.
In the video encoding and decoding process, fixed filters are applied at different encoding and decoding stages, including before or after the Adaptive Loop Filter (ALF). For different color components and input sources, fixed filter shapes, sizes and classification methods are used to modify the filter input by padding and offsetting. Combined with non-linear limiting and syntax element control, the filters can be enabled and disabled.
It effectively removes ringing artifacts left over from the video encoding and decoding process, improving video quality and encoding/decoding efficiency.
Smart Images

Figure CN123147155A_ABST
Abstract
Description
[0001] Cross-references to related applications
[0002] This application claims priority and benefit to International Application No. PCT / CN2024 / 088993, filed on April 20, 2024, the entire contents of which are incorporated herein by reference. Technical Field
[0003] This disclosure relates to the generation, storage, and use of digital audio and video media information in file formats. Background Technology
[0004] Digital video accounts for the largest share of bandwidth used on the internet and other digital communication networks. As the number of connected user devices capable of receiving and displaying video increases, the bandwidth demand for digital video is likely to continue to grow. Summary of the Invention
[0005] The first aspect relates to a method for processing video data, comprising: determining to apply a fixed filter in an adaptive loop filter (ALF); and performing a conversion between visual media data and a bitstream based on the ALF.
[0006] The second aspect relates to an apparatus for processing video data, including a processor and a non-transitory memory having instructions thereon, wherein the instructions, when executed by the processor, cause the processor to perform any of the aforementioned aspects.
[0007] The third aspect relates to a non-transitory computer-readable medium comprising a computer program product for use by a video codec device, wherein the computer program product includes computer-executable instructions stored on the non-transitory computer-readable medium, such that when the computer-executable instructions are executed by a processor, the video codec device performs the method of any of the preceding aspects.
[0008] The fourth aspect relates to a non-transitory computer-readable recording medium storing a bitstream of video generated by a method performed by a video processing apparatus, wherein the method includes: determining to apply a fixed filter in an adaptive loop filter (ALF); and generating the bitstream based on the determination.
[0009] The fifth aspect relates to a method for storing a bitstream of video, comprising: determining to apply a fixed filter in an adaptive loop filter (ALF); generating the bitstream based on the determination; and storing the bitstream in a non-transitory computer-readable recording medium.
[0010] The sixth aspect relates to the methods, apparatus, or systems described in this disclosure.
[0011] For clarity, any of the foregoing embodiments may be combined with any one or more other foregoing embodiments to create new embodiments within the scope of this disclosure.
[0012] These and other features will become clearer through the following detailed description of the embodiments with reference to the accompanying drawings and claims. Attached Figure Description
[0013] To gain a more complete understanding of this disclosure, reference is now made to the following brief description, taken in conjunction with the accompanying drawings and detailed description, wherein like reference numerals denote like parts.
[0014] Figure 1 An example of the nominal vertical and horizontal positions of 4:2:2 luminance and chrominance samples in an image is shown.
[0015] Figure 2 A sample encoder block diagram is shown.
[0016] Figure 3 An example of an intra-frame prediction mode is shown.
[0017] Figure 4 An example procedure for CCSAO is shown.
[0018] Figure 5 An example of candidate locations used in the CCSAO classifier is shown.
[0019] Figure 6 This is a block diagram illustrating an example video processing system.
[0020] Figure 7 This is a block diagram of an example video processing device.
[0021] Figure 8 This is a flowchart of an example method for video processing.
[0022] Figure 9 This is a block diagram illustrating an example video codec system.
[0023] Figure 10 This is a block diagram showing an example encoder.
[0024] Figure 11 This is a block diagram showing an example decoder.
[0025] Figure 12 This is a schematic diagram of an example encoder. Detailed Implementation
[0026] First, it should be understood that although illustrative implementations of one or more embodiments are provided below, the disclosed systems and / or methods can be implemented using any number of techniques, whether currently known or yet to be developed. This disclosure should not be limited in any way to the illustrative implementations, drawings, and techniques shown below, including the exemplary designs and implementations shown and described herein, but modifications can be made without departing from the scope of the appended claims and the full scope of their equivalents.
[0027] Chapter headings are used in this disclosure for ease of understanding and not to limit the applicability of the techniques and embodiments disclosed in each chapter to that chapter only. Furthermore, the embodiments described herein are applicable to other video codec protocols and designs.
[0028] 1. Preliminary Discussion
[0029] This disclosure relates to video encoding and decoding techniques. Specifically, it relates to loop filters and other encoding and decoding tools in image / video encoding and decoding. These ideas can be applied individually or in various combinations to video codecs, such as High Efficiency Video Codec (HEVC), Multi-Functional Video Codec (VVC), or other video encoding and decoding techniques.
[0030] 2. Abbreviations
[0031] This disclosure includes the following abbreviations: Advanced Video Coding (Recommendation ITU-T H.264 | ISO / IEC 14496-10) (AVC), Bidirectional Optical Flow (BDOF), Coded Picture Buffer (CPB), Pure Random Access (CRA), Coded Unit (CU), Coded Block (CB), Coded Tree Block (CTB), Coded Tree Unit (CTU), Coded Video Sequence (CVS), Convolutional Cross-Component Model (CCCM), Cross-Component Linear Model (CCLM), Decoded Picture Buffer (DPB), Decoded Parameter Set (DPS), General Constraint Information (GCI), and High-Efficiency Video Coding, also known as Recommendation ITU-T H.265 | ISO / IEC 23008-2 (HEVC), History-Based Motion Vector Prediction (HMVP), Joint Exploration Model (JEM), Low-Frequency Inseparable Transform (LFNST), Matrix-Based Intra-Frame Prediction (MIP), Merge with Motion Vector Difference (MMVD), Motion-Constrained Piece Set (MCTS), Multiple Transform Selection (MTS), Network Abstraction Layer (NAL), Output Layer Set (OLS), Picture Header (PH), Picture Parameter Set (PPS), Grade, Layer and Level (PTL), Picture Unit (PU), Reference Picture Resampling (RPR), Raw Byte Sequence Payload (RBSP), Supplementary Enhancement Information (SEI), Strip Header (SH), Sequence Parameter Set (SPS), Symmetric Motion Vector Difference (SMVD), Video Coding Layer (VCL), Video Parameter Set (VPS), Multifunctional Video Coding, also known as Recommendation ITU-T H.266 | ISO / IEC 23090-3 (VVC), VVC Test Model (VTM), Video Availability Information (VUI), Transform Unit (TU), Codec Unit (CU), Deblocking Filter (DF), Sample Adaptive Compensation (SAO), Adaptive Loop Filter (ALF), Codec Block Flag (CBF), Quantization Parameter (QP), Rate Distortion Optimization (RDO), and Bilateral Filter (BF).
[0032] 3. Video codec standards
[0033] Video coding standards have evolved primarily through the development of standards by the Telecommunication Standardization Sector of the International Telecommunication Union (ITU-T) and the International Organization for Standardization (ISO) / International Electrotechnical Commission (IEC). ITU-T produced the H.261 and H.263 standards, ISO / IEC produced the Moving Picture Experts Group (MPEG)-1 and MPEG-4 Vision, and the two organizations jointly produced the H.262 / MPEG-2 video standard and the H.264 / MPEG-4 Advanced Video Coding (AVC) standard and the H.265 / HEVC[1]. Starting with H.262, video coding standards are based on a hybrid video coding architecture, which utilizes temporal prediction plus transform coding. In order to explore future video coding technologies beyond HEVC, the Joint Video Exploration Team (JVET) was established by VCEG and MPEG. JVET adopted many methods and incorporated them into a reference software called the Joint Exploration Model (JEM)[2]. When the Multifunctional Video Coding (VVC) project was officially launched, JVET was renamed the Joint Video Experts Group (JVET). VVC is a codec standard that aims to reduce the bit rate by 50% compared to HEVC. The VVC working draft and VVC Test Model (VTM) are constantly being updated.
[0034] A sample version of the VVC draft, namely the Multi-Functional Video Codec (Draft 10), can be found at: https: / / jvet-experts.org / doc_end_user / documents / 19_Teleconference / wg11 / JVET-S2001-v17.zip. A sample version of the VVC reference software (named VTM) can be found at: https: / / vcgit.hhi.fraunhofer.de / jvet-u-ee2 / VVCSoftware_VTM / - / tree / VTM-11.2.
[0035] 3.1 Color Space and Chromaticity Downsampling
[0036] A color space, also known as a color model (or color system), is a mathematical model that describes a range of colors as tuples of numbers, such as 3 or 4 values or color components (e.g., RGB). In general, a color space is a refinement of a coordinate system and its subspaces. For video compression, the most commonly used color spaces are Luminance, Blue Difference, and Red Difference (YCbCr) and Red, Green, and Blue (RGB).
[0037] YCbCr, Y'CbCr, or Y Pb / Cb Pr / Cr (also written as YCBCR or Y'CBCR) are color space families used as part of the color image pipeline in video and digital photography systems. Y' is the luminance component, and CB and CR are the blue and red difference chromaticity components. Y' (with an apostrophe) is distinguished from Y, which is luminance, meaning that the light intensity is non-linearly encoded based on gamma-corrected RGB primary colors.
[0038] Chromaticity downsampling is a practice of encoding images by applying a lower resolution to chromaticity information compared to luminance information, taking advantage of the fact that the human visual system is less sensitive to color differences than to luminance differences. 3.1.1 4:4:4
[0040] In a 4:4:4 scheme, each of the three Y'CbCr components has the same sampling rate. Therefore, there is no chromaticity downsampling. This scheme is sometimes used in high-end film scanners and film post-production. 3.1.2 4:2:2
[0042] In a 4:2:2 format, both chroma components are sampled at half the luminance sampling rate. The horizontal chroma resolution is halved, while the vertical chroma resolution remains unchanged. This reduces the bandwidth of the uncompressed video signal by one-third with little or no visual difference. Figure 1 An example of the nominal vertical and horizontal positions of 4:2:2 luminance and chrominance samples in an image is shown. 3.1.3 4:2:0
[0044] In 4:2:0, the horizontal sampling is doubled compared to 4:1:1, but the vertical resolution is halved because the Cb and Cr channels are sampled only on each alternating row. Therefore, the data rate remains the same. Cb and Cr are downsampled by a factor of 2 in both the horizontal and vertical directions. There are three variations of the 4:2:0 scheme with different horizontal and vertical positions.
[0045] In MPEG-2, Cb and Cr are co-located horizontally. Cb and Cr are located between pixels vertically (at gap positions). In Joint Picture Experts Group (JPEG) / JPEG File Exchange Format (JFIF), H.261, and MPEG-1, Cb and Cr are located at gap positions, in the middle of alternating luminance samples. In 4:2:0 DV, Cb and Cr are co-located horizontally. Vertically, they are co-located on alternating lines.
[0046] Table 1. SubWidthC and SubHeightC values derived from chroma_format_idc and separate_colour_plane_flag
[0047]
[0048] 3.2 Example Encoding / Decoding Flow of Video Codec
[0049] Figure 2 An example encoder block diagram is shown, for example in VVC. The encoder contains three loop filtering blocks: Deblocking Filter (DF), Sample Adaptive Compensation (SAO), and ALF. Unlike DF, which uses predefined filters, SAO and ALF utilize the original samples of the current image, reducing the mean square error between the original and reconstructed samples by adding offsets and applying finite impulse response (FIR) filters respectively, and utilizing the encoded and decoded side information to transmit the offsets and filter coefficients through the signal. ALF is located in the last processing stage of each image and can be thought of as a tool to attempt to capture and repair artifacts caused by previous stages.
[0050] 3.3 Intra-frame prediction
[0051] Figure 3 An example of intra-frame prediction modes is shown. To capture arbitrary edge directions presented in natural video, the number of directional intra-frame modes has been expanded from the 33 used in HEVC to 65. Additional directional modes are shown below. Figure 3 As shown, the planar and DC modes remain unchanged. These denser, directional intra-prediction modes are applicable to all block sizes and to both luma and chroma intra-prediction.
[0052] like Figure 3 As shown, the angular intra-prediction direction can be defined as clockwise from 45 degrees to -135 degrees. In VTM, for non-square blocks, several angular intra-prediction modes are adaptively replaced with wide-angle intra-prediction modes. The replaced modes are transmitted via signaling and remapped to the wide-angle mode index after resolution. The total number of intra-prediction modes remains unchanged, for example, 67, and the intra-mode encoding and decoding remain unchanged.
[0053] In HEVC, each intra-coded block has a square shape, and the length of each side of the block is a power of 2. Therefore, no division is needed to generate intra-prediction values using DC mode. In VVC, blocks can have rectangular shapes, which generally requires division for each block. To avoid division for DC prediction, only the longer sides are used to calculate the average of non-square blocks.
[0054] 3.4 Inter-frame prediction
[0055] For each inter-frame prediction CU, motion parameters include motion vectors, reference picture indexes, reference picture list usage indexes, and additional information for new encoding / decoding features used to generate the VVC from the inter-frame prediction samples. Motion parameters can be transmitted via signaling in an explicit or implicit manner. When a CU is encoded / decoded in skip mode, the CU is associated with a PU and does not have significant residual coefficients, encoded / decoded motion vector increments, and / or reference picture indexes. A Merge mode is defined, thereby obtaining the motion parameters of the current CU from additional scheduling introduced from neighboring CUs (including spatial and temporal candidates) and VVCs. The Merge mode can be applied to any inter-frame prediction CU, not just skip mode. An alternative to the Merge mode is explicit transmission of motion parameters, where for each CU, the motion vector, the corresponding reference picture index for each reference picture list, the reference picture list usage flag, and other useful information are explicitly transmitted via signaling.
[0056] 3.5 Deblocking Filter
[0057] Deblocking filtering is an example of a loop filter in a video codec. In VVC, the deblocking filtering process is applied to CU boundaries, transform subblock boundaries, and predictive subblock boundaries. Predictive subblock boundaries include prediction unit boundaries introduced by subblock-based temporal motion vector prediction (SbTMVP) and affine modes. Transform subblock boundaries include transform unit boundaries introduced by subblock transform (SBT) and intra-fractional sub-segmentation (ISP) modes, as well as transforms resulting from the implicit partitioning of large CUs. The processing order of the deblocking filter is defined as first performing horizontal filtering on the vertical edges of the entire image, and then performing vertical filtering on the horizontal edges. This specific order allows multiple horizontal or vertical filtering processes to be applied in parallel threads. The filtering process can also be implemented on a CTB-by-CTB basis with only a small processing latency.
[0058] 3.6 Sample point adaptive compensation
[0059] Sample Adaptive Compensation (SAO) is applied to the reconstructed signal after the deblocking filter by using an offset specified by the encoder for each CTB. The video encoder first decides whether to apply the SAO process to the current slice. If SAO is applied to a slice, each CTB is classified into one of five SAO types as shown in Table 2. The concept of SAO is to classify pixels into multiple categories and reduce distortion by adding an offset to the pixels in each category. SAO operations include Edge Compensation (EO) and Band Compensation (BO), where EO uses edge attributes to classify pixels in SAO types 1 through 4, and BO uses pixel intensity to classify pixels in SAO type 5. Each applicable CTB has SAO parameters including sao_merge_left_flag, sao_merge_up_flag, SAO type, and four offsets. If sao_merge_left_flag equals 1, the current CTB will reuse the SAO type and offset of the left CTB. If sao_merge_up_flag equals 1, the current CTB will reuse the SAO type and offset of the upper CTB.
[0060] Table 2. Specifications for SAO Types
[0061]
[0062] 3.6.1 Adaptive Compensation Across Component Samples
[0063] Figure 4 An example procedure for CCSAO is shown. Cross-component sample adaptive compensation (CCSAO) has been proposed for further compression efficiency exploration in VVC [1]. Specifically, similar to SAO, CCSAO classifies reconstructed samples into different categories, appropriately derives an offset for each category, and adds the offset to the reconstructed samples in that category. However, unlike SAO, which uses only a single luma / chroma component of the current sample as input, CCSAO utilizes all three components to classify the current sample into different categories. To facilitate parallel processing, the output samples from the deblocking filter are used as input to CCSAO. Figure 4 A diagram showing the decoding workflow when CCSAO is applied is provided.
[0064] In the CCSAO design, to achieve an improved complexity / performance tradeoff, only Boolean Optimization (BO) is used to enhance the quality of the reconstructed samples. For a given luminance / chrominance sample, three candidate samples are selected to classify the given sample into different categories: one isotopic Y sample, one isotopic U sample, and one isotopic V sample. The sample values of these three selected samples are then classified into three distinct categories. } with, and composite index It is used to indicate the category of a given sample. An offset is transmitted via signal and added to the reconstructed samples that fall into that category, which can be expressed as:
[0065]
[0066] In the above equation, { , , } are the three selected co-located samples used to classify the current sample; } are applied to { , , The number of equal-divided bands within the complete range of}; It is the internal encoding / decoding bit depth; and These are the reconstructed samples before and after applying CCSAO; This is the value of the CCSAO offset applied to the i-th BO category. In the CCSAO design, such as... Figure 3-5 As shown, the position of the same luminance sample can be selected from 9 candidate positions, while the position of the same chrominance sample is fixed.
[0067] Similar to SAO, different classifiers can be applied to different local regions to further improve the overall image quality. The parameters of each classifier (i.e., ...) , , , The position and offset) are transmitted via signaling at the frame level, and explicitly transmitted via signaling and switching of which classifier is used at the CTB level. For each classifier, { The maximum value of} is set to {16, 4, 4}, and the offset is constrained to the range [-15, 15]. The maximum number of classifiers per frame is constrained to 4.
[0068] Figure 5 An example of candidate locations for the CCSAO classifier is shown.
[0069] 3.7 Adaptive Loop Filter
[0070] Adaptive Loop Filtering (ALF) for video encoding and decoding minimizes the mean square error between the original and decoded samples using Wiener-based adaptive filters. ALF is located at the last processing stage of each picture and can be considered a tool for capturing and repairing artifacts from previous stages. Appropriate filter coefficients are determined by the encoder and explicitly transmitted to the decoder via the signal. To achieve better encoding and decoding efficiency, especially for high-resolution video, local adaptation is used for the luminance signal by applying different filters to different regions or blocks in the picture. In addition to filter adaptation, filter on / off control at the codec tree unit (CTU) level also contributes to improved encoding and decoding efficiency. Syntactically, filter coefficients are sent in a picture-level header called the adaptive parameter set, and the filter on / off flags of the CTUs are interleaved at the CTU level in the stripe data. This syntax design not only supports picture-level optimization but also achieves low encoding latency.
[0071] 3.8 Bilateral Loop Filter
[0072] 3.8.1 Bilateral Image Filter
[0073] Bilateral image filtering is a nonlinear filter that smooths noise while preserving edge structure. Bilateral filtering is a technique where the filter weights decrease not only as the distance between samples decreases but also as the intensity difference increases. This improves the smoothing of overly smoothed edges. The weights are defined as:
[0074]
[0075] in and It is the distance in the horizontal and vertical directions, and It is the intensity difference between sample points.
[0076] Edge-preserving denoising bilateral filters employ low-pass Gaussian filters for both the domain and range filters. The domain low-pass Gaussian filter assigns higher weights to pixels spatially closer to the center pixel. The range low-pass Gaussian filter assigns higher weights to pixels similar to the center pixel. Combining the range and domain filters, the bilateral filter at edge pixels becomes a thin Gaussian filter oriented along the edge and significantly reduced in the gradient direction. This is why bilateral filters can smooth noise while preserving edge structure.
[0077] 3.8.2 Bilateral Filters in Video Encoding and Decoding
[0078] Bilateral filters in video encoding and decoding are encoding and decoding tools used for VVC [2]. The filter acts as a loop filter in parallel with the Sample Adaptive Compensation (SAO) filter. Both the bilateral filter and the SAO operate on the same input sample, each filter generates an offset, and these offsets are then added to the input sample to produce an output sample, which is then clipped before proceeding to the next stage. Spatial filtering intensity Determined by the block size, smaller blocks are filtered more strongly, and the intensity of the filter is... Determined by the quantization parameters, with stronger filtering used for higher QP values. Only the four nearest samples are used, therefore the filtered sample intensity... It can be calculated as:
[0079]
[0080] in Indicates the intensity of the central sample point. It is the intensity difference between the center sample point and the sample point above it. These represent the intensity differences between the center sample point and the sample points below, on the left, and on the right, respectively.
[0081] 4. Technical problems solved by the disclosed embodiments
[0082] The example design of filters in video encoding and decoding has the following problems.
[0083] Ringing artifacts within the reconstructed video cannot be completely removed by the current loop filter.
[0084] 5. List of solutions and implementation examples
[0085] To address the aforementioned problems, methods outlined below are disclosed. These embodiments should be considered as examples for explaining general concepts and not interpreted in a narrow sense. Furthermore, these embodiments can be applied individually or in any combination.
[0086] It should be noted that the disclosed method can be used as a loop filter or post-processing.
[0087] 1) In one example, a specific fixed filter can be applied to different encoding and decoding stages.
[0088] a. A specific fixed filter can be the same fixed filter used in ALF, or a variant of the fixed filter used in ALF.
[0089] b. In one example, a fixed filter can be applied to the samples before the DBF.
[0090] c. In one example, a fixed filter can be applied to the samples before the BF.
[0091] d. In one example, a fixed filter can be applied to the samples before SAO.
[0092] e. In one example, a fixed filter can be applied to the samples before CCSAO.
[0093] f. In one example, a fixed filter can be applied to the samples before ALF.
[0094] g. In one example, a fixed filter can be applied to the samples before CCALF.
[0095] h. In one example, a fixed filter o can be applied to samples of an intra-frame codec block.
[0096] i. In one example, a fixed filter o can be applied to samples for inter-frame codec blocks.
[0097] j. In one example, a fixed filter can be applied to the samples before any other encoding / decoding stage.
[0098] 2) In one example, a specific fixed filter of ALF can be applied to different color components.
[0099] a. A specific fixed filter can be the same fixed filter used in ALF, or a variant of the fixed filter used in ALF.
[0100] b. In one example, a fixed filter can be applied only to the luminance component.
[0101] c. In one example, a fixed filter can be applied only to the chromaticity component.
[0102] d. In one example, a fixed filter can be applied to both the luminance and chrominance components.
[0103] 3) In one example, the input of the fixed filter of ALF can be referenced to different sources.
[0104] a. In one example, the input of the fixed filter in ALF can be referenced from the reconstructed samples prior to DBF.
[0105] b. In one example, the input of the fixed filter of ALF can be referenced to the reconstructed samples before BF.
[0106] c. In one example, the input of the fixed filter of ALF can be referenced to the reconstructed samples prior to SAO.
[0107] d. In one example, the input of the fixed filter of ALF can be referenced from the reconstructed samples previously obtained by CCSAO.
[0108] e. In one example, the input to the fixed filter of the ALF can be referenced to the reconstructed samples of the ALF.
[0109] f. In one example, the input of the fixed filter in ALF can be referenced from the reconstructed samples of CCALF.
[0110] g. In one example, the input of the fixed filter in the ALF can be referenced to the residual samples.
[0111] h. In one example, the input to the fixed filter of the ALF can be referenced to the predicted samples.
[0112] i. In one example, the input to the fixed filter of ALF can be referenced to filtered samples generated by a predefined filter.
[0113] a) In one example, a predefined filter can be referenced from a Gaussian filter.
[0114] b) In one example, a predefined filter can be referenced from a bilateral filter.
[0115] c) In one example, a predefined filter can be referenced from a low-pass filter.
[0116] d) In one example, a predefined filter can be referenced from a high-pass filter.
[0117] e) In one example, the predefined filter may reference different settings of ALF's fixed filters (e.g., different filter sets or classification methods).
[0118] j. In one example, the input to the fixed filter of ALF can be different from the input used during the ALF process.
[0119] k. In one example, the input to the fixed filter of ALF can be the same as the input used during the ALF process.
[0120] 4) In one example, the filter shape of the fixed filter in ALF can refer to different shapes.
[0121] a. In one example, the filter shape of the fixed filter in ALF can be referenced as a diamond.
[0122] b. In one example, the filter shape of the fixed filter in ALF can be referenced as a square.
[0123] c. In one example, the filter shape of the fixed filter in ALF can be referenced as a cross shape.
[0124] d. In one example, the filter shape of the fixed filter in ALF can be referenced to a symmetrical shape.
[0125] e. In one example, the filter shape of the fixed filter in ALF can be referenced to an asymmetric shape.
[0126] f. In one example, the filter shape can be different for different inputs.
[0127] g. In one example, the filter shape can be the same for different inputs.
[0128] h. In one example, the filter shape may differ from the filter shape used during the ALF process.
[0129] i. In one example, the filter shape can be the same as the filter shape used during the ALF process.
[0130] 5) In one example, the filter size of the fixed filter in ALF can be referenced from different settings.
[0131] a. In one example, the filter size of the fixed filter in ALF can be set to N. (For example, N = 13).
[0132] b. In one example, the filter size can be different for different inputs.
[0133] c. In one example, the filter size can be the same for different inputs.
[0134] d. In one example, the filter size may differ from the filter size used during the ALF process.
[0135] e. In one example, the filter size can be the same as the filter size used during the ALF process.
[0136] 6) In one example, the classification method for determining the fixed filter of ALF can be referenced from different designs.
[0137] a. In one example, the classification method can refer to gradient-based classification methods.
[0138] b. In one example, the classification method can refer to the band-based classification method.
[0139] c. In one example, the classification method can refer to residual-based classification methods.
[0140] d. In one example, the classification method may be different from the classification method used during the ALF process.
[0141] e. In one example, the classification method can be the same as the classification method used during the ALF process.
[0142] f. In one example, the classification unit may reference different designs.
[0143] a) In one example, the shape of the classification unit can be referenced to a square.
[0144] b) In one example, the shape of the classification unit can be referenced as a rhombus.
[0145] c) In one example, the shape of the classification unit can be referenced from the sample points.
[0146] d) In one example, the size of the classification unit can be set to N. (For example, N = 2).
[0147] g. In one example, the category window can reference different designs.
[0148] a) In one example, the shape of the category window can be referenced as a square.
[0149] b) In one example, the category window shape can be referenced as a diamond.
[0150] c) In one example, the shape of the classification window can be referenced from the sample points.
[0151] d) In one example, the classification window size can be set to N. (For example, N = 8).
[0152] 7) In one example, the input can be padded before the fixed filter used for ALF.
[0153] a. In one example, the input can be populated in an expanded manner.
[0154] b. In one example, the input can be filled in a mirrored manner.
[0155] c. In one example, the input can be padded with respect to the boundaries of the image / sub-image.
[0156] d. In one example, the input can be filled against strip / piece boundaries.
[0157] e. In one example, the input can be filled against the CTU / CTB boundary.
[0158] f. In one example, the input can be filled against the CU / TU / PU boundaries.
[0159] g. In one example, the input can be padded against block boundaries.
[0160] h. In one example, the input can be filled with cell boundaries.
[0161] i. In one example, the input can be filled against a virtual boundary.
[0162] 8) In one example, the offset generated by the fixed filter of ALF can be modified before being added to the filtered samples.
[0163] a. In one example, the offset can be limited.
[0164] b. In one example, the offset can be scaled.
[0165] c. In one example, the offset can be mapped via a lookup table.
[0166] d. In one example, the offset can be converted to an absolute value.
[0167] e. In one example, s' = f(s), where s is the offset and s' is the modified offset.
[0168] a) In one example, f(s) = sign(s) (|s| -p), where p is an integer, such as 1. If s>0, then sign(s) = 1; if s<0, then sign(s) = -1; if s=0, then sign(s) = 0.
[0169] 9) In one example, the fixed filter of ALF can be applied during the prediction process.
[0170] a. In one example, the fixed filter of ALF can be applied during the prediction process of both the encoder and the decoder.
[0171] b. In one example, the fixed filter of ALF can be applied only during the encoder's prediction process.
[0172] 10) In one example, the luminance input of the fixed filter of ALF can be used to filter the chrominance samples.
[0173] 11) In one example, the luminance output of the fixed filter of the ALF can be used to filter luminance / chrominance samples.
[0174] 12) In one example, nonlinear limiting can be applied to a fixed filter of the ALF.
[0175] a. In one example, a fixed filter for ALF can enable nonlinear limiting.
[0176] b. In one example, the fixed filter for ALF can disable nonlinear limiting.
[0177] 13) In one example, fixed filters for ALF can be enabled / disabled / controlled at different levels.
[0178] a. In one example, the first syntax element can be signaled to indicate whether a fixed filter of ALF is enabled.
[0179] a) In one example, the first syntax element can be encoded or decoded using arithmetic encoding / decoding.
[0180] 1. In one example, the first syntax element can be encoded or decoded using at least one context.
[0181] a. The context can depend on the encoding / decoding information of the current block or neighboring blocks.
[0182] b. The context may depend on the fixed filter on / off decision of at least one neighboring block.
[0183] 2. In one example, the first syntax element can be encoded or decoded using bypass encoding / decoding.
[0184] b) In one example, the first syntax element can be binarized using unary code, rounded unary code, fixed-length code, exponential Golomb code, rounded exponential Golomb code, etc.
[0185] c) In one example, the first syntax element can be conditionally transmitted via signal.
[0186] 1. For example, the first syntax element can only be transmitted via signaling if the fixed filter of ALF is available.
[0187] d) The first syntax element can be encoded and decoded in a predictive manner.
[0188] 1. The first syntax element can be predicted by the on / off decision of the fixed filter of the ALF of at least one neighboring block.
[0189] e) The first syntax element can be transmitted independently via signal for different color components.
[0190] 1. Alternatively, the first syntax element can be transmitted and shared via signal for different color components.
[0191] 2. Alternatively, the first syntax element may be transmitted via signal for the first color component but not for the second color component.
[0192] b. In one example, syntax elements can be signaled to indicate how to apply ALF's fixed filters.
[0193] a) In one example, the second syntax element (SE) can indicate the number of fixed filters in the ALF.
[0194] b) In one example, the third SE can indicate whether the fixed filter of ALF is enabled.
[0195] c. Syntax elements can be transmitted via signals in SPS / PPS / image header / strip header / APS / CTU / CU / etc.
[0196] 14) In one example, a fixed filter set can be selected from multiple fixed filter sets at different levels.
[0197] a. In one example, the first syntax element can be signaled to indicate which fixed set of filters to select for the ALF.
[0198] a) In one example, the first syntax element can be encoded or decoded using arithmetic encoding / decoding.
[0199] 1. In one example, the first syntax element can be encoded or decoded using at least one context.
[0200] a. The context can depend on the encoding / decoding information of the current block or neighboring blocks.
[0201] b. The context may depend on a fixed set of filters from at least one neighboring block.
[0202] 2. In one example, the first syntax element can be encoded or decoded using bypass encoding / decoding.
[0203] b) In one example, the first syntax element can be binarized using unary code, rounded unary code, fixed-length code, exponential Golomb code, rounded exponential Golomb code, etc.
[0204] c) In one example, the first syntax element can be conditionally transmitted via signal.
[0205] 1. For example, the first syntax element can only be transmitted via signaling if the fixed filter of ALF is available / enabled.
[0206] d) The first syntax element can be encoded and decoded in a predictive manner.
[0207] 1. The first syntax element can be predicted by a set of decisions of fixed filters of at least one neighboring block's ALF.
[0208] e) The first syntax element can be transmitted independently via signal for different color components.
[0209] 1. Alternatively, the first syntax element can be transmitted and shared via signal for different color components.
[0210] 2. Alternatively, the first syntax element may be transmitted via signal for the first color component but not for the second color component.
[0211] f) Syntax elements can be transmitted via signals in SPS / PPS / Image Header / Strip Header / APS / CTU / CU / etc.
[0212] 15) In one example, the disclosed methods may be used in post-processing and / or pre-processing.
[0213] 16) In one example, the above methods can be used in combination.
[0214] 17) Alternatively, the above methods can be used alone.
[0215] 18) In one example, the proposed method of using predefined filters for ALF classification can be applied to any loop filtering tool, preprocessing or postprocessing filtering method (including but not limited to ALF / CCALF / BF / SAO / CCSAO or any other filtering method) in video encoding and decoding.
[0216] a. In one example, the proposed method of using predefined filters can be applied to loop filtering methods.
[0217] a) In one example, the proposed method of using predefined filters can be applied to ALF.
[0218] b) In one example, the proposed method of using predefined filters can be applied to CCALF.
[0219] c) Alternatively, the proposed method of using predefined filters can be applied to other loop filtering methods.
[0220] b. In one example, the proposed method of using predefined filters can be applied to preprocessing filtering methods.
[0221] c. In one example, the proposed method of using predefined filters can be applied to post-processing filtering methods.
[0222] 19) In the above example, a video unit may refer to a sequence / picture / subpicture / strip / piece / code-decode tree unit (CTU) / CTU line / CTU group / code-decode unit (CU) / prediction unit (PU) / transform unit (TU) / code-decode tree block (CTB) / code-decode block (CB) / prediction block (PB) / transform block (TB) / any other region containing more than one luminance or chrominance sample / pixel.
[0223] 20) Whether and / or how the methods disclosed above can be used to transmit signals in a bitstream.
[0224] a. In one example, they can be transmitted via signaling at the sequence level / picture group level / picture level / strip level / piece group level, such as in the sequence header / picture header / SPS / VPS / DPS / DCI / PPS / APS / strip header / piece group header.
[0225] b. In one example, they can be transmitted via signal at PB / TB / CB / PU / TU / CU / VPDU / CTU / CTU lines / strips / pieces / sub-pictures / other types of areas containing more than one sample point or pixel.
[0226] 21) Whether and / or how the methods disclosed above are applied may depend on the encoded / decoded information, such as block size, color format, single / dual tree segmentation, color components, and stripe / picture type.
[0227] 22) The syntax elements disclosed above can be binarized into flags, fixed-length codes, EG(x) codes, unary codes, rounded unary codes, rounded binary codes, etc. They can be signed or unsigned.
[0228] 23) The syntax elements disclosed above can be encoded or decoded using at least one context model. Alternatively, they can be encoded or decoded using a bypass method.
[0229] 24) The syntax elements disclosed above can be transmitted via signals in a conditional manner.
[0230] a. SE is transmitted via signal only when the corresponding function is applied.
[0231] b. SE is transmitted via signal only if the dimensions of the block (width and / or height) meet the conditions.
[0232] 25) The syntax elements disclosed above can be transmitted via signaling at the block level / sequence level / picture group level / picture level / strip level / piece group level, such as in the codec structure of CTU / CU / TU / PU / CTB / CB / TB / PB, or in the sequence header / picture header / SPS / VPS / DPS / DCI / PPS / APS / strip header / piece group header.
[0233] 26) The proposed methods can be combined with another codec tool, such as affine / MTS / LFNST / MMVD / MIP / ISP / CCLM / CCCM / SMVD / BDOF / DMVR / HMVP / template matching / IBC / palette / etc.
[0234] 27) The proposed methods (multiple) may be incompatible with other codec tools, such as affine / MTS / LFNST / MMVD / MIP / ISP / CCLM / CCCM / SMVD / BDOF / DMVR / HMVP / template matching / IBC / palette / etc.
[0235] a. In one example, if (multiple) of the proposed methods are used, the excluded codec tools are implicitly disabled without signaling.
[0236] b. In one example, if the excluded codec tools are used, the proposed methods (multiple) are implicitly disabled without signaling.
[0237] Figure 6 This is a block diagram illustrating an example video processing system 4000 in which various embodiments disclosed herein may be implemented. Various implementations may include some or all of the components of system 4000. System 4000 may include an input 4002 for receiving video content. The video content may be received in a raw or uncompressed format, such as 8 or 10-bit multi-component pixel values, or it may be received in a compressed or encoded format. Input 4002 may represent a network interface, a peripheral bus interface, or a storage interface. Examples of network interfaces include wired interfaces (such as Ethernet, Passive Optical Networking (PON), etc.) and wireless interfaces (such as Wi-Fi or cellular interfaces).
[0238] System 4000 may include an encoding component 4004 capable of implementing the various encoding / decoding or encoding methods described in this disclosure. Encoding component 4004 can reduce the average bit rate from the video input 4002 to the output of encoding component 4004 to produce an encoded representation of the video. Encoding techniques are therefore sometimes referred to as video compression or video transcoding techniques. The output of encoding component 4004 may be stored or transmitted via a communication connection such as that represented by component 4006. The bitstream (or encoded) representation of the video received at input 4002, whether stored or transmitted via communication, may be used by component 4008 to generate pixel values or displayable video that is sent to display interface 4010. The process of generating user-visible video from the bitstream representation is sometimes referred to as video decompression. Furthermore, although some video processing operations are referred to as “encoding” operations or tools, it is understood that encoding tools or operations are used by encoders, and corresponding decoding tools or operations that reverse the encoded result will be performed by decoders.
[0239] Examples of peripheral bus interfaces or display interfaces may include Universal Serial Bus (USB), High Definition Multimedia Interface (HDMI), or DisplayPort. Examples of storage interfaces include Serial Advanced Technology Attachment (SATA), Peripheral Component Interconnect (PCI), Integrated Drive Electronics (IDE), etc. The embodiments described in this disclosure can be embodied in a variety of electronic devices, such as mobile phones, laptops, smartphones, or other devices capable of performing digital data processing and / or video display.
[0240] Figure 7 This is a block diagram of an example video processing apparatus 4100. Apparatus 4100 can be used to implement one or more methods described herein. Apparatus 4100 can be embodied in a smartphone, tablet, computer, Internet of Things (IoT) receiver, etc. Apparatus 4100 may include one or more processors 4102, one or more memories 4104, and video processing circuitry 4106. The processors(multiple) 4102 can be configured to implement one or more methods described herein. The memories(multiple) 4104 can be used to store data and code used to implement the methods and embodiments described herein. The video processing circuitry 4106 can be used to implement some embodiments described herein in hardware circuitry. In some embodiments, the video processing circuitry 4106 may be at least partially included in the processor 4102, such as a graphics coprocessor.
[0241] Figure 8This is a flowchart of an example method 4200 for video processing. Method 4200 includes: in step 4202, determining to apply a fixed filter in an adaptive loop filter (ALF). In step 4204, performing a conversion between visual media data and a bitstream based on the ALF. According to the example, the conversion in step 4204 may include encoding at an encoder or decoding at a decoder.
[0242] It should be noted that method 4200 can be implemented in an apparatus for processing video data, including a processor and a non-transitory memory having instructions thereon, such as a video encoder 4400, a video decoder 4500, and / or an encoder 4600. In this case, the instructions, when executed by the processor, cause the processor to perform method 4200. Furthermore, method 4200 can be executed by a non-transitory computer-readable medium comprising a computer program product for use by a video encoding / decoding device. The computer program product includes computer-executable instructions stored on the non-transitory computer-readable medium, such that when the computer-executable instructions are executed by a processor, the computer-executable instructions cause the video encoding / decoding device to perform method 4200.
[0243] Figure 9 This is a block diagram illustrating an example video encoding / decoding system 4300 that can utilize embodiments of the present disclosure. The video encoding / decoding system 4300 may include a source device 4310 and a target device 4320. The source device 4310 generates encoded video data, and this source device 4310 may be referred to as a video encoding device. The target device 4320 can decode the encoded video data generated by the source device 4310, and this target device 4320 may be referred to as a video decoding device.
[0244] Source device 4310 may include video source 4312, video encoder 4314, and input / output (I / O) interface 4316. Video source 4312 may include sources such as video capture devices, interfaces for receiving video data from video content providers, and / or computer graphics systems for generating video data, or combinations thereof. Video data may include one or more pictures. Video encoder 4314 encodes the video data from video source 4312 to generate a bitstream. The bitstream may include a sequence of bits forming a codec representation of the video data. The bitstream may include codec pictures and associated data. Codec pictures are codec representations of pictures. Associated data may include sequence parameter sets, picture parameter sets, and other syntax structures. I / O interface 4316 may include a modulator / demodulator (modem) and / or a transmitter. Encoded video data may be transmitted directly to target device 4320 via network 4330 through I / O interface 4316. Encoded video data may also be stored on storage medium / server 4340 for access by target device 4320.
[0245] Target device 4320 may include I / O interface 4326, video decoder 4324, and display device 4322. I / O interface 4326 may include a receiver and / or a modem. I / O interface 4326 may acquire encoded video data from source device 4310 or storage medium / server 4340. Video decoder 4324 may decode the encoded video data. Display device 4322 may display the decoded video data to a user. Display device 4322 may be integrated with target device 4320 or may be external to target device 4320, wherein target device 4320 may be configured to interface with an external display device.
[0246] The video encoder 4314 and the video decoder 4324 can operate according to video compression standards, such as the High Efficiency Video Codec (HEVC) standard, the Multi-Functional Video Codec (VVC) standard, and other existing and / or further standards.
[0247] Figure 10 This is a block diagram illustrating an example of a video encoder 4400, wherein the video encoder 4400 may be... Figure 9 The system 4300 shown includes a video encoder 4314. The video encoder 4400 can be configured to perform any or all embodiments of this disclosure. The video encoder 4400 includes multiple functional components. The embodiments described in this disclosure can be shared among various components of the video encoder 4400. In some examples, a processor can be configured to perform any or all embodiments described in this disclosure.
[0248] The functional components of the video encoder 4400 may include a segmentation unit 4401; a prediction unit 4402, which may include a mode selection unit 4403, a motion estimation unit 4404, a motion compensation unit 4405, and an intra-frame prediction unit 4406; a residual generation unit 4407; a transform processing unit 4408; a quantization unit 4409; an inverse quantization unit 4410; an inverse transform unit 4411; a reconstruction unit 4412; a buffer 4413; and an entropy coding unit 4414.
[0249] In other examples, the video encoder 4400 may include more, fewer, or different functional components. In one example, the prediction unit 4402 may include an intra-block copy (IBC) unit. The IBC unit can perform prediction in an IBC mode, where at least one reference picture is the picture in which the current video block is located.
[0250] Furthermore, some components such as the motion estimation unit 4404 and the motion compensation unit 4405 can be highly integrated, but for illustrative purposes, these components are shown separately in the example of the video encoder 4400.
[0251] The segmentation unit 4401 can segment an image into one or more video blocks. The video encoder 4400 and the video decoder 4500 can support various video block sizes.
[0252] The mode selection unit 4403 can select one of several encoding / decoding modes (intra-frame encoding / decoding or inter-frame encoding / decoding), for example, based on error results, and provide the resulting intra-frame or inter-frame encoded / decoded block to the residual generation unit 4407 to generate residual block data, and to the reconstruction unit 4412 to reconstruct the coded block for use as a reference image. In some examples, the mode selection unit 4403 can select an intra-frame / inter-frame joint prediction (CIIP) mode, where prediction is based on inter-frame prediction signals and intra-frame prediction signals. In the case of inter-frame prediction, the mode selection unit 4403 can also select a resolution for the block based on motion vectors (e.g., sub-pixel precision or integer pixel precision).
[0253] To perform inter-frame prediction on the current video block, motion estimation unit 4404 can generate motion information for the current video block by comparing one or more reference frames from buffer 4413 with the current video block. Motion compensation unit 4405 can determine the predicted video block for the current video block based on the motion information and decoded samples of images from buffer 4413 other than the image associated with the current video block.
[0254] The motion estimation unit 4404 and the motion compensation unit 4405 can perform different operations on the current video block, for example, depending on whether the current video block is in an I-band, P-band, or B-band.
[0255] In some examples, motion estimation unit 4404 can perform unidirectional prediction on the current video block, and can search for a reference video block for the current video block in the reference images of list 0 or list 1. Motion estimation unit 4404 can then generate a reference index indicating the reference image in list 0 or list 1, where the reference image contains the reference video block and a motion vector indicating the spatial displacement between the current video block and the reference video block. Motion estimation unit 4404 can output the reference index, prediction direction indicator, and motion vector as motion information for the current video block. Motion compensation unit 4405 can generate a predicted video block for the current block based on the reference video block indicated by the motion information of the current video block.
[0256] In other examples, motion estimation unit 4404 can perform bidirectional prediction for the current video block. Motion estimation unit 4404 can search for a reference video block for the current video block in the reference images of list 0, and can also search for another reference video block for the current video block in the reference images of list 1. Motion estimation unit 4404 can then generate reference indices indicating the reference images containing the reference video blocks in lists 0 and 1, and motion vectors indicating the spatial displacement between the reference video blocks and the current video block. Motion estimation unit 4404 can output the reference index and motion vector of the current video block as motion information for the current video block. Motion compensation unit 4405 can generate a predicted video block for the current video block based on the reference video blocks indicated by the motion information of the current video block.
[0257] In some examples, the motion estimation unit 4404 can output a complete set of motion information for use in the decoder's decoding process. In some examples, the motion estimation unit 4404 may not output a complete set of motion information for the current video. Instead, the motion estimation unit 4404 can reference the motion information of another video block to transmit the motion information of the current video block via a signal. For example, the motion estimation unit 4404 may determine that the motion information of the current video block is sufficiently similar to the motion information of neighboring video blocks.
[0258] In one example, the motion estimation unit 4404 may indicate a value to the video decoder 4500 in the syntax structure associated with the current video block, wherein the value indicates that the current video block has the same motion information as another video block.
[0259] In another example, motion estimation unit 4404 may identify another video block and motion vector difference (MVD) in the syntax structure associated with the current video block. The motion vector difference indicates the difference between the motion vector of the current video block and the motion vector of the indicated video block. Video decoder 4500 may use the motion vector of the indicated video block and the motion vector difference to determine the motion vector of the current video block.
[0260] As discussed above, the video encoder 4400 can transmit motion vectors via signaling in a predictive manner. Two examples of predictive signaling techniques that can be implemented by the video encoder 4400 include Advanced Motion Vector Prediction (AMVP) and Merge Pattern Signaling.
[0261] Intra-prediction unit 4406 can perform intra-prediction on the current video block. When intra-prediction unit 4406 performs intra-prediction on the current video block, it can generate prediction data for the current video block based on the decoded samples of other video blocks in the same frame. The prediction data for the current video block can include the predicted video block and various syntax elements.
[0262] The residual generation unit 4407 can generate residual data for the current video block by subtracting (or more) predicted video blocks from the current video block. The residual data for the current video block may include residual video blocks corresponding to different sample components of the samples in the current video block.
[0263] In other examples, such as in skip mode, there may be no residual data for the current video block, and the residual generation unit 4407 may not perform subtraction operations.
[0264] The transform processing unit 4408 can generate one or more transform coefficient video blocks for the current video block by applying one or more transforms to the residual video blocks associated with the current video block.
[0265] After the transform processing unit 4408 generates a transform coefficient video block associated with the current video block, the quantization unit 4409 can quantize the transform coefficient video block associated with the current video block based on one or more quantization parameter (QP) values associated with the current video block.
[0266] The inverse quantization unit 4410 and the inverse transform unit 4411 can apply inverse quantization and inverse transform to the transform coefficient video block respectively to reconstruct the residual video block from the transform coefficient video block. The reconstruction unit 4412 can add the reconstructed residual video block to the corresponding sample points of one or more predicted video blocks generated by the prediction unit 4402 to generate a reconstructed video block associated with the current block and store it in the buffer 4413.
[0267] After the video block is reconstructed by reconstruction unit 4412, a loop filtering operation can be performed to reduce video block artifacts in the video block.
[0268] The entropy coding unit 4414 can receive data from other functional components of the video encoder 4400. When the entropy coding unit 4414 receives data, it can perform one or more entropy coding operations to generate entropy-coded data and output a bitstream including the entropy-coded data.
[0269] Figure 11 This is a block diagram illustrating an example of a video decoder 4500, wherein the video decoder 4500 may be... Figure 9 The system 4300 shown includes a video decoder 4324. The video decoder 4500 can be configured to perform any or all embodiments of this disclosure. In the example shown, the video decoder 4500 includes multiple functional components. The embodiments described in this disclosure can be shared among various components of the video decoder 4500. In some examples, a processor can be configured to perform any or all embodiments described in this disclosure.
[0270] In the example shown, the video decoder 4500 includes an entropy decoding unit 4501, a motion compensation unit 4502, an intra-frame prediction unit 4503, an inverse quantization unit 4504, an inverse transform unit 4505, a reconstruction unit 4506, and a buffer 4507. In some examples, the video decoder 4500 can perform a decoding process that is generally contrasted with the encoding process described with respect to the video encoder 4400.
[0271] The entropy decoding unit 4501 can retrieve the encoded bitstream. The encoded bitstream may include entropy-encoded video data (e.g., encoded video data blocks). The entropy decoding unit 4501 can decode the entropy-encoded video data, and based on the entropy-decoded video data, the motion compensation unit 4502 can determine motion information including motion vectors, motion vector precision, reference image list index, and other motion information. The motion compensation unit 4502 can determine this information, for example, by executing AMVP and Merge modes.
[0272] The motion compensation unit 4502 can generate motion compensation blocks, possibly performing interpolation based on an interpolation filter. The identifier of the interpolation filter to be used, with sub-pixel accuracy, can be included in the syntax element.
[0273] The motion compensation unit 4502 can use interpolation filters, such as those used by the video encoder 4400 during video block encoding, to calculate sub-integer pixel interpolations for a reference block. The motion compensation unit 4502 can determine the interpolation filter used by the video encoder 4400 based on the received syntax information, and the motion compensation unit 4502 can use the interpolation filter to generate a prediction block.
[0274] The motion compensation unit 4502 may use some syntax information to determine the size of the blocks used to encode (multiple) frames and / or (multiple) stripes of the encoded video sequence, segmentation information describing how each macroblock of the image of the encoded video sequence is segmented, a mode indicating how each segment is encoded, one or more reference frames (and a list of reference frames) for each inter-frame codec block, and other information for decoding the encoded video sequence.
[0275] Intra-prediction unit 4503 can use, for example, an intra-prediction mode received in the bitstream to form prediction blocks from spatially adjacent blocks. Inverse quantization unit 4504 performs inverse quantization (i.e., dequantization) on the quantized video block coefficients provided in the bitstream and decoded by entropy decoding unit 4501. Inverse transform unit 4505 applies an inverse transform.
[0276] The reconstruction unit 4506 can add the residual block to the corresponding predicted block generated by the motion compensation unit 4502 or the intra-frame prediction unit 4503 to form a decoded block. If necessary, a deblocking filter can also be used to filter the decoded block to remove block artifacts. The decoded video block is then stored in a buffer 4507, which provides a reference block for subsequent motion compensation / intra-frame prediction, and the buffer 4507 also generates decoded video for presentation on a display device.
[0277] Figure 12 This is a schematic diagram of the example encoder 4600. Encoder 4600 is suitable for implementing VVC techniques. Encoder 4600 includes three loop filters: a deblocking filter (DF) 4602, a sample adaptive compensation (SAO) 4604, and an adaptive loop filter (ALF) 4606. Unlike DF 4602, which uses predefined filters, SAO 4604 and ALF 4606 utilize the original samples of the current image, reducing the mean square error between the original and reconstructed samples by adding offsets and applying finite impulse response (FIR) filters respectively, and utilizing the encoded / decoded side information through signal transmission offsets and filter coefficients. ALF 4606 is located in the last processing stage of each image and can be considered as a tool for attempting to capture and repair artifacts caused by previous stages.
[0278] The encoder 4600 also includes an intra-frame prediction component 4608 and a motion estimation / compensation (ME / MC) component 4610 configured to receive input video. The intra-frame prediction component 4608 is configured to perform intra-frame prediction, while the ME / MC component 4610 is configured to perform inter-frame prediction using reference images obtained from a reference image buffer 4612. Residual blocks from inter-frame or intra-frame prediction are fed into a transform (T) component 4614 and a quantization (Q) component 4616 to generate quantized residual transform coefficients, which are then fed into an entropy coding component 4618. The entropy coding component 4618 entropy-codes the prediction results and the quantized transform coefficients and transmits them toward a video decoder (not shown). The quantized components output from the quantization component 4616 can be fed into an inverse quantization (IQ) component 4620, an inverse transform component 4622, and a reconstruction (REC) component 4624. REC component 4624 is able to output images to DF 4602, SAO 4604 and ALF 4606 for filtering before these images are stored in reference image buffer 4612.
[0279] The following provides a list of preferred solutions as examples.
[0280] The following solutions illustrate examples of the embodiments discussed herein.
[0281] 1. A method for processing video data, comprising: determining to apply a fixed filter in an adaptive loop filter (ALF); and performing a conversion between visual media data and a bitstream based on said ALF.
[0282] 2. The method according to Solution 1, wherein the fixed filter in the ALF is applied to the samples before the deblocking filter (DBF), before the bilateral filter (BF), before the sample adaptive compensation (SAO), before the cross-component SAO (CCSAO), before the ALF, before the cross-component ALF (CCALF), for intra-frame codec blocks, for inter-frame codec blocks, before any other codec stage, or a combination thereof.
[0283] 3. The method according to solution 1 or 2, wherein the fixed filter in the ALF is applied only to the luminance component, only to the chrominance component, or to both the luminance and chrominance components.
[0284] 4. The method according to any one of solutions 1-3, wherein the input of the fixed filter in the ALF includes reconstructed samples before DBF, reconstructed samples before BF, reconstructed samples before SAO, reconstructed samples before CCSAO, reconstructed samples before ALF, reconstructed samples before CCALF, residual samples, predicted samples, filtered samples generated by a predefined filter, or a combination thereof.
[0285] 5. The method according to any one of solutions 1-4, wherein the predefined filter is a Gaussian filter, a bilateral filter, a low-pass filter, a high-pass filter, or a fixed filter with different filter settings.
[0286] 6. The method according to any one of solutions 1-5, wherein the fixed filter in the ALF comprises a rhombus, a square, a cross, a symmetrical shape and an asymmetrical shape, a shape that varies based on the input, a shape that does not vary based on the input, or a combination thereof.
[0287] 7. The method according to any one of solutions 1-6, wherein the filter size of the fixed filter in the ALF varies for different settings.
[0288] 8. The method according to any one of solutions 1-7, wherein the filter size is set to N, or the filter size used for different inputs is different, or the filter size used for different inputs is the same.
[0289] 9. The method according to any one of solutions 1-8, wherein the classification of the fixed filter in the ALF adopts: gradient-based classification, band-based classification, residual-based classification, square classification unit shape, rhombus classification unit shape, sample classification unit shape, N classification unit size, square classification window, rhombus classification window, sample classification window, or N classification window size.
[0290] 10. The method according to any one of solutions 1-9, wherein the input is padded before the fixed filter is applied in the ALF.
[0291] 11. The method according to any one of solutions 1-10, wherein the padding includes extended padding, mirror padding, picture or subpicture boundary padding, strip or slice boundary padding, codec tree unit (CTU) or codec tree block (CTB) boundary padding, codec unit (CU), transform unit (TU) or prediction unit (PU) boundary padding, block boundary padding, cell boundary padding or virtual boundary padding.
[0292] 12. The method according to any one of solutions 1-11, wherein the offset generated by the fixed filter in the ALF is modified before being added to the filtered samples.
[0293] 13. The method according to any one of solutions 1-12, wherein the offset is clipped, scaled, mapped via a lookup table, converted to an absolute value, or mapped according to s' = f(s), where s is the offset and s' is the modified offset, or the offset is mapped via f(s) = sign(s). (|s| -p) is modified, where p is an integer, and if s>0, then sign(s) = 1; if s<0, then sign(s) = -1; if s=0, then sign(s) = 0.
[0294] 14. The method according to any one of solutions 1-13, wherein the fixed filter in the ALF is applied during the prediction period of the encoder or decoder.
[0295] 15. The method according to any one of solutions 1-14, wherein the luminance input of the fixed filter in the ALF is used to filter chrominance samples, or the luminance input of the fixed filter in the ALF is used to filter both luminance and chrominance samples, or the luminance output of the fixed filter in the ALF is used to filter chrominance samples, or the luminance output of the fixed filter in the ALF is used to filter both luminance and chrominance samples.
[0296] 16. The method according to any one of solutions 1-15, wherein nonlinear limiting is enabled for the fixed filter in the ALF, or nonlinear limiting is disabled for the fixed filter in the ALF.
[0297] 17. The method according to any one of solutions 1-16, wherein the fixed filter in the ALF is enabled or disabled at different levels, or a fixed filter set is selected from a plurality of fixed filter sets at different levels.
[0298] 18. The method according to any one of solutions 1-17, wherein the first syntax element is transmitted by signaling to indicate whether the fixed filter in the ALF is enabled or which set of fixed filters in the ALF is selected, or the first syntax element is encoded / decoded by arithmetic encoding / decoding, or the first syntax element is encoded / decoded using at least one context, or the context depends on encoding / decoding information of the current block or neighboring blocks, or the context depends on the fixed filter on / off decision of at least one neighboring block, or the first syntax element is encoded / decoded using bypass encoding / decoding, or the first syntax element is binarized by unary code, rounded unary code, fixed-length code, exponential Golomb code, or rounded exponential Golomb code, or the first syntax element is conditionally transmitted by signaling, or transmitted by signaling only when the fixed filter in the ALF is available. The first syntax element is transmitted, or the first syntax element is encoded / decoded in a predictive manner, or the first syntax element is transmitted independently via signaling for different color components, or the first syntax element is transmitted and shared via signaling for different color components, or the first syntax element is transmitted via signaling for the first color component but not for the second color component, or the syntax element is transmitted via signaling to indicate how the fixed filter in the ALF is applied, or the second syntax element indicates the number of fixed filters in the ALF, or the third syntax element indicates whether the fixed filter in the ALF is enabled, or the syntax element is transmitted via signaling in a Sequence Parameter Set (SPS), Picture Parameter Set (PPS), Picture Header, Strip Header, Adaptive Parameter Set (APS), Codec Tree Unit (CTU), or Codec Unit (CU).
[0299] 19. The method according to any one of solutions 1-18, wherein the method is used in post-processing or pre-processing.
[0300] 20. The method according to any one of solutions 1-19, wherein the methods are used in combination or individually.
[0301] 21. The method according to any one of solutions 1-20, wherein a predefined filter is used for ALF classification in any loop filtering tool, preprocessing or postprocessing filtering method applied to the video codec, the video codec including ALF, CCALF, BF, SAO, CCSAO or any other filtering method, or a mapping value of a prediction mode is applied to the loop filter, or a mapping value of a prediction mode is applied to ALF, CCALF, any other loop filter, preprocessing filter or postprocessing filter.
[0302] 22. The method according to any one of solutions 1-21, wherein the predefined filter for ALF classification is applied to a video unit, and the video unit is a sequence, picture, sub-picture, strip, slice, CTU, CTU line, CTU group, CU, prediction unit (PU), transform unit (TU), codec tree block (CTB), codec block (CB), prediction block (PB), transform block (TB), or any other region containing more than one luminance or chrominance sample or pixel.
[0303] 23. The method according to any one of solutions 1-22, wherein the use of the method is transmitted via signal in the bit stream.
[0304] 24. The method according to any one of solutions 1-23, wherein the use of the method is transmitted via signaling at the sequence level, picture group level, picture level, strip level, or slice group level, the use of the method including in the sequence header, picture header, sequence parameter set (SPS), video parameter set (VPS), decoding parameter set (DPS), decoding capability information (DCI), picture parameter set (PPS), adaptive parameter set (APS), strip header, or slice group header; or at the prediction block (PB), transform block (TB), codec block (CB), prediction unit (PU), transform unit (TU), codec unit (CU), virtual pipeline decoding unit (VPDU), codec tree unit (CTU), CTU row, strip, slice, sub-picture, or other region containing more than one sample or pixel.
[0305] 25. The method according to any one of solutions 1-24, wherein the application of the method depends on encoded / decoded information, the encoded / decoded information including block size, color format, single-tree segmentation, dual-tree segmentation, color components, stripe type, or picture type.
[0306] 26. The method according to any one of solutions 1-25, wherein the syntax elements are: binarized as flags, fixed-length codes, exponential Golomb codes, unary codes, rounded unary codes or rounded binary codes, signed or unsigned, encoded or decoded using a context model, encoded or decoded by bypass, conditionally transmitted by signaling, transmitted by signaling only when the corresponding function is applied, transmitted by signaling when the height or width of the block satisfies a condition, or a combination thereof.
[0307] 27. The method according to any one of solutions 1-26, wherein syntax elements are transmitted via signaling at the sequence level, picture group level, picture level, stripe level, or slice group level, in the sequence header, picture header, SPS, VPS, DPS, decoding capability information (DCI), PPS, APS, stripe header, or slice group header.
[0308] 28. The method according to any one of solutions 1-27, wherein the method is used in conjunction with affine, multiple transform selection (MTS), LFNST, Merge with motion vector difference (MMVD), matrix-based intra-prediction (MIP), ISP, cross-component linear model (CCLM), convolutional cross-component model (CCCM), symmetric motion vector difference (SMVD), bidirectional optical flow (BDOF), decoder-side motion vector refinement (DMVR), history-based motion vector prediction (HMVP), template matching, intra-block copying (IBC), or palette; or the method is excluded from use with affine, multiple transform selection (MTS), LFNST, Merge with motion vector difference (MMVD), matrix-based intra-prediction (MIP), ISP, cross-component linear model (CCLM), convolutional cross-component model (CCCM), symmetric motion vector difference (SMVD), bidirectional optical flow (BDOF), decoder-side motion vector refinement (DMVR), history-based motion vector prediction (HMVP), template matching, intra-block copying (IBC), or palette.
[0309] 29. The method according to any one of solutions 1-28, wherein the excluded tool is implicitly disabled without signaling, or the method is implicitly disabled without signaling when the excluded tool is used.
[0310] 30. The method according to any one of solutions 1-29, wherein the conversion includes encoding the visual media data into the bitstream.
[0311] 31. The method according to any one of solutions 1-29, wherein the conversion includes decoding the visual media data from the bitstream.
[0312] 32. An apparatus for processing video data, comprising a processor and a non-transitory memory having instructions thereon, wherein the instructions, when executed by the processor, cause the processor to perform the method according to any one of solutions 1-31.
[0313] 33. A non-transitory computer-readable medium comprising a computer program product for use by a video codec apparatus, wherein the computer program product includes computer-executable instructions stored on the non-transitory computer-readable medium, such that when the computer-executable instructions are executed by a processor, the video codec apparatus performs the method according to any one of solutions 1-31.
[0314] 34. A non-transitory computer-readable recording medium storing a bitstream of video generated by a method performed by a video processing apparatus, wherein the method includes: determining to apply a fixed filter in an adaptive loop filter (ALF); and generating the bitstream based on the determination.
[0315] 35. A method for storing a bitstream of video, comprising: determining to apply a fixed filter in an adaptive loop filter (ALF); generating the bitstream based on the determination; and storing the bitstream in a non-transitory computer-readable recording medium.
[0316] 36. A method, apparatus or system described in this disclosure.
[0317] In the described solution, the encoder conforms to the format rules by generating an encoded representation based on those rules. In the described solution, the decoder parses the syntax elements in the encoded representation using known information about their presence or absence, based on the format rules, to generate the decoded video.
[0318] In this disclosure, the term "video processing" can refer to video encoding, video decoding, video compression, or video decompression. For example, a video compression algorithm can be applied during the conversion from a pixel representation of a video to a corresponding bitstream representation, and vice versa. For example, the bitstream representation of the current video block can correspond to bits at co-positions or propagated at different positions in the bitstream defined by the syntax. For example, a macroblock can be encoded based on the error residual value after transformation and encoding / decoding, and also using bits from the header and other fields in the bitstream. Furthermore, during the conversion, the decoder can, based on this determination, parse the bitstream knowing whether certain fields may or may not be present, as described in the solutions above. Similarly, the encoder can determine whether to include or exclude specific syntax fields and generate encoded / decoded representations accordingly by including or excluding syntax fields from the encoded / decoded representation.
[0319] The disclosed and other solutions, examples, embodiments, modules, and functional operations described herein can be implemented in digital electronic circuits, or in computer software, firmware, or hardware, including the structures disclosed herein and their structural equivalents, or in combinations thereof. The disclosed embodiments and other embodiments can be implemented as one or more computer program products, i.e., one or more computer program instruction modules encoded on a computer-readable medium for execution by or control of the operation of a data processing apparatus. The computer-readable medium can be a machine-readable storage device, a machine-readable storage substrate, a storage device, a material composition affecting machine-readable propagation signals, or a combination thereof. The term "data processing apparatus" includes all means, devices, and machines for processing data, including, for example, a programmable processor, a computer, or multiple processors or computers. In addition to hardware, the apparatus may also include code that creates an execution environment for an associated computer program, for example, code constituting processor firmware, a protocol stack, a database management system, an operating system, or a combination thereof. Propagation signals are artificially generated signals, such as machine-generated electrical, optical, or electromagnetic signals, which are generated to encode information for transmission to a suitable receiver device.
[0320] Computer programs (also known as programs, software, software applications, scripts, or code) can be written in any programming language, including compiled or interpreted languages, and can be deployed in any form, including standalone programs or modules, components, subroutines, or other units suitable for use in a computing environment. A computer program does not necessarily correspond to a file in a file system. A program can be stored in a portion of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document), in a single file dedicated to the related program, or in multiple co-located files (e.g., a file storing one or more modules, subroutines, or code portions). A computer program can be deployed to execute on one computer or on multiple computers located at a single site or distributed across multiple sites and interconnected by a communications network.
[0321] The processing and logic flows described in this disclosure can be executed by one or more programmable processors that execute one or more computer programs to perform functions by manipulating input data and generating outputs. The processing and logic flows can also be executed by special-purpose logic circuitry, and the apparatus can be implemented as special-purpose logic circuitry, such as field-programmable gate arrays (FPGAs) or application-specific integrated circuits (ASICs).
[0322] Processors suitable for executing computer programs include, for example, general-purpose and special-purpose microprocessors, and any one or more processors in any type of digital computer. Typically, the processor receives instructions and data from read-only memory or random access memory, or both. The basic components of a computer are a processor that executes instructions and one or more storage devices that store the instructions and data. Typically, a computer will also include one or more mass storage devices for storing data, such as magnetic disks, magneto-optical disks, or optical disks. However, a computer does not necessarily have such devices. Computer-readable media suitable for storing computer program instructions and data include all forms of non-volatile memory, media, and storage devices, including, for example, semiconductor storage devices such as erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), and flash memory devices; magnetic disks, such as internal hard disks or removable hard disks; magneto-optical disks; and compact disc read-only memory (CD-ROM) and digital versatile disc read-only memory (DVD-ROM). The processor and memory may be supplemented by dedicated logic circuitry or incorporated into dedicated logic circuitry.
[0323] While this disclosure contains numerous details, these details should not be construed as limiting any subject matter or the scope of the claims, but rather as descriptions of features specific to particular embodiments of this disclosure. Certain features described in the context of individual embodiments in this disclosure may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented separately in multiple embodiments, or in any suitable sub-combination. Furthermore, although features may function in certain combinations as described above, and even were originally claimed in this manner, in some cases one or more features in a claimed combination may be removed from that combination, and the claimed combination may be for sub-combinations or variations thereof.
[0324] Similarly, although operations are depicted in a specific order in the accompanying drawings, this should not be construed as requiring such operations to be performed sequentially in the particular order or sequence shown, or requiring all shown operations to be performed in order to achieve the desired result. Furthermore, the partitioning of various system components in the embodiments described in this disclosure should not be construed as requiring such partitioning in all embodiments.
[0325] Only a few implementations and examples are described, and other implementations, improvements and variations may be made based on what is described and shown in this disclosure.
[0326] When there are no intermediate components other than the line, trace, or other medium between the first and second components, the first component is directly coupled to the second component. When there are intermediate components other than the line, trace, or other medium between the first and second components, the first component is indirectly coupled to the second component. The term "coupled" and its variations include both direct and indirect coupling. The use of the term "about" means including a range of ±10% of the following figures, unless otherwise specified.
[0327] While several embodiments are provided in this disclosure, it should be understood that the disclosed systems and methods may be embodied in many other specific forms without departing from the spirit or scope of this disclosure. The present examples are to be considered illustrative rather than restrictive and are not intended to be limited to the details given herein. For example, various elements or components may be combined or integrated into another system, or certain features may be omitted or not implemented.
[0328] Furthermore, the technologies, systems, subsystems, and methods described and illustrated as discrete or separate in the various embodiments can be combined or integrated with other systems, modules, technologies, or methods without departing from the scope of this disclosure. Other items shown or discussed as couplings can be directly connected or indirectly coupled or communicated through some interface, device, or intermediate component (whether electrically, mechanically, or otherwise). Other examples of variations, substitutions, and modifications will be apparent to those skilled in the art and can be made without departing from the spirit and scope of this disclosure.
Claims
1. A method for processing video data, comprising: Determine whether to apply a fixed filter in the adaptive loop filter (ALF); as well as The conversion between visual media data and bitstream is performed based on the ALF.
2. The method as described in claim 1, wherein, The fixed filter in the ALF is applied to the samples before the deblocking filter (DBF), before the bilateral filter (BF), before the sample adaptive compensation (SAO), or before the cross-component SAO (CCSAO).
3. The method as described in claim 1 or 2, wherein, The fixed filter in the ALF is applied to samples before the ALF, before the cross-component ALF (CCALF), for intra-frame codec blocks, for inter-frame codec blocks, before any other codec stage, or a combination thereof.
4. The method according to any one of claims 1-3, wherein, The fixed filter in the ALF is applied only to the luminance component, or to both the luminance and chrominance components.
5. The method according to any one of claims 1-3, wherein, The fixed filter in the ALF is applied only to the chromaticity component.
6. The method according to any one of claims 1-5, wherein, The input of the fixed filter in the ALF includes at least one of the following: reconstructed samples before DBF, reconstructed samples before BF, reconstructed samples before SAO, and reconstructed samples before CCSAO.
7. The method according to any one of claims 1-6, wherein, The input to the fixed filter in the ALF includes at least one of the following: reconstructed samples before ALF, reconstructed samples before CCALF, residual samples, predicted samples, and filtered samples generated by a predefined filter.
8. The method according to any one of claims 1-7, wherein, The predefined filter is a Gaussian filter, a bilateral filter, a low-pass filter, a high-pass filter, or a fixed filter with different filter settings.
9. The method according to any one of claims 1-8, wherein, The input of the fixed filter in the ALF is the same as the input of the ALF.
10. The method according to any one of claims 1-9, wherein, The fixed filter in the ALF includes a diamond or cross shape.
11. The method according to any one of claims 1-10, wherein, The fixed filter in the ALF includes a square, a symmetrical shape, an asymmetrical shape, a shape that does not change based on the input, a shape that is the same as the shape used during the ALF, a shape that is different from the shape used during the ALF, or a combination of the above.
12. The method according to any one of claims 1-11, wherein, The fixed filter in the ALF includes a shape that varies based on the input.
13. The method according to any one of claims 1-12, wherein, The filter size of the fixed filter in the ALF varies based on different settings.
14. The method according to any one of claims 1-13, wherein, The filter size is set to N, or the filter size used for different inputs is different.
15. The method according to any one of claims 1-14, wherein, The filter size used for different inputs is the same, the filter size is different from the filter size used during ALF, or the filter size is the same as the filter size used during ALF.
16. The method according to any one of claims 1-15, wherein, The classification of the fixed filters in the ALF is based on gradient classification.
17. The method according to any one of claims 1-16, wherein, The classification of the fixed filter in the ALF is achieved through: band-based classification, residual-based classification, square classification unit shape, rhombus classification unit shape, sample classification unit shape, N-sized classification unit, square classification window, rhombus classification window, sample classification window, or N-sized classification window.
18. The method according to any one of claims 1-17, wherein, The classification of the fixed filter in the ALF is the same as the classification used during the ALF, or the classification of the fixed filter in the ALF is different from the classification used during the ALF.
19. The method according to any one of claims 1-18, wherein, The input is padded before the fixed filter is applied in the ALF.
20. The method according to any one of claims 1-19, wherein, The filling includes mirror filling or virtual boundary filling.
21. The method according to any one of claims 1-20, wherein, The padding includes extended padding, picture or sub-picture boundary padding, strip or slice boundary padding, codec tree unit (CTU) or codec tree block (CTB) boundary padding, codec unit (CU), transform unit (TU) or prediction unit (PU) boundary padding, block boundary padding or unit boundary padding.
22. The method according to any one of claims 1-21, wherein, The offset generated by the fixed filter in the ALF is modified before being added to the filtered samples.
23. The method according to any one of claims 1-11, wherein, The offset is limited or scaled.
24. The method according to any one of claims 1-23, wherein, The offset is mapped via a lookup table, converted to an absolute value, or mapped according to s' = f(s), where s is the offset and s' is the modified offset, or the offset is mapped via f(s) = sign(s). (|s| -p) is modified, where p is an integer, and if s>0, then sign(s) = 1, if s<0, then sign(s) = -1, and if s=0, then sign(s) = 0.
25. The method according to any one of claims 1-24, wherein, The fixed filter in the ALF is applied during the prediction period of the encoder and decoder, or only during the prediction period of the encoder.
26. The method according to any one of claims 1-14, wherein, The luminance input of the fixed filter in the ALF is used to filter the chrominance samples, or the luminance input of the fixed filter in the ALF is used to filter both luminance and chrominance samples, or the luminance output from the fixed filter in the ALF is used to filter the chrominance samples, or the luminance output from the fixed filter in the ALF is used to filter both luminance and chrominance samples.
27. The method according to any one of claims 1-26, wherein, Enable nonlinear limiting for the fixed filter in the ALF, or disable nonlinear limiting for the fixed filter in the ALF.
28. The method according to any one of claims 1-27, wherein, The fixed filters in the ALF are enabled or disabled at different levels, or a fixed filter set is selected from multiple fixed filter sets at different levels, and the first syntax element is transmitted in the bitstream by signaling to indicate whether the fixed filter is enabled or which fixed filter set is selected.
29. The method according to any one of claims 1-28, wherein, The first syntax element is encoded or decoded using arithmetic encoding / decoding, or Wherein the first syntax element is encoded or decoded using at least one context, or The context mentioned therein depends on the encoding / decoding information of the current block or neighboring blocks, or The context mentioned therein depends on the fixed filter on / off decision of at least one neighboring block, or Wherein the first syntax element is encoded or decoded using bypass encoding / decoding, or The first syntax element is binarized using unary code, rounded unary code, fixed-length code, exponential Golomb code, or rounded exponential Golomb code, or... Wherein the first syntax element is conditionally transmitted via signal, or The first syntax element is transmitted via signal only when the fixed filter in the ALF is available, or Wherein the first syntax element is encoded and decoded in a predictive manner, or The first syntax element is transmitted independently via signal for different color components, or The first syntax element is transmitted and shared via signal for different color components, or Wherein the first syntax element is transmitted via signal for the first color component but not for the second color component, or The syntax elements are transmitted via signals to indicate how to apply the fixed filters in the ALF, or The second syntax element indicates the number of fixed filters in the ALF, or The third syntax element indicates whether the fixed filter in the ALF is enabled.
30. The method according to any one of claims 1-29, wherein, The syntax elements are transmitted via signaling in a Sequence Parameter Set (SPS), Picture Parameter Set (PPS), Picture Header, Strip Header, Adaptive Parameter Set (APS), Code-to-Code Tree Unit (CTU), or Code-to-Code Unit (CU).
31. The method according to any one of claims 1-30, wherein, The method is used in post-processing or pre-processing.
32. The method according to any one of claims 1-31, wherein, The use of predefined filters for ALF classification is applied to any loop filtering tool, preprocessing filtering method, or postprocessing filtering method in video encoding / decoding, including ALF, CCALF, BF, SAO, CCSAO, or another filtering method, or the use of the predefined filters is applied to loop filters, or the use of the predefined filters is applied to ALF, CCALF, another loop filter, preprocessing filter, or postprocessing filter.
33. The method according to any one of claims 1-32, wherein, The predefined filter used for ALF classification is applied to a video unit, and the video unit is a sequence, picture, sub-picture, strip, slice, CTU, CTU line, CTU group, CU, prediction unit (PU), transform unit (TU), codec tree block (CTB), codec block (CB), prediction block (PB), transform block (TB), or any other region containing more than one luminance or chrominance sample or pixel.
34. The method according to any one of claims 1-33, wherein, The method is used by transmitting signals in the bit stream.
35. The method according to any one of claims 1-34, wherein, The use of the method is transmitted via signaling at the sequence level, picture group level, picture level, strip level, or slice group level, including in the sequence header, picture header, sequence parameter set (SPS), video parameter set (VPS), decoding parameter set (DPS), decoding capability information (DCI), picture parameter set (PPS), adaptive parameter set (APS), strip header, or slice group header; or at the prediction block (PB), transform block (TB), codec block (CB), prediction unit (PU), transform unit (TU), codec unit (CU), virtual pipeline decoding unit (VPDU), codec tree unit (CTU), CTU row, strip, slice, sub-picture, or other area containing more than one sample or pixel.
36. The method according to any one of claims 1-35, wherein, The application of the method depends on the encoded and decoded information, which includes block size, color format, single-tree segmentation, double-tree segmentation, color components, stripe type, or image type.
37. The method according to any one of claims 1-36, wherein, One or more of the syntax elements are: binarized into a flag, a fixed-length code, an exponential Golomb code, a unary code, a rounded unary code, or a rounded binary code; signed or unsigned; encoded or decoded using a context model; encoded or decoded by bypass; conditionally transmitted via signaling; transmitted via signaling only when the corresponding function is applied; transmitted via signaling when the height or width of the block meets a condition; or a combination of the above.
38. The method according to any one of claims 1-37, wherein, One or more syntax elements are transmitted via signaling at the block level, sequence level, picture group level, picture level, stripe level, or slice group level, in the sequence header, picture header, SPS, VPS, DPS, decoding capability information (DCI), PPS, APS, stripe header, or slice group header.
39. The method according to any one of claims 1-38, wherein, The method can be used in conjunction with affine transformation, multiple transform selection (MTS), low-frequency inseparable transform (LFNST), Merge with motion vector difference (MMVD), matrix-based intra-prediction (MIP), intra-sub-segmentation (ISP), cross-component linear model (CCLM), convolutional cross-component model (CCCM), symmetric motion vector difference (SMVD), bidirectional optical flow (BDOF), decoder-side motion vector refinement (DMVR), history-based motion vector prediction (HMVP), template matching, intra-block copy (IBC), or palette. Alternatively, the method may be excluded from the use of affine, multiple transform selection (MTS), low-frequency inseparable transform (LFNST), Merge with motion vector difference (MMVD), matrix-based intra-frame prediction (MIP), intra-frame sub-segmentation (ISP), cross-component linear model (CCLM), convolutional cross-component model (CCCM), symmetric motion vector difference (SMVD), bidirectional optical flow (BDOF), decoder-side motion vector refinement (DMVR), history-based motion vector prediction (HMVP), template matching, intra-block copy (IBC), or palette.
40. The method according to any one of claims 1-39, wherein, Excluded tools are implicitly disabled without signaling, or when an excluded tool is used, the method is implicitly disabled without signaling.
41. The method according to any one of claims 1-40, wherein, The conversion includes encoding the visual media data into the bitstream.
42. The method according to any one of claims 1-40, wherein, The conversion includes decoding the visual media data from the bitstream.
43. An apparatus for processing video data, comprising a processor and a non-transitory memory having instructions thereon, wherein, When executed by the processor, the instructions cause the processor to perform the method according to any one of claims 1-42.
44. A non-transitory computer-readable medium comprising a computer program product for use with a video encoding / decoding device, wherein, The computer program product includes computer-executable instructions stored on the non-transitory computer-readable medium, such that when the computer-executable instructions are executed by a processor, the video codec device performs the method according to any one of claims 1-42.
45. A non-transitory computer-readable recording medium storing a bitstream of video generated by a method performed by a video processing apparatus, wherein, The method includes: Determine whether to apply a fixed filter in an adaptive loop filter (ALF); and The bit stream is generated based on the determination.
46. A method for storing a video bitstream, comprising: Determine whether to apply a fixed filter in the adaptive loop filter (ALF); The bit stream is generated based on the determination; as well as The bit stream is stored in a non-transitory computer-readable recording medium.
