Sample Decisions for Adaptive Loop Filtering

Adaptive loop filtering techniques address inefficiencies in handling virtual boundaries in video coding standards by using unified methods for sample management across different boundaries, improving compression efficiency and simplifying hardware implementation.

JP7549082B2Active Publication Date: 2024-09-10DOUYIN VISION CO LTD +1
View PDF 0 Cites 5 Cited by

Patent Information

Application Number
JP2023090587
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-07-09
Filing Date
2023-06-01
Publication Date
2024-09-10
Estimated Expiration
2040-07-09

AI Technical Summary

Technical Problem

Current video coding standards face inefficiencies in handling virtual boundaries of coding tree blocks, leading to increased memory requirements and potential pipeline bubbles during in-loop filtering processes, particularly in versatile video coding (VVC) and 360-degree video coding.

Method used

Implement adaptive loop filtering (ALF) techniques that utilize virtual boundaries by applying unified methods for different types of boundaries, such as double-sided padding and modified ALF processes, to manage sample usage across these boundaries efficiently, reducing the need for extensive line buffers and minimizing pipeline delays.

Benefits of technology

Enhances compression efficiency and simplifies hardware implementation by optimizing memory usage and processing speed in video coding, particularly for VVC and 360-degree video formats, while maintaining video quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007549082000072
    Figure 0007549082000072
  • Figure 0007549082000073
    Figure 0007549082000073
  • Figure 0007549082000074
    Figure 0007549082000074
Patent Text Reader

Abstract

To provide a method of video processing.SOLUTION: A method of video processing includes determining a classification of samples of a block in a video picture of a video according to a rule. The video picture is divided into multiple regions, and the rule disallows use of neighboring samples of a current sample across one or more boundaries of the multiple regions for the classification. The one or more boundaries of the multiple regions comprise a virtual boundary for an adaptive loop filtering (ALF) process. The method also includes a step of performing conversion between the block and a bitstream representation of the video by selectively applying the ALF process according to the classification.SELECTED DRAWING: Figure 29
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] This patent document is generally directed to video coding and decoding techniques.

[0002] CROSS-REFERENCE TO RELATED APPLICATIONS This application is based on International Patent Application No. PCT / CN2020 / 100962, filed on July 9, 2020, which claims priority to and the benefit of International Patent Application No. PCT / CN2019 / 095330, filed on July 9, 2019, and is based on Japanese Patent Application No. 2022-500804, filed on January 7, 2022. All of the above patent applications are incorporated herein by reference in their entirety. [Background technology]

[0003] Video coding standards have evolved primarily through the development of well-known ITU-T and ISO / IEC standards. ITU-T created H.261 and H.263, ISO / IEC created MPEG-1 and MPEG-4 Visual, and the two organizations jointly created H.262 / MPEG-2 Video, H.264 / MPEG-4 Advanced Video Coding (AVC), and H.265 / High Efficiency Video Coding (HEVC) standards. Starting with H.262, video coding standards are based on a hybrid video coding structure in which temporal prediction and transform coding are utilized. To explore future video coding technologies beyond HEVC, VCEG and MPEG jointly established the Joint Video Exploration Team (JVET) in 2015. Since then, many new methods have been adopted by JVET and put into reference software named JEM (Joint Exploration Model). In April 2018, the JVET between VCEG (Q6 / 16) and ISO / IEC JTC1 SC29 / WG11 (MPEG) was created to work on the next generation Versatile Video Coding (VVC) standard, which aims to achieve a 50% bitrate reduction compared to HEVC. Summary of the Invention

[0004] Using the disclosed video coding, transcoding, or decoding techniques, embodiments of a video encoder or decoder can handle virtual boundaries of coding tree blocks to provide better compression efficiency and simpler implementation of coding or decoding tools.

[0005] As an example, a method of video processing is disclosed. The method includes determining a classification of samples of a block in a video picture of a video according to a rule. The video picture is divided into a plurality of regions. The rule prohibits the use of neighboring samples of a current sample that cross one or more boundaries of the plurality of regions for classification. The one or more boundaries of the plurality of regions constitute virtual boundaries for an adaptive loop filtering (ALF) process. The method also includes performing a conversion between the block and a bitstream representation of the video by selectively applying an adaptive loop filter according to the classification.

[0006] In another example, a method of video processing is disclosed that includes performing a conversion between a video block of a video picture and a bitstream representation thereof, where the video block is processed using logical groupings of coding tree blocks, and the coding tree blocks are processed based on whether a bottom boundary of a bottom coding tree block is outside a bottom boundary of the video picture.

[0007] In another example, another video processing method is disclosed that includes determining a usage state of a virtual sample during in-loop filtering based on a condition of a coding tree block of a current video block, and performing a conversion between the video block that is consistent with the usage state of the virtual sample and a bitstream representation of the video block.

[0008] In yet another example, another video processing method is disclosed that includes, during a conversion between a video picture logically grouped into one or more video slices or video bricks and a bitstream representation of the video picture, determining to disable use of samples in another slice or brick in an adaptive loop filter process, and performing a conversion consistent with the determination.

[0009] In yet another example, another video processing method is disclosed that includes determining, during a conversion between a current video block of a video picture and a bitstream representation of the current video block, that the current video block includes samples that are located on a boundary of a video unit of the video picture, and performing a conversion based on the determination, the performing the conversion including generating virtual samples for an in-loop filtering process using a unified method that is identical for all boundary types of the video picture.

[0010] In yet another example, another method of video processing is disclosed that includes determining, during conversion between a current video block of a video picture and a bitstream representation thereof, to apply one of a plurality of adaptive loop filter sample selection methods available to the video picture being converted, and performing the conversion by applying one of a plurality of ALF sample selection methods.

[0011] In yet another example, another method of video processing is disclosed that includes performing an in-loop filtering operation on samples of a current video block of a video picture during a conversion between the current video block and a bitstream representation of the current video block based on a boundary rule that disables using samples across a virtual pipeline data unit (VPDU) of the video picture and performs the conversion using results of the in-loop filtering operation.

[0012] In yet another example, another method of video processing is disclosed that includes performing an in-loop filtering operation on samples of a current video block of a video picture during a conversion between the current video block and a bitstream representation of the current video block based on a boundary rule, the boundary rule specifying that for positions of the current video block that cross a video unit boundary, the conversion is performed using samples generated without using padding and using results of the in-loop filtering operation.

[0013] In yet another example, another method of video processing is disclosed that includes performing an in-loop filtering operation on samples of a current video block of a video picture during a conversion between the current video block and a bitstream representation of the current video block based on a boundary rule that specifies selecting, for the in-loop filtering operation, a filter having dimensions such that samples of the current video block used during the in-loop filtering do not exceed a boundary of a video unit of the video picture, and performing the conversion using a result of the in-loop filtering operation.

[0014] In yet another example, another method of video processing is disclosed that includes performing an in-loop filtering operation on samples of a current video block of a video picture during a conversion between the current video block and a bitstream representation of the current video block based on a boundary rule, the boundary rule specifying for the in-loop filtering operation selecting clipping parameters or filter coefficients based on whether padded samples are needed for the in-loop filtering, and performing the conversion using results of the in-loop filtering operation.

[0015] In yet another example, another method of video processing is disclosed. The method includes performing an in-loop filtering operation on samples of a current video block of a video picture during conversion between the current video block and a bitstream representation of the current video block based on a boundary rule, the boundary rule depending on color component identification of the current video block and using the result of the in-loop filtering operation to perform the conversion.

[0016] In yet another example, a video encoding apparatus configured to perform the above-described method is disclosed.

[0017] In yet another example, a video decoder configured to perform the above-described method is disclosed.

[0018] In yet another example, a machine-readable medium is disclosed. The medium stores code that, when executed, causes a processor to perform one or more of the above-described methods.

[0019] The above aspects and features of the disclosed technology are described in more detail by the drawings, the specification, and the claims.

Brief Description of the Drawings

[0020] [Figure 1] FIG. 1 shows an example of a picture having an 18×12 luma coding tree unit (CTU) divided into 12 tiles and 3 raster scan slices. [Diagram 2] FIG. 2 shows an example of a picture having an 18×12 luma CTU divided into 24 tiles and 9 rectangular slices. [Diagram 3] FIG. 3 shows an example of a picture divided into 4 tiles, 11 bricks, and 4 rectangular slices. [Figure 4A] FIG. 4A shows an example of a coding tree block where a CTB crosses the boundary of a picture when K = M and L < N. [Figure 4B] Figure 4B shows an example of a coding tree block where CTB crosses the picture boundary when K < M and L = N. [Figure 4C] Figure 4C shows an example of a coding tree block where CTB crosses the picture boundary when K < M and L < N. [Diagram 5] Figure 5 shows an example of an encoder block diagram. [Figure 6] Figure 6 is an explanatory diagram of picture samples on an 8×8 grid, horizontal and vertical block boundaries, and non-overlapping blocks of 8×8 samples, which can be deblocked in parallel. [Figure 7] Figure 7 shows an example of pixels involved in filter on / off decision and strong / weak filter selection. [Figure 8] Figure 8 shows four one-dimensional direction patterns. [Figure 9] Figure 9 shows examples of geometric adaptive loop filtering (GALF) filter shapes (left: 5×5 diamond, center: 7×7 diamond, right: 9×9 diamond). [Figure 10] Figure 10 shows the relative coordinates of a 5×5 diamond filter support. [Figure 11] Figure 11 shows an example of the relative coordinates of a 5×5 diamond filter support. [Figure 12A] Figure 12A shows an exemplary arrangement for subsampled Laplacian calculation. [Figure 12B] Figure 12B shows another exemplary arrangement for subsampled Laplacian calculation. [Figure 12C] Figure 12C shows another exemplary arrangement for subsampled Laplacian calculation. [Figure 12D] Figure 12D shows yet another exemplary arrangement for subsampled Laplacian calculation. [Figure 13]FIG. 13 shows an example of the loop filter line buffer requirements in VTM-4.0 for the luma component. [Figure 14] FIG. 14 shows an example of the loop filter line buffer requirements in VTM-4.0 for the chroma components. [Figure 15A] FIG. 15A shows an example of ALF block classification at a hypothetical boundary for N=4. [Figure 15B] FIG. 15B shows another example of ALF block classification at the hypothetical boundary for N=4. [Figure 16A] FIG. 16A shows an example of modified luma ALF filtering at the virtual boundary. [Figure 16B] FIG. 16B shows another example of modified luma ALF filtering at the virtual boundary. [Figure 16C] FIG. 16C shows yet another example of modified luma ALF filtering at the virtual boundary. [Figure 17A] FIG. 17A shows an example of modified chroma ALF filtering at the virtual boundary. [Figure 17B] FIG. 17B shows another example of modified chroma ALF filtering at the virtual boundary. [Figure 18A] FIG. 18A shows an example of a horizontal wraparound of motion compensation. [Figure 18B] FIG. 18B shows another example of a horizontal wraparound of motion compensation. [Figure 19] FIG. 19 shows an example of a modified adaptive loop filter. [Figure 20] FIG. 20 shows an example of processing a CTU in a video picture. [Figure 21] FIG. 21 shows an example of a modified adaptive loop filter boundary. [Figure 22] FIG. 22 is a block diagram of an example of a video processing device. [Figure 23] FIG. 23 is a flow chart for an exemplary method of video processing. [Figure 24] FIG. 24 shows an example of a picture with HEC in a 3×2 layout. [Diagram 25] FIG. 25 shows an example of the number of padded lines for two types of boundary samples. [Figure 26] FIG. 26 shows an example of processing of CTUs within a picture. [Figure 27] FIG. 27 shows another example of processing a CTU within a picture. [Figure 28] FIG. 28 is a block diagram of an example video processing system in which the disclosed techniques can be implemented. [Figure 29] FIG. 29 is a flow chart representation of a video processing method in accordance with the present technique. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0021] Section headings are used in this document for ease of understanding and are not intended to limit the embodiments disclosed in a section to only that section. Additionally, while certain embodiments are described with reference to versatile video coding or other specific video codecs, the disclosed techniques are applicable to other video coding techniques. Additionally, while some embodiments describe video coding steps in detail, it will be understood that a corresponding decoding step that undoes the coding is implemented by a decoder. Additionally, the term video processing encompasses video coding or compression, video decoding or decompression, and video transcoding, where video pixels are represented from one compressed format to another compressed format or at another compressed bit rate.

[0022] 1. Overview

[0023] This document relates to video coding techniques, specifically picture / slice / tile / brick boundary and virtual boundary coding, especially for non-linear adaptive loop filters. It may be applied to existing video coding standards such as HEVC, or to standards to be finalized (Versatile Video Coding). It may also be applicable to future video coding standards or video codecs.

[0024] 2. First explanation

[0025] Video coding standards have evolved primarily through the development of well-known ITU-T and ISO / IEC standards. ITU-T created H.261 and H.263, ISO / IEC created MPEG-1 and MPEG-4 Visual, and the two organizations jointly created H.262 / MPEG-2 Video, H.264 / MPEG-4 Advanced Video Coding (AVC), and H.265 / High Efficiency Video Coding (HEVC) standards. Starting with H.262, video coding standards are based on a hybrid video coding structure in which temporal prediction and transform coding are utilized. To explore future video coding technologies beyond HEVC, VCEG and MPEG jointly established the Joint Video Exploration Team (JVET) in 2015. Since then, many new methods have been adopted by JVET and put into reference software named JEM (Joint Exploration Model). In April 2018, the JVET between VCEG (Q6 / 16) and ISO / IEC JTC1 SC29 / WG11 (MPEG) was created and is working on a VVC standard with the goal of reducing the bitrate by 50% compared to HEVC.

[0026] 2.1 Color Space and Chroma Subsampling

[0027] A color space, also known as a color model (or color system), is simply an abstract mathematical model that describes a range of colors simply as a tuple of numbers, typically 3 or 4 values ​​or color components (e.g., RGB). Essentially, a color space is an elaboration of a coordinate system and a subspace.

[0028] The most frequently used color spaces in video compression are YCbCr and RGB.

[0029] YCbCr, Y'CbCr, or Y Pb / Cb Pr / Cr, also written as YCBCR or Y'CBCR, is a family of color spaces used as part of the color picture pipeline in video and digital photography systems. Y' is the luma component, and CB and CR are the blue-difference and red-difference chroma components. Y' (primed) is distinguished from Y, which is luminance, meaning that the light intensity is nonlinearly encoded based on gamma corrected RGB primaries.

[0030] Chroma subsampling is the practice of encoding images by implementing a lower resolution for the chroma information than for the luma information, taking advantage of the human visual system's poorer acuity for color differences than for luminance.

[0031] 2.1.1 Color format 4:4:4

[0032] Each of the three Y'CbCr components has the same sample rate, so there is no chroma subsampling. This scheme is sometimes used in high-end film scanners and in cinema post-production.

[0033] 2.1.2 Color format 4:2:2

[0034] The two chroma components are sampled at half the luma sample rate, and the horizontal chroma resolution is halved, which reduces the bandwidth of the uncompressed video signal by a factor of three with little or no visible difference.

[0035] 2.1.3 Color format 4:2:0

[0036] In 4:2:0, the horizontal sampling is doubled compared to 4:1:1, but the vertical resolution is halved, since the Cb and Cr channels are only sampled at each alternate line in this scheme. Thus, the data rate is the same. Cb and Cr are subsampled by twice as much horizontally and vertically, respectively. There are three variations of the 4:2:0 scheme, with different horizontal and vertical positions.

[0037] In MPEG-2, Cb and Cr are cosited horizontally. Cb and Cr are interstitially spaced between pixels vertically.

[0038] In JPEG / JFIF, H.261, and MPEG-1, Cb and Cr are located in the gaps between alternating luma samples.

[0039] In 4:2:0 DV, Cb and Cr are co-located horizontally. Vertically, they are co-located on alternating lines.

[0040] 2.2 Various video units

[0041] A picture is divided into one or more tile rows and one or more tile columns. A tile is a sequence of CTUs that covers a rectangular area of ​​the picture.

[0042] A tile is divided into one or more bricks, each of which consists of a number of CTU rows within the tile.

[0043] A tile that is not divided into multiple bricks is also called a brick, but a brick that is a true subset of a tile is not called a tile.

[0044] A slice contains a number of tiles of a picture, or a number of bricks of a tile.

[0045] Two modes of slicing are supported: raster-scan slice mode and rectangular slice mode. In raster-scan slice mode, a slice contains a sequence of tiles in the raster scan of a picture. In rectangular slice mode, a slice contains a number of bricks of a picture that together form a rectangular region of the picture. The bricks in a rectangular slice are in the order of the brick raster scan of the slice.

[0046] FIG. 1 shows an example of raster-scan slice partitioning of a picture, where the picture is divided into 12 tiles and 3 raster-scan slices.

[0047] FIG. 2 shows an example of rectangular slice division of a picture, dividing the picture into 24 tiles (6 tile rows and 4 tile columns) and 9 rectangular slices.

[0048] FIG. 3 shows an example of a picture divided into tiles, bricks, and rectangular slices: the picture is divided into 4 tiles (2 tile rows and 2 tile columns), 11 bricks (the top-left tile contains 1 brick, the top-right tile contains 5 bricks, the bottom-left tile contains 2 bricks, and the bottom-right tile contains 3 bricks), and 4 rectangular slices.

[0049] 2.2.1 CTU / CTB size

[0050]

Table 1

[0051] 2.2.2 Picture CTU

[0052] For a CTB / LCU size represented by M×N (typically, M is equal to N defined in HEVC / VVC), and for a CTB located at a picture (or tile, or slice, or other type, taking the picture boundary as an example) boundary, assume that the K×L samples are within a picture boundary where either K < M or L < N. These CTBs are as shown in FIGS. 4A to 4C, The size of the CTB is still equal to MxN, but the bottom / right borders of the CTB are outside the picture. 。

[0053] FIG. 4A shows a CTB crossing the bottom picture border. FIG. 4B shows a CTB crossing the right picture border. FIG. 4C shows a CTB crossing the right bottom picture border.

[0054] FIGS. 4A to 4C show examples of CTBs crossing picture boundaries of (a) K = M, L < N, (b) K < M, L = N, and (c) K < M, L < N.

[0055] 2.3 Typical video codec coding flow

[0056] FIG. 5 shows an example of an encoder block diagram for VVC, including three in-loop filtering blocks: Deblocking Filter (DF), Sample Adaptive Offset (SAO), and ALF. Unlike DF, which uses a predefined filter, SAO and ALF use the original samples of the current picture to reduce the mean square error between the original samples and the reconstructed samples by adding an offset and applying a Finite Impulse Response (FIR) filter, respectively, and have coded side information signaling the offset and filter coefficients. The ALF is placed at the final processing stage of each picture and can be considered as a tool that tries to capture and fix the artifacts generated in the previous stage.

[0057] 2.4 Deblocking Filter (DB)

[0058] The input of the DB is the reconstructed samples before the in-loop filter.

[0059] The vertical edges of the picture are filtered first. Then the horizontal edges of the picture are filtered using the samples modified by the vertical edge filtering process as input. The vertical and horizontal edges of the CTB of each CTU are processed separately on a coding unit basis. The vertical edges of the coding blocks in a coding unit are filtered starting from the left edge of the coding block and proceeding through the edges towards the right side of the coding block in geometric order. The horizontal edges of the coding blocks in a coding unit start from the top edge of the coding block proceeding through the edges of the coding block towards the bottom of the coding block in geometric order.

[0060] FIG. 6 is an illustration of picture samples on an 8×8 grid, with horizontal and vertical block boundaries and nonoverlapping blocks of 8×8 samples, which can be deblocked in parallel.

[0061] 2.4.1. Determining boundaries

[0062] The filtering is applied on an 8x8 block boundary, which must be a transform block boundary or a coding sub-block boundary (e.g., due to the use of Affine motion prediction, ATMVP). If it is not such a boundary, the filter is disabled.

[0063] 2.4.2 Boundary strength calculation

[0064] For a transform block boundary / coding sub-block boundary, if it is located on an 8x8 grid, it may be filtered, and the setting of bS[xDi][yDj] (where [xDi][yDj] indicate the coordinates) for this edge is defined in Table 1 and Table 2, respectively. [Table 2] [Table 3]

[0065] 2.4.3 Deblocking Decision for the Luma Component

[0066] In this subsection, we describe the deblocking decision process.

[0067] FIG. 7 shows examples of pixels that are included in the filter on / off decision and strong / weak filter selection.

[0068] Only if all of conditions 1, 2, and 3 are true is the wider-stronger luma filter used.

[0069] Condition 1 is the “large block condition”. This condition detects whether the samples on the P-side and Q-side belong to a large block, represented by the variables bSidePisLargeBlk and bSideQisLargeBlk, respectively. bSidePisLargeBlk and bSideQisLargeBlk are defined as follows: [Table 4]

[0070] Based on bSidePisLargeBlk and bSideQisLargeBlk, Condition 1 is defined as follows: Condition 1 =(bSidePisLargeBlk|)||bSidePisLargeBlk)?TURE:FALSE

[0071] Then, if condition 1 is true, condition 2 is also checked. First, the following variables are derived: [Table 5]

[0072] Condition 2 =(d<β)?TURE:FALSE

[0073] Here, d = dp0 + dq0 + dp3 + dq3.

[0074] If conditions 1 and 2 are valid, a further check is made to see if any blocks use subblocks: [Table 6]

[0075] lastly, Condition 1 and Condition 2If both are valid, the proposed deblocking method checks condition 3 (large-block strong filter condition), which is defined as follows:

[0076] Condition 3 In StronFilterCondition, the following variables are derived: [Table 7]

[0077] Like HEVC, StrongFilterCondition=(dpq is less than (β>>2), sp3+sq3 is less than (3*β>>5), and Abs(p0-q0) is (5*tC+1)>>1)?TURE:FALSE

[0078] 2.4.4 Powerful deblocking filter for luma (designed for larger blocks)

[0079] A bilinear filter is used when samples on either side of a boundary belong to a large block, defined as samples with a width >= 32 for vertical edges and a height >= 32 for horizontal edges.

[0080] The bilinear filter is as follows:

[0081] Block boundary sample p, i=0 to Sp-1 i and block boundary samples q for j=0 to Sq-1 i (p i and q i is the i-th sample in a row for filtering vertical edges, or the i-th sample in a column for filtering horizontal edges in the HEVC deblocking described above) is replaced by the linear interpolation: [Table 8] Here, the term tcPD iand tcPD j is the position-dependent clipping described in section 2.4.7, and g i , f i , Middle s,t , P s , and Q s is given as follows:

[0082] 2.4.5 Deblocking Control over Chroma

[0083] A chroma strong filter is used on both sides of the block boundary, where the chroma filter is selected if both sides of the chroma edge are 8 or more (chroma positions), and the subsequent decision satisfies three conditions. The first condition is for boundary strength as well as large block decision. The proposed filter can be applied when the block width or height orthogonally across the block edge is 8 or more in the chroma sample domain. The second and third conditions are essentially the same as the HEVC luma deblocking decision, which are the on / off decision and the strong filter decision, respectively.

[0084] In the first decision, the boundary strength (bS) is modified for chroma filtering, and then the conditions are checked successively. If a condition is met, the remaining conditions with lower priority are skipped.

[0085] Chroma deblocking is performed if bS is equal to 2, or if a large block boundary is detected, if bS is equal to 1.

[0086] The second and third conditions are essentially the same as the HEVC luma strong filter decision:

[0087] In the second condition: d is then derived as in HEVC luma deblocking.

[0088] If d is less than β, the second condition is true.

[0089] For the third condition, the StrongFilterCondition is derived as follows: dpq is derived like in HEVC sp3=Abs(p3-p0), derived as in HEVC sq3=Abs(q0-q3), derived as in HEVC

[0090] As per HEVC design, StrongFilterCondition=(dpq is less than (β>>2), sp3+sq3 is less than (β>>3), and Abs(p0-q0) is less than (5*tC+1)>1).

[0091] 2.4.6 Powerful deblocking filter for chroma

[0092] The following strong deblocking filters are defined for chroma: [Table 9]

[0093] The proposed chroma filter performs deblocking on a 4x4 chroma sample grid.

[0094] 2.4.7 Position-Dependent Clipping

[0095] A position-dependent clipping tcPD is applied to the output samples of the luma filtering process, which includes a strong and long filter that modifies 7, 5 and 3 samples at the boundaries. Given the quantization error distribution, it is proposed to increase the clipping value for samples that are expected to have higher quantization noise and therefore higher deviations of the reconstructed sample values ​​from the true sample values.

[0096] For each P or Q boundary filtered with the asymmetric filter, depending on the outcome of the decision-making process in section 2.4.2, a position-dependent threshold value table is selected from two tables provided to the decoder as side information (e.g., Tc7 and Tc3 in the table below): [Table 10]

[0097] For P or Q boundaries that are filtered with short symmetric filters, a lower amplitude position-dependent threshold is applied: [Table 11]

[0098] The following defines the threshold and the filtered p' i and q' i Sample values ​​are clipped according to the tcP and tcQ clipping values: [Table 12]

[0099] Here, p' i andq' i is the filtered sample value, and p' i andq' j is the output sample value after clipping, and tcP i is the tc parameter of VVC and the clipping threshold derived from tcPD and tcQD. The function Clip3 is the clipping function specified by VVC.

[0100] 2.4.8 Sub-block deblocking adjustment

[0101] To allow for parallel friendly deblocking using both the long filter and sub-block deblocking, the long filter is limited to modifying at most five samples on the side that uses sub-block deblocking (AFFINE, ATMVP, DMVR) as shown in the luma control for the long filter. In addition, sub-block deblocking is adjusted such that sub-block boundaries in an 8x8 grid close to a CU or implicit TU boundary are limited to modifying at most two samples on each side.

[0102] The following applies to sub-block boundaries that are not aligned with CU boundaries: [Table 13]

[0103] If an edge equal to 0 corresponds to a CU boundary, then an edge equal to 2 or equal to orthogonalLength-2 corresponds to a subblock boundary 8 samples from the CU boundary, etc. Here, implicit TU is true if implicit partitioning of TUs is used.

[0104] 2.5 Sword Art Online

[0105] The input of SAO is the reconstructed samples after DB. The concept of SAO is to reduce the average sample distortion of a region by first classifying region samples into multiple categories using a selected classifier, then obtaining an offset for each category, and then adding the offset to each sample of the category. Here, the classification index and the offset of the region are coded in the bitstream. In HEVC and VVC, a region (unit of SAO parameter signaling) is defined as a CTU.

[0106] Two SAO types that can meet the requirement of low complexity are adopted in HEVC. These two types are Edge Offset (EO) and Band Offset (BO), which are described in more detail below. The index of the SAO type is coded (which is in the range of [0,2]). For EO, ​​the classification of a sample is based on the comparison of the current sample with neighboring samples according to one-dimensional directional patterns of horizontal, vertical, diagonal 135°, and diagonal 45°.

[0107] Figure 8 shows four one-dimensional orientation patterns for EO sample classification: horizontal (EO class = 0), vertical (EO class = 1), diagonal 135° (EO class = 2), and diagonal 45° (EO class = 3).

[0108] For a given EO class, each sample in the CTB is classified into one of five categories. The current sample value, labeled "c", is compared to the two adjacent sample values ​​along the selected 1-D pattern. The classification rules for each sample are summarized in Table 3. Categories 1 and 4 are associated with local valleys and local peaks along the selected 1-D pattern, respectively. Categories 2 and 3 are associated with concave and convex angles along the selected 1-D pattern, respectively. If the current sample does not belong to EO categories 1-4, it is category 0, and SAO is not applied. [Table 14]

[0109] 2.6 Geometry Transformation Based Adaptive Loop Filter

[0110] The input of DB is the reconstructed samples after DB and SAO. The sample classification and filtering process is based on the DB and the reconstructed samples after SAO.

[0111] In some embodiments, a geometric transform-based adaptive loop filter (GALF) with block-based filter adaptation is applied: for the luma component, one of 25 filters is selected for each 2x2 block based on local gradient direction and activity.

[0112] 2.6.1 Filter Shape

[0113] In some embodiments, up to three diamond filter shapes (as shown in FIG. 9) can be selected for the luma component. An index is displayed at the picture level to indicate the shape of the filter used for the luma component. Each square represents a sample, and Ci, where i is 0-6 (left), 0-12 (center), 0-20 (right), represents the coefficient applied to the sample. A 5x5 diamond shape is always used for the chroma components in a picture.

[0114] 2.6.1.1 Block Classification

[0115] Each 2x2 block is classified into one of 25 classes. The classification index C is derived based on its directionality D and the quantized value of activity A^ as follows:

number

[0116] To compute D and Â, first the horizontal, vertical, and two diagonal gradients are computed using the 1-D Laplacian.

number

number

number

number

[0117] The indices i and j refer to the coordinates of the top-left sample in a 2x2 block, and R(i,j) denotes the reconstructed sample at coordinate (i,j).

[0118] The maximum and minimum horizontal and vertical gradient values ​​are then set as follows:

number

[0119] Then, the maximum and minimum values ​​of the two diagonal gradients are set as follows:

number

[0120] To derive the value of the directionality D, these values ​​are compared with each other and with two thresholds t1 and t2. [Table 15]

[0121] The activity value is calculated as follows:

number

[0122] A is further quantized to the range 0 to 4, and the quantized value is denoted as A^.

[0123] No classification method is applied to both chroma components in a picture, e.g., a single set of ALF coefficients is applied to each chroma component.

[0124] 2.6.1.2 Geometric Transformation of Filter Coefficients

[0125] Figure 10 shows the relative coordinators for a 5x5 diamond filter support: left: diagonal, center: vertical flip, right: rotation.

[0126] Before filtering each 2x2 block, a geometric transformation such as rotation or diagonal flipping and vertical flipping is applied to the filter coefficients f(k,l) associated with coordinates (k,l) according to the gradient value calculated for that block. This is equivalent to applying these transformations to samples within the filter support region. The idea is to make different blocks to which ALF is applied more similar by aligning their orientations.

[0127] Three geometric transformations are introduced, including diagonal, vertical flip and rotation. [Table 16]

[0128] where K is the size of the filter, and 0≦k, l≦K-1 are the coefficient coordinates such that position (0,0) is the top-left corner and position (K-1,K-1) is the bottom-right corner. A transformation is applied to the filter coefficients f(k,l) depending on the gradient value calculated for that block. The relationship between the transformation and the four gradients in the four directions is summarized in Table 4. Figure 9 shows the transformed coefficients for each position based on a 5×5 diamond. [Table 17]

[0129] 2.6.1.3 Filter parameter signaling

[0130] In some embodiments, the GALF filter parameters are signaled for the first CTU, e.g., after the slice header and before the SAO parameters of the first CTU. Up to 25 sets of luma filter coefficients may be signaled. To reduce bit overhead, filter coefficients of different classifications may be merged. Also, the GALF coefficients of the reference pictures are stored and reused as the GALF coefficients of the current picture. The current picture may choose to use the stored GALF coefficients for the reference pictures and bypass the GALF coefficient signal. In this case, only an index to one of the reference pictures is signaled, and the stored GALF coefficients of the indicated reference picture are inherited for the current picture.

[0131] To support GALF temporal prediction, a candidate list of GALF filter sets is maintained. At the start of decoding a new sequence, the candidate list is empty. After decoding one picture, a corresponding set of filters may be added to the candidate list. Once the size of the candidate list reaches a maximum allowed value (e.g., 6), a new set of filters overwrites the oldest set in decoding order, i.e., a first-in-first-out (FIFO) rule is applied to update the candidate list. To avoid duplication, a set can be added to the list only if the corresponding picture does not use GALF temporal prediction. To support temporal scalability, there are multiple candidate lists of filter sets, and each candidate list is associated with a temporal layer. More specifically, each array assigned by a temporal layer index (TempIdx) can constitute the filter sets of previously decoded pictures equal to a lower TempIdx. For example, the k-th array is assigned to be associated with TempIdx equal to k and contains only filter sets from pictures with TempIdx less than or equal to k. After coding a given picture, the filter set associated with the picture is used to update those arrays associated with equal or higher TempIdx.

[0132] To minimize signaling overhead, temporal prediction of GALF coefficients is used for inter-coded frames. For intra frames, temporal prediction is not available and a set of 16 fixed filters is assigned to each class. A flag for each class is signaled to indicate the usage of the fixed filter and, if necessary, the index of the selected fixed filter is indicated. If a fixed filter is selected for a given class, the coefficients of the adaptive filter f(k,l) can still be sent for this class, in which case the coefficients of the filter applied to the reconstructed picture are the sum of both sets of coefficients.

[0133] The filtering process of the luma component can be controlled at the CU level. A flag is signaled to indicate whether GALF is applied to the luma component of a CU. For the chroma components, whether GALF is applied is indicated only at the picture level.

[0134] 2.6.1.4 Filtering Process

[0135] On the decoder side, when GALF is enabled for a block, each sample R(i,j) in the block is filtered to obtain a sample value R'(i,j) as shown below, where L is the filter length and f m,n Let f(k,l) denote the filter coefficients, and f(k,l) denote the decoded filter coefficients.

number

[0136] Figure 11 shows an example of relative coordinates used for a 5x5 diamond filter support, assuming the current sample's coordinates (i,j) are (0,0). Samples with different coordinates filled with the same color are multiplied by the same filter coefficient.

[0137] 2.7 Geometric Transformation-Based Adaptive Loop Filter (GALF)

[0138] 2.7.1 GALF implementation example

[0139] In some embodiments, the filtering process of the adaptive loop filter is performed as follows.

number

[0140] where sample I(x+i,y+i) is the input sample, O(x,y) is the filtered output sample (i.e., the filtering result), and w(i,j) is the filter coefficient. In practice, in VTM4.0, it is implemented using integer arithmetic for fixed-point precision calculations.

number

[0141] where L represents the filter length, and w(i,j) represents the filter coefficients in fixed-point precision.

[0142] The current design of GALF in VVC has the following major changes:

[0143] (1) Adaptive filter shapes are removed: only 7x7 filter shapes are allowed for the luma component, and only 5x5 filter shapes are allowed for the chroma components.

[0144] (2) Signaling of ALF parameters removed from slice / picture level to CTU level.

[0145] (3) Class index calculation is done at 4x4 level instead of 2x2. In addition, in some embodiments, a subsampled Laplacian calculation method for ALF classification is utilized. More specifically, it is not necessary to calculate horizontal / vertical / 45 diagonal / 135 degree gradients for each sample in one block. Instead, 1:2 subsampling is used.

[0146] Figures 12A-12D show the subsampled Laplacian calculation for CE2.6.2. Figure 12A shows the subsample positions for vertical gradients, Figure 12B shows the subsample positions for horizontal gradients, Figure 12C shows the subsample positions for diagonal gradients, and Figure 12D shows the subsample positions for diagonal gradients.

[0147] 2.8 Nonlinear ALF

[0148] 2.8.1 Filtering Reorganization

[0149] Equation (11) can be rearranged in the following manner without affecting coding efficiency:

number

number

[0150] Using the above filter equation (13), VVC introduces nonlinearity to make the ALF more efficient by using a simple clipping function to reduce the influence of neighboring sample values ​​(I(x+i,y+i)) when they are too different from the current sample value (I(x,y)).

[0151] More specifically, the ALF filter is modified as follows:

number

[0152] where K(d,b)=min(b,max(-b,d)) is the clipping function, and k(i,j) is the clipping parameter, which depends on the (i,j) filter coefficient. The encoder performs an optimization to find the best k(i,j).

[0153] In some embodiments, a clipping parameter k(i,j) is specified for each ALF filter and one clipping value is signaled per filter coefficient, which means that up to 12 clipping values ​​can be signaled in the bitstream per luma filter and up to 6 clipping values ​​for the chroma filters.

[0154] To limit the signaling cost and the encoder complexity, only four fixed values ​​are used which are the same for INTER and INTRA slices.

[0155] Since the variance of local differences is often larger for luma than for chroma, two different sets of luma and chroma filters are applied. The maximum sample value for each set (here 1024 bits for 10-bit depth) is also introduced, allowing clipping to be disabled if not needed.

[0156] A set of clipping values ​​used in some embodiments is provided in Table 5. The four values ​​are selected by approximately equally dividing the full range of sample values ​​(coded with 10 bits) for luma and the range 4 to 1024 for chroma in the logarithmic domain.

[0157] More precisely, the luma table of clipping values ​​is obtained by the following equation:

number

[0158] Similarly, the chroma table of clipping values ​​is obtained by the following equation:

number

[0159] The selected clipping value is coded in the "alf_data" syntax element using a Golomb coding scheme that corresponds to the clipping value's index in Table 5 above. This coding scheme is the same as the coding scheme for the filter index.

[0160] 2.9 Virtual Boundaries

[0161] In hardware and embedded software, picture-based processing is practically unacceptable due to its high picture buffer requirement. Using an on-chip picture buffer is very expensive, and using an off-chip picture buffer significantly increases external memory access, power consumption, and data access latency. Therefore, DF, SAO, and ALF are changed from picture-based to LCU-based in actual products. When LCU-based processing is used for DF, SAO, and ALF, the entire decoding process can be performed in the LCU with raster scanning by the LCU in an LCU pipeline manner for parallel processing of multiple LCUs. In this case, line buffers are required for DF, SAO, and ALF because pixels from the above LCU rows are required to process one LCU row. If an off-chip line buffer (e.g., DRAM) is used, the external memory bandwidth and power consumption will increase, and if an on-chip line buffer (e.g., SRAM) is used, the chip area will increase. Therefore, it is desirable to reduce the line buffer, although the line buffer is already much smaller than the picture buffer.

[0162] In some embodiments, the total number of line buffers required is 11.25 lines for luma components, as shown in FIG. 13. The explanation of the line buffer requirements is as follows: Deblocking of horizontal edges overlapping with CTU edges cannot be performed because the decision and filtering requires lines K, L, M, N from the first CTU and lines O, P from the CTU below. Thus, deblocking of horizontal edges overlapping with CTU boundaries is postponed until the CTU below. Thus, for lines K, L, M, N, the reconstructed luma samples need to be stored in the line buffer (4 lines). SAO filtering can be performed for line A up to J. Line J can be SAO filtered because the samples of line K are unchanged by deblocking. For SAO filtering of line K, the edge offset classification decision is stored only in the line buffer (0.25 luma lines). ALF filtering can be performed only for lines A-F. As shown in FIG. 13, ALF classification is performed for every 4×4 block. Each 4x4 block classification requires an activity window of size 8x8, which in turn requires a 9x9 window to compute the 1d Laplacian to determine the gradient.

[0163] Therefore, for block classification of the 4x4 block overlapping with lines G, H, I, J, we need SAO filtered samples below the virtual boundary. In addition, for ALF classification, we need SAO filtered samples of lines D, E, F. Furthermore, for ALF filtering of line G, we need three SAO filtered lines D, E, F from the above lines. Therefore, the total line buffer requirement is: [Table 19]

[0164] Therefore, the total number of luma lines required is 7+4+0.25=11.25.

[0165] Similarly, the line buffer requirements for the chroma components are shown in Figure 14. The line buffer requirements for the chroma components are estimated to be 6.25 lines.

[0166] To remove the line buffer requirement of SAO and ALF, the concept of virtual border (VB) is introduced in the latest VVC. As shown in Fig. 13, VB is a horizontal LCU border shifted upward by N pixels. For each LCU, SAO and ALF can process pixels above VB before the bottom LCU comes, but cannot process pixels below VB until the bottom LCU comes. This is due to DF. Considering the hardware implementation cost, the space between the proposed VB and the horizontal LCU border is set as 4 pixels for luma (e.g., N=4 in Fig. 13) and 2 pixels for chroma (e.g., N=2 in Fig. 9).

[0167] 2.9.1 Modified ALF block classification when VB size N is 4

[0168] 15A-15B show modified block classification for the case where the virtual boundary is the top four lines of the CTU boundary (N=4). As shown in FIG. 15A, for a 4×4 block starting at row G, the block classification uses only rows E through J, but the Laplacian gradient calculation for samples belonging to row J additionally requires the next row down (row K). Thus, row K is padded with row J.

[0169] Similarly, as shown in Figure 15B, for a 4x4 block starting at row K, the block classification uses only rows up to row K, but the Laplacian gradient calculation for samples belonging to row K requires the next row up (row J). Hence, row J is padded with row K.

[0170] 2.9.2 Sample Side Padding Across the Virtual Boundary

[0171] As shown in Figures 16A-16C, a truncated version of the filter is used to filter luma samples belonging to rows close to the virtual boundary. For example, referring to Figure 16A, when filtering row M as shown in Figure 13, for example, the central sample of the 7x7 diamond support is in row M and one row above VB (shown in bold) needs to be accessed. In this case, samples above VB are copied from the right sample below VB, such that the solid P0 sample is copied to the dashed position above. Symmetrically, the solid P3 sample is copied to the bottom right position of the dashed line, even if a sample at that position is available. The copied samples are only used in the luma filtering process.

[0172] The padding method used for the ALF virtual boundary may be denoted as “Two-side Padding”, and as shown in FIGS. 16A-16C and 17A-17B, when one sample located at (i,j) (e.g., P0A with dashed lines in FIG. 16B) is padded, the corresponding sample located at (m,n) that shares the same filter coefficients (e.g., P3B with dashed lines in FIG. 16B) is also available. In FIGS. 16A-16C, the center of the 7×7 diamond filter support is the current sample to be filtered. FIG. 16A shows that one required row above and below VB needs to be padded. FIG. 16B shows that two required rows above and below VB need to be padded. FIG. 16C shows that three required rows above and below / below VB need to be padded.

[0173] Similarly, the double-sided padding method is also used for chroma ALF filtering, as shown in Figures 17A-17B. Figures 17A-17B show modified chroma ALF filtering at a virtual boundary (5x5 diamond filter support, center is the current sample to be filtered). Figure 17A shows that one required row above and below VB needs to be padded. Figure 17B shows that two required rows above and below VB need to be padded.

[0174] 2.9.3 Alternative implementation for double-sided padding when non-linear ALF is disabled

[0175] If the nonlinear ALF is disabled for the CTB, e.g., the clipping parameter k(i,j) in equation (14) is equal to (1<<bit depth), the padding process can be replaced by modifying the filter coefficients (a.k.a. modified-coeff based ALF (MALF)). For example, when filtering samples in row L / I, the filter coefficient c5 is modified to c5', and in this case there is no need to copy the luma samples from solid line P0A to dashed line P0A and from solid line P3B to dashed line P3B in FIG. 18A. In this case, assuming that the current sample to be filtered is at (x,y), both double-sided padding and MALF produce the same result.

number

[0176] However, when the nonlinear ALF is enabled, MALF and double-sided padding may produce different filtering results because the clipping parameters are different since a nonlinear parameter is associated with each coefficient, such as in the case of filter coefficients c5 and c1.

number

[0177] Because of padding, even though I(x-1,y-1)=I(x-2,y-2), K(d,b) !=d.

[0178] 2.10 ALF Filtering Specifications

[0179] New additions are shown in bold italics. Deletions are shown using [[ ]]. [Table 20] TIFF0007549082000042.tif224161TIFF0007549082000043.tif224161TIFF00075490820 00044.tif224161TIFF0007549082000045.tif217161TIFF0007549082000046.tif226151 TIFF0007549082000047.tif227151TIFF0007549082000048.tif226150TIFF00075490820 00049.tif227150TIFF0007549082000050.tif230151TIFF0007549082000051.tif187150

[0180] 2.11 Examples of CTU processing

[0181] According to the current VVC design, if the bottom boundary of one CTB is the bottom boundary of a slice / brick, the ALF virtual boundary processing method is disabled. For example, as shown in Figure 19, a picture is divided into multiple CTUs and two slices are created.

[0182] Assuming the CTU size is MxM (e.g., M=64), according to the virtual boundary definition, the last four rows in the CTB are treated as below the virtual boundary. In the hardware implementation, the following applies:

[0183] - If the bottom boundary of the CTB is the bottom boundary of the picture (e.g. CTU-D), process an (M+4)xM block that includes the top 4 rows of the CTU and all rows of the current CTU.

[0184] -Otherwise, if the lower boundary of the CTB is the lower boundary of a slice (or brick) (e.g., CTU-C) and loop_filter_ware_slice_enabled_flag (or loop_filter_ware_bricks_enabled_flag) is equal to 0, process (M+4)×M blocks including the first 4 CTU rows and all rows above the current CTU.

[0185] - Else, if this is a CTU / CTB of the first CTU row in the slice / brick / tile (e.g., CTU-A), process M×(M-4) blocks excluding the last 4 rows.

[0186] - Otherwise, if the CTU / CTB is not the first CTU row in the slice / brick / tile (e.g., CTU-B) and is not the last CTU row in the slice / brick / tile, process the MxM block that includes the 4 rows and all rows from the CTU row above the current CTU, excluding the last 4 rows of the current CTU.

[0187] FIG. 19 shows an example of the processing of CTUs within a picture.

[0188] 2.12 360-degree video coding

[0189] Horizontal wraparound motion compensation in VTM5 is a 360-specific coding tool designed to improve the visual quality of 360-degree videos reconstructed in the equal rectangular (ERP) projection format. In conventional motion compensation, when a motion vector references a sample that crosses the picture boundary of a reference picture, iterative padding is applied to derive the value of the out-of-boundary sample by copying from its nearest neighbor on the corresponding picture boundary. In 360-degree videos, this iterative padding method is inappropriate and can cause visual artifacts called “seam artefacts” in the reconstructed viewport video. Since 360-degree videos are captured on a sphere and do not inherently have a “boundary”, a reference sample that falls outside the boundary of a reference picture in the projection domain can always be derived from a neighboring sample in the spherical domain. In common projection formats, it is difficult to derive the corresponding neighboring sample in the spherical domain, since it involves 2D-3D and 3D-2D coordinate transformations, as well as sample interpolation for fractional sample positions. This problem is much simpler for the left and right boundaries of the ERP projection format, since the spherical neighborhood outside the left boundary is derived from samples inside the right boundary, and vice versa.

[0190] FIG. 20 shows an example of horizontal wrap-around motion compensation in VVC.

[0191] The horizontal wrap-around motion compensation process is as shown in FIG. If a part of a reference block is outside the left (or right) boundary of the reference picture in the projection domain, instead of repeated padding, the “out-of-boundary” part is taken from the corresponding spherical neighborhood of the reference picture towards the right (or left) boundary in the projection domain. Repeat padding is only used on top and bottom picture boundaries.As shown in FIG. 20, horizontal wrap-around motion compensation can be combined with non-normative padding methods often used in 360-degree video coding. In VVC, this is achieved by signaling a high-level syntax element to indicate the wrap-around offset, which should be set to the ERP picture width before padding. This syntax is used to adjust the position of the horizontal wrap accordingly. This syntax is not sensitive to a specific amount of padding at the left and right picture boundaries, and therefore naturally supports asymmetric padding of ERP pictures, e.g., when the left and right padding are different. When the reference samples are outside the left and right boundaries of the reference picture, horizontal wrap-around motion compensation provides more meaningful information for motion compensation.

[0192] For projection formats consisting of multiple faces, discontinuities appear between two or more adjacent faces in the frame-packed picture, no matter what compact frame packing configuration is used. For example, considering the 3×2 frame packing configuration shown in FIG. 24, the top three faces are contiguous in 3D geometry, and the bottom three faces are contiguous in 3D geometry, but the top and bottom halves of the frame-packed picture are discontinuous in 3D geometry. If an in-loop filtering operation is performed across this discontinuity, face seam artifacts may become visible in the reconstructed video.

[0193] To mitigate face seam artifacts, in-loop filtering operations may be disabled across discontinuities in frame packing pictures. A syntax is proposed to signal the vertical and / or horizontal virtual boundaries where in-loop filtering operations are disabled. Compared to using two tiles, one for each set of contiguous faces, and disabling in-loop filtering operations between the tiles, the proposed signaling method is more flexible because the face size does not need to be a multiple of the CTU size.

[0194] 2.13 Subpicture-Based Motion Constrained Independent Region Example

[0195] Some implementations include the following features.

[0196] 1) A picture can be divided into sub-pictures.

[0197] 2) An indication of the presence of a sub-picture is shown in the SPS along with other sequence-level information of the sub-picture.

[0198] 3) Whether a sub-picture is treated as a picture in the decoding process (except for in-loop filtering operations) can be controlled by the bitstream.

[0199] 4) Whether in-loop filtering across sub-picture boundaries is disabled can be controlled by the bitstream of each sub-picture. The DBF, SAO, and ALF processes are updated to control the in-loop filtering operation across sub-picture boundaries.

[0200] 5) For simplicity, as a starting point, the subpicture width, height, horizontal offset, and vertical offset are signaled in units of luma samples of the SPS. Subpicture boundaries are constrained to be slice boundaries.

[0201] 6) Treating subpictures as pictures in the decoding process (except for in-loop filtering operations) is specified by a slight update to the soding_tree_unit() syntax, and updates for the decoding process below.

[0202] ○ Derivation process for (advanced) temporal luma motion vector prediction

[0203] Luma sample bilinear interpolation process

[0204] Luma sample 8 tap interpolation filtering process

[0205] ○ Chroma sample interpolation process

[0206] 7) Subpicture IDs are explicitly specified in the SPS and included in the tile group header so that the subpicture sequence can be extracted without having to modify the VCL NAL units.

[0207] An Output Subpicture Set (OSPS) is proposed to specify criteria extraction and conformance points for a subpicture and its set.

[0208] 3. Technical Problem Solved by the Solution Provided in This Document

[0209] The current VVC design has the following problems:

[0210] 1. The current setting of enabling ALF virtual boundary depends on whether the bottom boundary of the CTB is the bottom boundary of the picture or not. If it is true, the ALF virtual boundary is disabled, like CTU-D in Figure 19. However, it is possible that the bottom boundary of the CTB is outside the bottom boundary of the picture, like a 256x240 picture, in which case the ALF virtual boundary may be erroneously set to true for the last two CTUs that have samples outside the bottom boundary.

[0211] 2.ALF's method of handling virtual boundaries is disabled for bottom picture boundaries and slice / tile / brick boundaries. Disabling VB along slice / brick boundaries may result in pipeline bubbles or require processing 68 lines per Virtual Pipeline Data Unit (VPDU, 64x64 in VVC), assuming LCU size of 64x64. For example:

[0212] For decoders that do not know slice / brick / tile boundaries in advance (i.e., low-delay applications), the ALF line buffer needs to be restored. Whether the content in the line buffer is used for ALF filtering depends on whether the current CTU is also a slice / brick / tile boundary CTU, but this information is not known until the next slice / brick / tile is decoded.

[0213] b. For decoders that know slice / brick / tile boundaries in advance, to avoid using ALF line buffers the decoder needs to either live with pipeline bubbles (highly unlikely) or always run ALF at the rate of 68 lines per 64x64 VDPU (overprovision).

[0214] 3. There are different methods for dealing with virtual and video unit boundaries, e.g. different padding methods. On the other hand, for a line, more than one padding method can be implemented if it is on multiple boundaries.

[0215] In one example, if the bottom boundary of a block is a 360-degree virtual boundary and the ALF virtual boundary is also applied to this block, in this case, the padding method for the 360-degree virtual boundary may be first applied to generate virtual samples below the 360-degree virtual boundary. Then, these virtual samples located below the 360-degree virtual boundary are treated as available. Then, the AL 2-side padding method may be further applied according to Figures 16A-C. An example is shown in Figure 25.

[0216] 4. The method of handling virtual boundaries may be sub-optimal since less efficient padding samples are utilized.

[0217] 5. When the nonlinear ALF is disabled, the MALF and double-sided padding methods can produce the same results for filtering samples that require accessing samples that cross a virtual boundary. However, when the nonlinear ALF is enabled, the two methods will yield different results. It is useful to align the two cases.

[0218] 4. Examples of Techniques and Implementations

[0219] The following list should be considered as examples to illustrate the general concept. The listed technologies should not be interpreted narrowly. Moreover, these technologies can be combined in any way.

[0220] The padding method used for the ALF virtual boundary can be denoted as “Two-side Padding”, where if one sample located at (i,j) is padded, the corresponding sample located at (m,n) that shares the same filter coefficients is also padded, even if the sample is available, as shown in Figures 12-13.

[0221] The padding method used for picture borders / 360° video virtual borders, normal borders (e.g., top and bottom borders) may be denoted as “One-side Padding”, where if the sample used is outside the border, it is copied from an available sample in the picture.

[0222] The padding method used for the left and right borders of 360-degree video may be denoted as "wrapping-based padding", where if the sample used is outside the borders, it is copied using the motion compensation results.

[0223] In the following description, a sample "is at a video unit boundary" may mean that the distance between the sample and the video unit boundary is less or no greater than a threshold. A "line" may refer to samples at the same horizontal position or samples at the same vertical position (e.g., samples in the same row and / or samples in the same column). The function Abs(x) is defined as follows:

number

[0224] In the following description, a "virtual sample" refers to a generated sample that may be different from a reconstructed sample (which may be processed by deblocking and / or SAO). A virtual sample may be used to perform ALF on another sample. A virtual sample may be generated by padding.

[0225] "ALF virtual boundary handling method is enabled for a block" may indicate that applyVirtualBoundary in the specification is set to true. "Enabling virtual boundary" may indicate that the current block is divided into at least two parts by a virtual boundary, and samples placed in one part are not allowed to use samples in the other part in the filtering process (e.g., ALF). The virtual boundary may be K rows above the bottom boundary of a block.

[0226] In the following description, adjacent samples may be those required for the filter classification and / or filtering process.

[0227] In this disclosure, a neighboring sample is “unavailable” if it is outside the current picture, current subpicture, current tile, current slice, current CTU, or current processing unit (such as an ALF processing unit or narrow ALF processing unit), or any other current video unit. 1. The determination that "the lower boundary of the current coding tree block is the lower boundary of the picture" is replaced with "the lower boundary of the current coding tree block is either the lower boundary of the picture or outside the picture." a. Alternatively, in this case, one may also disable the ALF virtual boundary processing method. 2. Whether or not to enable the use of virtual samples in the in-loop filtering process (e.g., whether or not to enable a virtual boundary (e.g., applyVirtualBoundary as true or false)) may depend on the CTB size. In one example, applyVirtualBoundary is always set to false for a given CTU / CTB size, for example, a CTU / CTB size equal to K×L (eg, K=L=4). b. In one example, applyVirtualBoundary is always set to false for a particular CTU / CTB size less than or equal to K×L (eg, K=L=8). c. Alternatively, ALF is disabled for certain CTU / CTB sizes, such as 4x4, 8x8, etc. 3. Whether or not to enable the use of virtual samples (e.g., padded from reconstructed samples) in an in-loop filtering process (e.g., ALF) depends on whether the bottom boundary of the block is the bottom boundary of a picture (e.g., slice / tile / brick) or a video unit that is at a finer granularity compared to the virtual boundary. a. In one example, an ALF virtual boundary processing method may be enabled (eg, applyVirtualBoundary is set to true) for a coding tree block (CTB) if the lower boundary of the CTB is a video unit boundary or a virtual boundary. i. Alternatively, if the bottom boundary is not the bottom picture boundary, or if the bottom boundary is outside the picture, the above method is enabled. b. The ALF virtual boundary processing method is enabled (eg, applyVirtualBoundary is set to true) even if the bottom boundary of the current coding tree block is one of the bottom boundaries of the picture and pps_loop_filter_cross_virtual_boundaries_disabled_flag is equal to 1. c. In one example, whether to enable the ALF virtual boundary processing method (eg, the value of applyVirtualBoundary) for the CTB depends only on the relationship between the bottom boundary of the CTB and the bottom boundary of the picture. i. In one example, applyVirtualBoundary is set to false only if the bottom boundary of the CTB is the bottom boundary of the picture containing the CTB, or if the bottom boundary is outside the picture. ii. In one example, if the bottom boundary of the CTB is not the bottom boundary of the picture containing the CTB, then applyVirtualBoundary is set to true. d. In one example, when decoding CTU-C in FIGS. 18A-18C, the M×M samples may be filtered excluding K lines from above the CTU and K lines below the virtual boundary. 4. It is proposed to disable the use of samples that cross brick / slice boundaries in the filtering process (e.g., ALF) even if the control usage flag signaled for the loop filter that crosses the brick / slice boundary (e.g., loop_filter_cross_bricks_enabled_flag / roop_filter_slices_enabled_flag) is true. a. Alternatively, the signaled loop_filter_cross_bricks_enabled_flag / loop_filter_cross_slices_enabled_flag can only control the filtering process of the deblocking filter and SAO, except for ALF. b. In one example, ALF can be performed on another sample using a virtual sample in place of the reconstructed sample at the corresponding location. 5. When one block (e.g., CTB) contains samples located on the boundary of a video unit (e.g., slice / brick / tile / 360-degree video virtual boundary / picture boundary), the methods of generating virtual samples inside and outside the video unit for in-loop filtering such as ALF (e.g., padding methods) may be unified for different types of boundaries. a. Alternatively, a virtual boundary method (eg, double-sided padding method) may be applied to the block to process samples at the boundaries for in-loop filtering. b. Alternatively, the above method may be applied when the block contains samples that are located at the bottom boundary of a video unit. c. In one example, when decoding K lines of a block, if the virtual boundary of the block (e.g., the last K lines of CTU-B in Figures 17A-17B) and the bottom boundary of the block are the bottom boundary of the video unit, virtual samples may be generated in the ALF classification / filtering process to avoid using other samples outside these K lines, for example, a double-sided padding method may be applied. i. Alternatively, ALF may be disabled on the last K line. d. In one example, if a block lies on multiple boundaries, the pixels / samples used for ALF classification may be restricted to not cross any of these multiple boundaries. i. In one example, if for a sample, that particular neighboring sample is “unavailable” (e.g., crosses any of multiple boundaries), then one or all types of gradients / directionalities may not be calculated for the sample. 1. In one example, the gradient of a sample may be treated as zero. 2. In one example, the gradient of a sample can be treated as "unusable" and cannot be added to the activity derived from the ALF classification process (e.g., that defined in equation (8) in Section 2.6.1.1). ii. In one example, if only a partial sample used in the ALF classification process is “available” (e.g., does not cross these boundaries), the activity / direction derived in the ALF classification process may be scaled by a factor. iii. As an example, assume that for a boundary block, the ALF classification process needs to compute gradients / directions for N samples, and gradients can only be computed for M samples (e.g., if a particular neighbor of a sample is not "available," gradients cannot be computed for it). In that case, activity can be multiplied by N / M. 1. Alternatively, it can be multiplied by a factor that depends on / M. For example, the number is MN (N is an integer), for example, M=2. e. In one example, if a line is on multiple boundaries (e.g., the distance between the lines to the boundaries is less than a threshold), the padding process is performed only once, regardless of the number of boundaries it belongs to. i. Alternatively, how many adjacent lines are padded may depend on the position of the current line relative to all boundaries. ii. For example, how many adjacent lines are padded may be determined above and below the two boundaries by the distance between the current line and the two boundaries, such as when the current line is within the two boundaries. iii. For example, how many adjacent lines are padded may be determined by the distance between the current line and the nearest boundary, such as when the current line is within two boundaries and the two boundaries are above and below. iv. For example, how many adjacent lines to pad are calculated for each boundary independently and the largest one is selected as the final padding line number. v. In one example, how many adjacent lines are padded may be determined for each side (eg, top and bottom) of a line. vi. As an example, in the case of a two-sided padding method, how many adjacent lines are padded can be determined for the two sides together. vii. Alternatively, the double-sided padding method used in ALF may also be applied. f. In one example, if a line has multiple boundaries and there is at least one boundary on each side of the line (eg, above and below), ALF may be disabled. g. In one example, if the number of padded lines required for the current line is greater than a threshold, ALF may be disabled for the current line. i. In one example, if the number of padded lines on any side is greater than a threshold, ALF may be disabled for the current line. ii. In one example, if the total number of padded lines on both sides is greater than a threshold, ALF may be disabled for the current line. h. Alternatively, the above method may also be applied when the block contains samples located at the bottom boundary of a video unit and in-loop filtering, such as ALF, is enabled for the block. i. Alternatively, the above method may be applied under certain conditions, such as when the block contains samples located at the bottom boundary of a video unit and filtering across boundaries is not allowed (e.g., pps_loop_filter_cross_virtual_boundaries_disabled_flag / roop_filter_cross_slices_enabled_filter_slices_enabled_flag is true). j. The proposed method can also be applied to samples / blocks located on vertical boundaries. 6. If the sample is at least two boundaries of a block (e.g., at least one that is above the current line is an ALF virtual boundary and is below the other boundary), the number of padded lines is not determined solely by the distance between the current line to the ALF virtual boundary, but instead by the distance between the current line to the two boundaries. In one example, the number of lines for per-side padding is set to (M-min(D0,D1)). b. In one example, the number of lines for single sided padding is set to (M-max(D0,D1)). c. In the above example, D0, D1 indicate the distance between the current line and the top / bottom boundary. d. In the above example, M indicates the number of lines from the bottom of the virtual boundary of the ALF one CTU. 7. At least two methods of sample selection in the ALF classification and / or ALF linear or non-linear filtering process may be defined, one of which selects samples before any in-loop filtering methods are applied, and the other of which selects samples after one or more in-loop filtering methods have been applied but before. In one example, the selection of different methods may depend on the position of the sample being filtered. b. In one example, a sample at the bottom boundary of a video unit (such as the CTB) may be selected with the first method if it is used in the ALF for another sample, otherwise (if not at the boundary), the second method is selected. 8. It is proposed to disable the use of samples that cross VPDU boundaries (eg 64x64 regions) in the filtering process. a. In one example, if a sample required by the ALF classification process is outside a VPDU boundary or below a virtual boundary, it may be replaced by a virtual sample, or the classification result of the sample may be copied from the results associated with other samples, such as padding from available samples. b. In one example, if a sample required by the filtering process is outside a VPDU boundary or below a virtual boundary, it may be replaced with a virtual sample, such as padded from the available samples. c. In one example, the ALF virtual boundary processing method may be enabled for a block (eg, applyVirtualBoundary is set to true) if it contains samples that fall on a VPDU boundary. d. Alternatively, the use of samples that cross horizontal VPDU boundaries may be disabled in the filtering process. i. In one example, if a sample required by the filtering process is below a horizontal VPDU boundary, or below a virtual boundary, it may be replaced with a virtual sample, such as padded from available samples. e. Alternatively, the use of samples that cross vertical VPDU boundaries may be disabled in the filtering process. i. In one example, if a sample required by the filtering process is outside a vertical VPDU boundary or below a virtual boundary, it may be replaced with a virtual sample, such as padded from available samples. 9. In the ALF classification / filtering process, instead of using padded samples (e.g., non-available, upper / lower virtual boundaries, upper / lower boundaries of video units), it is proposed to use reconstructed samples before all in-loop filters. a. Alternatively, in addition, the concept of double-sided padding is applied via padding samples from the reconstructed samples before every in-loop filter. i. In one example, if the samples in the filter support are from reconstructed samples before all in-loop filters, then symmetric (e.g., symmetric about the origin, e.g., the current sample) samples in the filter support also use reconstructed samples before all in-loop filters. 1. Suppose the coordinates of the current sample to be filtered are (0,0) and the sample located at (i,j) is reconstructed to be the sample before all the in-loop filters. The sample located at (-i,-j) is the sample reconstructed before all the in-loop filters. 2. Suppose the coordinates of the current sample to be filtered are (x, y) and the sample located at (x+i, y+j) is reconstructed before all in-loop filters, then the sample located at (xi, yj) is reconstructed before all in-loop filters. b. Alternatively, further, when in-loop reconstruction (also known as LMCS) is enabled, all samples reconstructed before all in-loop filters are within the original domain converted from the reconstructed domain. 10. Instead of using samples padded in the ALF filtering process (e.g., virtual upper / lower boundaries that are not unusable, upper / lower boundaries of the video unit), it has been proposed to use different ALF filter supports. a. In one example, instead of padding the samples, assuming that the samples need to be padded in the above method, the filter coefficients related to the samples are set to zero. i. In this case, the filter support is modified by excluding the samples that require padding. ii. Alternatively, further, the filter coefficients applied to other samples excluding the current sample are not changed. However, the filter coefficients applied to the current sample can be modified. Such as ((1<<C_BD) - the sum of all filter coefficients applied to samples that do not need to be padded), where C_BD indicates the bit depth of the filter coefficients. 1. Taking FIGS. 18A - 18B as an example, in the case of filtering lines L and I, the filter coefficient c12 applied to the current sample is modified to (1<<C_BD) - 2*(c4 + c5 + c6 + c7 + c8 + c9 + c10 + c11). b. As one example, assuming that the sample (x1, y1) is padded from (x2, y2) in the above method, instead of performing padding, regardless of whether the non - linear filter is enabled or disabled, the filter coefficients related to (x1, y1) are added to the filter coefficients at position (x2, y2). i. Alternatively, further, the clipping parameter of (x2, y2) can be derived on - the - fly. 1. In one example, it may be set equal to the clipping parameter decoded for (x2, y2). 2. Alternatively, it can be set to the returned value of a function with the decoded clipping parameters for (x1,y1) and (x2,y2) as input, such as a larger or smaller value. 11. The choice of clipping parameters / filter coefficients / filter support depends on whether the filtering of samples requires access to padded samples or not (e.g. not available, upper / lower virtual borders, upper / lower borders of video units). In one example, different clipping parameters / filter coefficients / filter support may be used for samples with the same class index, some of which need to access padded samples and others do not. b. In one example, clipping parameters / filter coefficients / filter support for filtering samples that require access to padded samples may be signaled at the CTU / region / slice / tile level. c. In one example, the clipping parameters / filter coefficients / filter support for filtering samples that require access to the padded samples may be derived from those used for filtering samples that do not require access to the padded samples. In one example, items 9a or 9b may apply. 12. How samples at the boundaries of in-loop filtering (such as ALF) are treated depends on the color components and / or color format. For example, the definition of "at boundary" may be different for different color components. In one example, a luma sample is at the bottom boundary if the distance between the luma sample and the bottom boundary is less than T1, and a chroma sample is at the bottom boundary if the distance between the luma sample and the bottom boundary is less than T2. ​​T1 and T2 may be different. i. In one example, T1 and T2 may be different if the color format is not 4:4:4. 13. If the bottom / top / left / right boundaries of one CTU / VPDU are also boundaries of a slice / tile / brick / sub-region with independent coding, a fixed order of multiple padding processes is applied. a. In one example, in the first step, a padding method for the slice / tile / brick (e.g., 1-side padding) is applied first. Then, a padding method for handling the ALF virtual boundary (e.g., 2-side padding) is further applied during the second step. In this case, the padded samples after the first step are marked as available and can be used to determine how many lines are padded in the ALF virtual boundary process. The same rules (e.g., FIG. 16) are used to handle CTUs that do not lie on these boundaries. 14. The proposed method can be applied to one or more boundaries between two subpictures. The boundary to which the proposed method is applied may be a horizontal boundary. b. The boundary to which the proposed method is applied may be a vertical boundary. 15. The method proposed above can be applied to samples / blocks at vertical boundaries. 16. Whether or not or how the proposed method is applied at a "360 virtual boundary" may depend on the location of the "360 virtual boundary." In one example, the proposed method can be applied when the "360 virtual boundary" coincides with the CTU boundary. For example, for samples at the "360 virtual boundary", only double-sided padding can be applied in ALF. In one example, if the "360 virtual boundary" does not coincide with the CTU boundary, the proposed method may not be applied. For example, for samples at the "360 virtual boundary", only one-sided padding may be applied in ALF. c. In one example, the proposed method may not be applied to samples with multiple boundaries where at least one boundary is a "360 virtual boundary" and at least one of the "360 virtual boundaries" does not coincide with a CTU boundary. i. For example, samples that cross any of these boundaries may be padded with one-sided padding. 1. Alternatively, in addition, if a "virtual border" exists, then two-sided padding can be applied in ALF after one-sided padding.

[0228] 5. Embodiments

[0229] In the following sections, several examples are described of how the current version of the VVC standard may be modified to conform to some embodiments of the disclosed technology. New additions are indicated in bold italics. Deleted parts are indicated using [[ ]].

[0230] 5.1 Example #1 [Table 21]

[0231] 5.2 Example #2

[0232] Figure 21 shows the processing of a CTU in a picture, the differences compared to Figure 19 are highlighted with dashed lines.

[0233] 5.3 Example #3 [Table 22] TIFF0007549082000055.tif225151TIFF0007549082000056.tif160150

[0234] Alternatively, the condition "the lower boundary of the current coding tree block is the lower boundary of the picture" can be replaced with the condition "the lower boundary of the current coding tree block is either the lower boundary of the picture or outside the picture."

[0235] 5.4 Example #4

[0236] This embodiment shows an example of prohibiting the use of samples below the VPDU area in the ALF classification process (corresponding to item 7 in section 4). [Table 23] TIFF0007549082000058.tif226152TIFF0007549082000059.tif163151

[0237] 5.5 Example #5

[0238] If the sample lies on multiple types of boundaries (e.g. slice / brick boundary, 360 degree virtual boundary), the padding process is called only once, and the number of padded lines per side depends on the position of the current sample relative to the boundary.

[0239] In one example, the ALF double-sided padding method is applied. Alternatively, in a symmetric double-sided padding method, when a sample is on two boundaries, for example, one boundary on the upper side and one boundary on the lower side, how many samples are padded is determined by the closer boundary, as shown in Figure 27. Meanwhile, when deriving classification information, only the four lines between the two boundaries in Figure 27 are used.

[0240] Figure 26 shows an example of a padding method when a 4-line sample consists of two boundaries. In one example, the first boundary in Figure 26 may be an ALF virtual boundary, and the second boundary in Figure 25 may be a slice / tile / brick boundary or a 360 degree virtual boundary.

[0241] 5.6 Example #6 [Table 24] TIFF0007549082000061.tif227156TIFF0007549082000062.tif229156TIFF0007549082000063.t if220152TIFF0007549082000064.tif227151TIFF0007549082000065.tif225152TIFF0007549082 000066.tif229151TIFF0007549082000067.tif230150TIFF0007549082000068.tif157150TIFF00 07549082000069.tif228151TIFF0007549082000070.tif227151TIFF0007549082000071.tif17127

[0242] FIG. 22 is a block diagram of a video processing device 2200. The device 2200 may be used to implement one or more methods described herein. The device 2200 may be embodied in a smartphone, a tablet, a computer, an Internet of Things (IoT) receiver, etc. The device 2200 may include one or more processors 2202, one or more memories 2204, and video processing hardware 2206. The processor 2202 may be configured to implement one or more methods described herein. The memory (memory) 2204 may be used to store data and codes used to implement the methods and techniques described herein. The video processing hardware 2206 may be used to implement some techniques described herein in a hardware circuit.

[0243] In some embodiments, the video coding method may be implemented using an apparatus implemented on a hardware platform, such as that described with respect to FIG.

[0244] 23 is a flow chart of an example method of video processing 2300. The method includes determining (2302) one or more interpolation filters to use during the conversion, for converting between a current video block of a video and a bitstream representation of the current video block, where the one or more interpolation filters consist of multiple interpolation filters for the video, and performing the conversion using the one or more interpolation filters (2304).

[0245] The various solutions and embodiments described in this document are further explained using a list of solutions.

[0246] Section 4, item 1 provides additional examples of the following solutions.

[0247] 1. A video processing method comprising: performing a conversion between video blocks of a video picture and their bitstream representations, the video blocks being processed using logical groupings of coding tree blocks, the coding tree blocks being processed based on whether a lower boundary of a lower coding tree block is outside a lower boundary of the video picture.

[0248] 2. The method described in Solution 1, wherein the step of processing the coding tree block includes a step of performing adaptive loop filtering of sample values ​​of the coding tree block by using samples in the coding tree block.

[0249] 3. The method described in Solution 1, wherein the step of processing the coding tree block includes a step of performing adaptive loop filtering of sample values ​​of the coding tree block by disabling the division of the coding tree block into two parts according to a virtual boundary.

[0250] Section 4, item 2 provides additional examples of the following solutions.

[0251] 4. A method of video processing comprising: determining a usage state of a virtual sample during in-loop filtering based on a state of a coding tree block of a current video block; and performing a conversion between the video block and a bitstream representation of the video block that matches the usage state of the virtual sample.

[0252] 5. The method according to solution 4, wherein the logical true value of the usage indicates that the current video block is divided into at least two parts by a virtual boundary, and filtering samples of one part is not allowed to utilize information of the other part.

[0253] 6. The method described in Solution 4, wherein the logical true value of the usage state indicates that a virtual sample is used during the in-loop filtering, and the in-loop filtering is performed using modified values ​​of reconstructed samples of the current video block.

[0254] 7. The method according to solution 4, wherein a logical false value of the usage status indicates that filtering samples in the block is permitted to utilize the information within the same block.

[0255] 8. The method according to Solution 4, wherein the logical truth value of the usage state indicates that in-loop filtering is performed on the reconstructed samples of the current video block without further modifying the reconstructed samples.

[0256] 9. A method according to any of Solutions 4-8, wherein the condition specifies setting the usage state to a logical false value resulting from the coding tree block having a particular size.

[0257] 10. A method according to any of Solutions 4-8, wherein the condition specifies setting the usage state to a logical false value resulting from the coding tree block having a size greater than a particular size.

[0258] 11. The method according to any of solutions 4-8, in which the treeblock has a size smaller than a certain size.

[0259] Section 4, item 3 provides additional examples of the following solutions.

[0260] 12. The method of Solution 5, wherein the condition depends on whether the bottom boundary of the current video block is a bottom boundary of a video unit smaller than the video picture or the bottom boundary of the current video block is a virtual boundary.

[0261] 13. The method of solution 12, wherein the condition depends on whether the bottom boundary of the current video block is a bottom boundary of a slice, or a tile or brick boundary.

[0262] 14. The method of solution 12, wherein the condition specifies that the usage status is set to the logical true value if the bottom boundary of the current video block is the bottom boundary of a slice, tile, or brick boundary.

[0263] 15. The method according to Solution 4-12, wherein the condition specifies that the usage status is set to a logical false value if the bottom boundary of the current video block is the bottom boundary of a picture boundary or is outside the bottom boundary of a picture boundary.

[0264] Section 4, item 4 provides additional examples of the following solutions.

[0265] 16. A video processing method comprising the steps of: during a conversion between a video picture logically grouped into one or more video slices or video bricks and a bitstream representation of the video picture, deciding to disable the use of samples in another slice or brick in the adaptive loop filter process; and performing the conversion consistent with the decision.

[0266] Section 4, item 4 provides additional examples of the following solutions.

[0267] 17. A method of video processing, comprising: determining, during a conversion between a current video block of a video picture and a bitstream representation of the current video block, that the current video block contains samples that are located on a boundary of a video unit of the video picture; and performing the conversion based on the determination, wherein the performing the conversion includes generating virtual samples for an in-loop filtering process using a unified method that is the same for all boundary types of the video picture.

[0268] 18. The method according to solution 17, wherein the video unit is a slice or a tile or a 360-degree video.

[0269] 19. The method according to solution 17, wherein the in-loop filtering comprises adaptive loop filtering.

[0270] 20. A method according to any of solutions 17-19, in which the unified method is the double-sided padding method.

[0271] 21. A method according to any of Solutions 17-20, wherein the unified method is configured such that when accessing samples below a first line, padding is utilized to generate virtual samples for samples below the first line, and accessing samples above a second line is not permitted, and padding is utilized to generate virtual samples for samples above the second line.

[0272] 22. A method according to any of Solutions 17-20, wherein the unified method is configured such that when accessing samples above a first line, padding is used to generate virtual samples for samples above the first line, and accessing samples below a second line is also not permitted, and padding is used to generate virtual samples for samples below the second line.

[0273] 23. A method according to any of solutions 21-22, wherein the distance between the first line and the current line on which the current sample to be filtered is located, and the distance between the second line and the first line are equal.

[0274] Section 4, item 6 provides additional examples of the following solutions.

[0275] 24. A method of video processing comprising: during a conversion between a current video block of a video picture and its bitstream representation, determining to apply one of a plurality of adaptive loop filter sample selection methods available to said video picture during the conversion; and performing said conversion by applying one of a plurality of ALF sample selection methods.

[0276] 25. The method of Solution 24, wherein the multiple ALF sample selection methods include a first method in which a sample is selected before an in-loop filter is applied to a current video block during transformation, and a second method in which a sample is selected after an in-loop filter is applied to a current video block during transformation.

[0277] Section 4, item 7 provides additional examples of the following solutions.

[0278] 26. A method of video processing comprising: performing an in-loop filtering operation on samples of a current video block of a video picture during a conversion between the current video block and a bitstream representation of the current video block based on a boundary rule, the boundary rule disabling samples that cross a virtual pipeline data unit of the video picture, and performing the conversion using results of the in-loop filtering operation.

[0279] 27. The method according to solution 26, in which a VPDU corresponds to an area of ​​a video picture having a fixed size.

[0280] 28. The method according to any of Solutions 26-27, wherein the boundary rule further specifies using virtual samples for in-loop filtering in place of disabled samples.

[0281] 29. The method according to solution 28, wherein the virtual samples are generated by padding.

[0282] Section 4, item 8 provides additional examples of the following solutions.

[0283] 30. A video processing method comprising: performing an in-loop filtering operation on samples of a current video block of a video picture during a conversion between the current video block and a bitstream representation of the current video block based on a boundary rule, the boundary rule specifying that for positions of the current video block that cross a video unit boundary, samples that are generated without using padding are to be used; and performing the conversion using results of the in-loop filtering operation.

[0284] 31. The method described in solution 30, in which the sample is generated using the double-sided pad method.

[0285] 32. The method according to solution 30, wherein the in-loop filtering operation includes using the same virtual sample generation technique for symmetrically positioned samples during the in-loop filtering operation.

[0286] 33. The method of any of Solutions 30-32, wherein the in-loop filtering operation on the samples of the current video block includes performing a reshaping of the samples of the current video block before applying the in-loop filtering.

[0287] Section 4, item 9 provides additional examples of the following solutions.

[0288] 34. A method of video processing comprising: performing an in-loop filtering operation on samples of a current video block of a video picture during a conversion between the current video block and a bitstream representation of the current video block based on a boundary rule, the boundary rule selecting a filter for the in-loop filtering operation having a dimension such that samples of the current video block used during the in-loop filtering do not cross a boundary of a video unit of the video picture; and performing the conversion using a result of the in-loop filtering operation.

[0289] Section 4, item 10 provides additional examples of the following solutions.

[0290] 35. A method of video processing comprising: performing an in-loop filtering operation on samples of a current video block of a video picture during a conversion between the current video block and a bitstream representation of the current video block based on a boundary rule; selecting clipping parameters or filter coefficients for the in-loop filtering operation based on whether padded samples are required for the in-loop filtering; and performing the conversion using a result of the in-loop filtering operation.

[0291] 36. The method according to solution 35, wherein the clipping parameters or filter coefficients are included in the bitstream representation.

[0292] Section 4, item 11 provides additional examples of the following solutions.

[0293] 37. A method of video processing comprising: performing an in-loop filtering operation on samples of a current video block of a video picture during a conversion between the current video block and a bitstream representation of the current video block based on a boundary rule, the boundary rule being dependent on a color component identification of the current video block; and performing the conversion using results of the in-loop filtering operation.

[0294] 38. The method according to solution 37, wherein the boundary rules are different for the luma component and / or for different color components.

[0295] 39. A method according to any of Solutions 1-38, wherein the transforming includes coding the current video block into a bitstream representation.

[0296] 40. A method according to any of Solutions 1-38, wherein the conversion includes decoding a bitstream representation to generate sample values ​​for the current video block.

[0297] 41. A video encoding device comprising a processor configured to implement a method according to any of solutions 1-38.

[0298] 42. A video decoding device comprising a processor configured to implement a method according to any one of solutions 1-38.

[0299] 43. A computer readable medium having code stored thereon which, when executed by a processor, causes the processor to perform any of the methods set forth in 1-38.

[0300] FIG. 28 is a block diagram illustrating an example video processing system 2800 in which various techniques disclosed herein may be implemented. Various implementations may include some or all of the components of system 2800. System 2800 may include an input 2802 for receiving video content. The video content may be received in a raw or uncompressed format, e.g., 8 or 10-bit multi-component pixel values, or may be received in a compressed or coded format. Input 2802 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 networks, and wireless interfaces such as Wi-Fi or cellular interfaces.

[0301] The system 2800 may include a coding component 2804 that may implement various coding or encoding methods described in this document. The coding component 2804 may reduce the average bit rate of the video from the input 2802 to the output of the coding component 2804 to generate a coded representation of the video. Thus, the coding techniques are sometimes referred to as video compression or video transcoding techniques. The output of the coding component 2804 may be stored or transmitted over a connected communication, as represented by component 2806. The stored or communicated bitstream (or coded) representation of the video received at the input 2802 may be used by component 2808 to generate pixel values ​​or displayable video that are sent to the display interface 2810. The process of generating a user-viewable video from the bitstream representation is sometimes referred to as video decompression. Furthermore, although certain video processing operations are referred to as “coding” operations or tools, it will be understood that the coding tools or operations are used at an encoder and corresponding decoding tools or operations that reverse the results of the coding are performed at a decoder.

[0302] Examples of peripheral bus interfaces or display interfaces may include Universal Serial Bus (USB), or High Definition Multimedia Interface (HDMI), or DisplayPort, etc. Examples of storage interfaces include SATA (serial advanced technology attachment), PCI, IDE interfaces, etc. The techniques described herein may 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.

[0303] 29 is a flowchart representation of a method 2900 for video processing according to the present technology. The method 2900 includes, in operation 2910, determining a classification of samples of a block in a video picture of a video according to a rule. The video picture is divided into a plurality of regions. The rule prohibits the use of neighboring samples of a current sample that cross one or more boundaries of the plurality of regions for classification. The one or more boundaries of the plurality of regions constitute virtual boundaries for an adaptive loop filtering (ALF) process. The method 2900 also includes, in operation 2920, performing a conversion between the block and a bitstream representation of the video by selectively applying an adaptive loop filter according to the classification.

[0304] In some embodiments, if the neighboring samples of the current sample are not available for classification, the gradient of the current sample is not calculated. In some embodiments, the gradient is considered to be zero for classification. In some embodiments, the gradient is omitted in the classification.

[0305] In some embodiments, the directionality or activity value of a block for classification is scaled when the set of neighboring samples available for classification is a subset of the neighboring samples of the current sample. In some embodiments, classification requires the gradient of N samples of a block, and the gradient is calculated only for M samples in the block, where M and N are integers and M is less than N. The directionality or activity value of the block is scaled by a factor based on M and N. In some embodiments, the factor is N / M. In some implementations, the factor is M N It is.

[0306] In some embodiments, the one or more boundaries include at least a vertical boundary. In some embodiments, whether the classification is applicable with respect to a 360 virtual boundary of a video region used in 360-degree video coding is based on the location of the 360 ​​virtual boundary. In some embodiments, the classification is applicable with respect to a 360 virtual boundary when the 360 ​​virtual boundary is co-located with an actual boundary of a coding tree unit. In some embodiments, for samples located at a 360 virtual boundary in the ALF process, only a two-sided padding operation is applied. In some embodiments, the classification is not applied with respect to a 360 virtual boundary when the 360 ​​virtual boundary is separated from an actual boundary of a coding tree unit. In some embodiments, for samples located at a 360 virtual boundary in the ALF process, a one-sided padding operation is applied. In some embodiments, the one or more boundaries further include another virtual boundary, and a two-sided padding operation is applied after the one-sided padding operation in the ALF process. In some embodiments, the multiple regions include slices, bricks, tiles, or subpictures.

[0307] In some embodiments, the conversion includes encoding the video into a bitstream representation. In some embodiments, the conversion includes decoding the bitstream representation into the video.

[0308] Although specific embodiments of the disclosed technology have been described herein for purposes of illustration, it will be understood from the foregoing that various modifications can be made without departing from the scope of the invention. Accordingly, the presently disclosed technology is not to be limited except as by the appended claims.

[0309] Some embodiments of the disclosed techniques include making a decision or determination to enable a video processing tool or mode. In one example, if a video processing tool or mode is enabled, an encoder uses or implements the tool or mode in processing blocks of video, but may not necessarily modify the resulting bitstream based on the use of the tool or mode. That is, conversion of blocks of video to a bitstream representation of video uses the video processing tool or mode when enabled based on the decision or determination. In another example, if a video processing tool or mode is enabled, a decoder processes the bitstream knowing that the bitstream has been modified based on the video processing tool or mode. That is, conversion of a bitstream representation of video to blocks of video is performed using the video processing tool or mode enabled based on the decision or determination.

[0310] Some embodiments of the disclosed techniques include making a decision or determination to disable a video processing tool or mode. In one example, when a video processing tool or mode is disabled, an encoder does not use the tool or mode in converting blocks of video to a bitstream representation of the video. In another example, when a video processing tool or mode is disabled, a decoder processes the bitstream knowing that the bitstream has not been modified using a video processing tool or mode that was enabled based on the decision or determination.

[0311] The implementation and functional operation of the subject matter described in this patent document can be implemented in various systems, digital electronic circuits, or computer software, firmware, or hardware, including the structures disclosed herein and their structural equivalents, or in one or more combinations thereof. The implementation of the subject matter described herein can be implemented as one or more computer program products, such as one or more modules of computer program instructions coded on a tangible and non-transitory computer-readable medium for, for example, a data processing apparatus, or for controlling the operation of a data processing apparatus. The computer-readable medium can be a machine-readable storage device, a machine-readable storage substrate, a memory device, a composition of matter affecting a machine-readable propagating signal, or one or more combinations thereof. The term "data processing unit" or "data processing apparatus" encompasses all apparatuses, devices, and machines for processing data, including, for example, a programmable processor, a computer, or multiple processors or computers. In addition to hardware, an apparatus may include code that creates an execution environment for the computer program in question, such as code constituting processor firmware, a protocol stack, a database management system, an operating system, or one or more combinations thereof.

[0312] A computer program (also known as a program, software, software application, script, or code) can be written in any form of programming language, including compiled or interpreted languages, and it can be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit 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 as part 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 program in question, or in multiple cooperating files (e.g., a file that stores one or more modules, subprograms, or portions of code). A computer program can be deployed to be executed on multiple computers that are located on one computer or at one site, or distributed across multiple sites and interconnected by a communication network.

[0313] The processes and logic flows described herein may be performed by one or more programmable processors executing one or more computer programs to perform functions by operating on input data and generating output. The processes and logic flows may also be performed by special purpose logic circuitry, such as a FPG (field programmable gate array) or ASI (application specific integrated circuit), and may also be implemented by an apparatus.

[0314] Processors suitable for executing a computer program include, for example, both general purpose and special purpose microprocessors, and any one or more processors of any kind of digital computer. Typically, a processor receives instructions and data from a read-only memory or a random access memory, or both. The essential elements of a computer are a processor for executing instructions and one or more memory devices for storing instructions and data. Typically, a computer is also operatively coupled to receive data from, and to transfer data to, one or more mass storage devices, e.g., magnetic disks, magneto-optical disks, or optical disks, for storing data. However, a computer need not have such devices. Computer-readable media suitable for storing computer program instructions and data include all forms of non-volatile memory, media, and memory devices, including, for example, semiconductor memory devices such as EPROM, EEPROM, and flash memory devices. The processor and memory may be supplemented by, or incorporated in, special purpose logic circuitry.

[0315] The specification, together with the drawings, are to be considered merely illustrative, by way of example only. As used herein, the use of "or" is intended to include "and / or" unless the context clearly indicates otherwise.

[0316] Although this patent document contains many details, these should not be construed as limiting the scope of any invention or what may be claimed, but rather as descriptions of features specific to particular embodiments of a particular invention. Certain features described in this patent document in the context of separate embodiments may also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment may also be implemented in multiple embodiments separately or in any suitable subcombination. Furthermore, although features may be described above as acting in a particular combination and initially claimed as such, one or more features from a claimed combination may, in some cases, be carved out of the combination and the claimed combination may be directed to a subcombination or a variation of the subcombination.

[0317] Similarly, although the figures depict acts in a particular order, this should not be understood as requiring that such acts be performed in a particular order or sequential order, or that all of the acts illustrated be performed, to achieve desired results. Furthermore, the separation of various system components in the embodiments described in this patent document should not be understood as requiring such separation in all embodiments.

[0318] Only a few embodiments and examples have been described, and other implementations, extensions, and variations may be made based on what is described and explained in this patent document.

Claims

1. 1. A method for processing video data, comprising the steps of: determining that an adaptive loop filtering process is to be applied to a current coding tree block of the one or more coding tree blocks for conversion between a picture of a video including the one or more coding tree blocks and a bitstream of the video; determining a classification of the M×N region of the current coding tree block based on gradients derived from P×Q regions including the M×N region according to a rule; The rules prohibit the use of samples in the P×Q region across one or more boundaries of multiple types of video regions; and The picture is divided into a plurality of types of video regions; M, N, P, and Q are positive integers, P is greater than M, and Q is greater than N. Steps and performing said transformation by applying said adaptive loop filtering process according to the determined classification; The adaptive loop filtering process comprises: deriving a set of filtering coefficients for the M×N region based on the determined classification; determining a set of clipping values ​​for the M×N region; and performing a filtering operation based on the set of filtering coefficients and the set of clipping values; and Including, the one or more boundaries further conditionally include at least one of a slice boundary, a tile boundary, or a sub-picture boundary; and applying a one-sided padding operation to generate one or more virtual samples for said samples spanning said one or more boundaries; the one or more virtual samples are copied from samples available within a video region in which the M×N region is located. method.

2. The one or more boundaries include at least a 360 degree virtual or picture boundary. The method of claim 1.

3. The method further comprises: determining whether a virtual boundary is valid for the current coding tree block based on a relationship between a bottom boundary of the current coding tree block and a bottom boundary of the picture; The method of claim 1 , comprising:

4. the virtual boundary is valid if the bottom boundary of the current coding tree block is not the bottom boundary of the picture. The method according to claim 3.

5. The virtual boundary is used to determine the classification; and Samples outside the virtual boundary are not used to determine the classification. The method according to claim 3 or 4.

6. The M×N region is a 4×4 region, and The P×Q region is a 10×10 region.

6. The method according to any one of claims 1 to 5.

7. In determining the classification, a 1:2 subsampling is used.

7. The method according to any one of claims 1 to 6.

8. the converting includes encoding the video into the bitstream; 8. The method according to any one of claims 1 to 7.

9. The converting includes decoding the bitstream into the video.

8. The method according to any one of claims 1 to 7.

10. 16. An apparatus for processing video data, comprising: a processor; and a non-transitory memory having instructions stored thereon, the instructions, when executed by the processor, The processor, determining that an adaptive loop filtering process is applied to a current coding tree block of the one or more coding tree blocks for conversion between a picture of a video including one or more coding tree blocks and a bitstream of the video; determining a classification of the M×N region of the current coding tree block based on a gradient derived from a P×Q region including the M×N region according to a rule; The rules prohibit the use of samples in the P×Q region across one or more boundaries of multiple types of video regions; and The picture is divided into a plurality of types of video regions; M, N, P, and Q are positive integers, P is greater than M and Q is greater than N; performing the transformation by applying the adaptive loop filtering process according to the determined classification, the adaptive loop filtering process comprising: deriving a set of filtering coefficients for the M×N region based on the determined classification; determining a set of clipping values ​​for the M×N region; and performing a filtering operation based on the set of filtering coefficients and the set of clipping values; Including, the one or more boundaries further conditionally include at least one of a slice boundary, a tile boundary, or a sub-picture boundary; and applying a one-sided padding operation to generate one or more virtual samples for said samples spanning said one or more boundaries; the one or more virtual samples are copied from samples available within a video region in which the M×N region is located. A device that makes it possible to do so.

11. A non-transitory computer-readable storage medium having instructions stored thereon that, when executed, cause a processor to: determining that an adaptive loop filtering process is applied to a current coding tree block of the one or more coding tree blocks for conversion between a picture of a video including one or more coding tree blocks and a bitstream of the video; determining a classification of the M×N region of the current coding tree block based on a gradient derived from a P×Q region including the M×N region according to a rule; The rules prohibit the use of samples in the P×Q region across one or more boundaries of multiple types of video regions; and The picture is divided into a plurality of types of video regions; M, N, P, and Q are positive integers, P is greater than M and Q is greater than N; performing the transformation by applying the adaptive loop filtering process according to the determined classification, the adaptive loop filtering process comprising: deriving a set of filtering coefficients for the M×N region based on the determined classification; determining a set of clipping values ​​for the M×N region; and performing a filtering operation based on the set of filtering coefficients and the set of clipping values; Including, the one or more boundaries further conditionally include at least one of a slice boundary, a tile boundary, or a sub-picture boundary; and applying a one-sided padding operation to generate one or more virtual samples for said samples spanning said one or more boundaries; the one or more virtual samples are copied from samples available within a video region in which the M×N region is located. A non-transitory computer-readable storage medium.

12. A method for archiving a bitstream of video, the method comprising: determining, for a picture of a video that includes one or more coding tree blocks, that an adaptive loop filtering process is to be applied to a current coding tree block of the one or more coding tree blocks; determining a classification of the M×N region of the current coding tree block based on gradients derived from P×Q regions including the M×N region according to a rule; The rules prohibit the use of samples in the P×Q region across one or more boundaries of multiple types of video regions; and The picture is divided into a plurality of types of video regions; M, N, P, and Q are positive integers, P is greater than M, and Q is greater than N. Steps and generating the bitstream by applying the adaptive loop filtering process according to the determined classification, and storing the bitstream in a non-transitory computer-readable recording medium; The adaptive loop filtering process comprises: deriving a set of filtering coefficients for the M×N region based on the determined classification; determining a set of clipping values ​​for the M×N region; and performing a filtering operation based on the set of filtering coefficients and the set of clipping values; and Including, the one or more boundaries further conditionally include at least one of a slice boundary, a tile boundary, or a sub-picture boundary; and applying a one-sided padding operation to generate one or more virtual samples for said samples spanning said one or more boundaries; the one or more virtual samples are copied from samples available within a video region in which the M×N region is located. method.

Citation Information

Cited By

  • Padding process in adaptive loop filtering

    US12273527B2

  • Padding process at unavailable sample locations in adaptive loop filtering

    US12382105B2

  • Classification in adaptive loop filtering

    US12425585B2

  • Handling video unit boundaries and virtual boundaries

    US12526407B2

  • Sample determination for adaptive loop filtering

    US12621445B2