Video data decoding apparatus, video data encoding apparatus and method

By using a quadtree/binary tree structure to divide video data in video encoding, the problem of insufficient flexibility in rectangular block division in existing technologies is solved, and a more efficient video encoding effect is achieved.

CN118694941APending Publication Date: 2024-09-24SHARP KK
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410923056.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2018-09-13
Filing Date
2019-05-27
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

Existing video coding technologies, especially ITU-T H.265 and JEM, suffer from insufficient flexibility in dividing video data into rectangular blocks, leading to inadequate coding efficiency.

Method used

The video data is partitioned using a quadtree binary tree (QTBT) structure, which allows the luminance and chrominance channels to have a common partitioning structure up to the coding unit (CU) level, and further independent partitioning within the coding units associated with the intra-frame prediction type, supporting more flexible rectangular block partitioning.

Benefits of technology

It improves the flexibility and efficiency of video encoding, enabling more effective use of the characteristics of video data for compression and enhancing encoding quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118694941A_ABST
    Figure CN118694941A_ABST
Patent Text Reader

Abstract

The invention provides a video encoding device. The video encoding device can be configured to perform video encoding according to one or more of the techniques described herein.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to video encoding, and more particularly to techniques for partitioning pictures of video data. Background Art

[0002] Digital video capabilities can be incorporated into various devices, including digital televisions, laptop or desktop computers, tablet computers, digital recording devices, digital media players, video game devices, cellular phones (including so-called smart phones), medical imaging devices, etc. Digital video can be encoded according to video coding standards. Video coding standards can be combined with video compression technology. Examples of video coding standards include ISO / IEC MPEG-4Visual and ITU-T H.264 (also known as ISO / IEC MPEG-4AVC) and high-efficiency video coding (HEVC). HEVC is described in High Efficiency Video Coding (HEVC), ITU-T Recommendation H.265 in April 2015, which is incorporated by reference and referred to as ITU-T H.265 in this article. ITU-T H.265 is currently being considered for expansion and improvement to develop the next generation of video coding standards. For example, the ITU-T Video Coding Experts Group (VCEG) and the ISO / IEC Moving Picture Experts Group (MPEG) (collectively referred to as the Joint Video Study Group (JVET)) are studying the potential need for standardization of future video coding technologies with compression capabilities significantly exceeding the current HEVC standard. Joint Exploration Model 6 (JEM 6), Algorithmic Description of Joint Exploration Test Model 6 (JEM 6), ISO / IEC JTC1 / SC29 / WG11 Document: JVET-F1001 Edition 3 (April 2017, Hobart, Australia), and Joint Exploration Model 7 (JEM 7), Algorithmic Description of Joint Exploration Test Model 7 (JEM 7), ISO / IEC JTC1 / SC29 / WG11 Document: JVET-G1001 (July 2017, Turin, Italy), each of which is incorporated herein by reference, describe coding features under the coordinated test model study by JVET, which is a potential enhanced video coding technology beyond the capabilities of ITU-T H.265. It should be noted that the coding features of JEM 6 and JEM 7 are implemented in the JEM reference software. As used herein, the term "JEM" is used to refer collectively to the algorithms included in JEM 6 and JEM 7 and the specific implementation of the JEM reference software.

[0003] Video compression technology can reduce the data requirements for storing and transmitting video data. Video compression technology can reduce data requirements by exploiting the inherent redundancy in video sequences. Video compression technology can divide video sequences into consecutive smaller parts (i.e., frame groups within video sequences, frames within frame groups, fragments within frames, coding tree units within fragments (e.g., macroblocks), coding blocks within coding tree units, etc.). Intra-frame prediction coding techniques (e.g., within pictures (space)) and inter-frame prediction techniques (i.e., between pictures (time)) can be used to generate the difference between the video data unit to be encoded and the reference unit of the video data. The difference can be called residual data. The residual data can be encoded as quantized transform coefficients. Syntax elements can involve residual data and reference coding units (e.g., intra-frame prediction mode indexes, motion vectors, and block vectors). The residual data and syntax elements can be entropy encoded. Entropy-encoded residual data and syntax elements can be included in a compatible bitstream. Summary of the invention

[0004] In one example, a method of partitioning video data for video encoding includes receiving a video block including sample values ​​for a first component of the video data and a second component of the video data, partitioning the sample values ​​for the first component of the video data and the second component of the video data according to a first quadtree binary tree partitioning structure, and for the sample values ​​of the first component of the video data included in a node of the first quadtree binary tree associated with an intra-frame prediction type, further partitioning the samples according to a second quadtree binary tree.

[0005] In one example, a method for determining partitioning of video data includes parsing a first quadtree-binary tree partitioning structure, applying the first quadtree-binary tree partitioning structure to a first component of the video data, applying the first quadtree-binary tree partitioning structure to a second component of the video data, determining whether nodes of the first quadtree-binary tree are associated with an intra-frame prediction type, after determining that the nodes of the first quadtree-binary tree are associated with the intra-frame prediction type, parsing a second quadtree-binary tree partitioning structure, and applying the second quadtree-binary tree partitioning structure to sample values ​​of the first component of the video data included in the nodes of the first quadtree-binary tree. BRIEF DESCRIPTION OF THE DRAWINGS

[0006] Figure 1 is a block diagram illustrating an example of a system that may be configured to encode and decode video data in accordance with one or more techniques of this disclosure.

[0007] Figure 2 is a conceptual diagram illustrating an example of a quadtree binary tree in accordance with one or more techniques of this disclosure.

[0008] Figure 3is a conceptual diagram illustrating a quadtree binary tree partitioning of video components in accordance with one or more techniques of this disclosure.

[0009] Figure 4 is a conceptual diagram illustrating an example of a video component sampling format in accordance with one or more techniques of this disclosure.

[0010] Figure 5 is a conceptual diagram illustrating a possible encoding structure for a block of video data in accordance with one or more techniques of this disclosure.

[0011] Fig. 6A is a conceptual diagram illustrating an example of encoding a block of video data in accordance with one or more techniques of this disclosure.

[0012] Figure 6B is a conceptual diagram illustrating an example of encoding a block of video data in accordance with one or more techniques of this disclosure.

[0013] Figure 7 is a block diagram illustrating an example of a system that may be configured to encode and decode video data in accordance with one or more techniques of this disclosure.

[0014] Figure 8 is a block diagram illustrating an example of a video encoder that may be configured to encode video data in accordance with one or more techniques of this disclosure.

[0015] Fig. 9 is a conceptual diagram illustrating video component partitioning in accordance with one or more techniques of this disclosure.

[0016] Fig.10 is a conceptual diagram illustrating video component partitioning in accordance with one or more techniques of this disclosure.

[0017] Fig.11A is a conceptual diagram illustrating partitioning according to one or more techniques of this disclosure.

[0018] Fig. 11B is a conceptual diagram illustrating partitioning according to one or more techniques of this disclosure.

[0019] Fig.12 is a conceptual diagram illustrating a quadtree binary tree partitioning of video components in accordance with one or more techniques of this disclosure.

[0020] Fig.13 is a conceptual diagram illustrating video component partitioning in accordance with one or more techniques of this disclosure.

[0021] Fig.14A is a conceptual diagram illustrating a quadtree binary tree partitioning of video components in accordance with one or more techniques of this disclosure.

[0022] Fig. 14B is a conceptual diagram illustrating a quadtree binary tree partitioning of video components in accordance with one or more techniques of this disclosure.

[0023] Fig.15A is a conceptual diagram illustrating a quadtree binary tree partitioning of video components in accordance with one or more techniques of this disclosure.

[0024] Fig. 15B is a conceptual diagram illustrating a quadtree binary tree partitioning of video components in accordance with one or more techniques of this disclosure.

[0025] Fig.16 is a block diagram illustrating an example of a video decoder that may be configured to decode video data in accordance with one or more techniques of this disclosure. DETAILED DESCRIPTION

[0026] In general, the present disclosure describes various techniques for encoding video data. Specifically, the present disclosure describes techniques for dividing pictures of video data. It should be noted that although the techniques of the present disclosure are described with respect to ITU-T H.264, ITU-T H.265, and JEM, the techniques of the present disclosure are generally applicable to video coding. For example, the coding techniques described herein may be incorporated into a video coding system including a block structure (including a video coding system based on a future video coding standard), an intra-frame prediction technique, an inter-frame prediction technique, a transform technique, a filtering technique, and / or an entropy coding technique (except those included in ITU-T H.265 and JEM). Therefore, reference to ITU-T H.264, ITU-T H.265, and / or JEM is for descriptive purposes and should not be interpreted as limiting the scope of the techniques described herein. In addition, it should be noted that the reference is incorporated herein by reference for descriptive purposes and should not be interpreted as limiting or creating ambiguity about the terms used herein. For example, where an incorporated reference provides a definition for a term that differs from that of another incorporated reference and / or as used herein, the term should be interpreted in a manner that broadly includes each respective definition and / or in a manner that includes each specific definition in alternatives.

[0027] In one example, a device for partitioning video data for video encoding includes one or more processors configured to: receive a video block including sample values ​​for a first component of the video data and a second component of the video data, partition the sample values ​​for the first component of the video data and the second component of the video data according to a first quadtree binary tree partitioning structure, and for the sample values ​​of the first component of the video data included in nodes of the first quadtree binary tree associated with an intra-frame prediction type, further partition the samples according to a second quadtree binary tree.

[0028] In one example, a non-transitory computer-readable storage medium includes instructions stored thereon that, when executed, cause one or more processors of a device to: receive a video block including sample values ​​for a first component of video data and a second component of the video data, partition the sample values ​​for the first component of the video data and the second component of the video data according to a first quadtree binary tree partitioning structure, and for the sample values ​​of the first component of the video data included in a node of the first quadtree binary tree associated with an intra-frame prediction type, further partition the samples according to a second quadtree binary tree.

[0029] In one example, an apparatus includes: an apparatus for receiving a video block including sample values ​​for a first component of video data and a second component of the video data; an apparatus for partitioning the sample values ​​of the first component of the video data and the second component of the video data according to a first quadtree binary tree partitioning structure; and an apparatus for further partitioning the samples according to a second quadtree binary tree for the sample values ​​of the first component of the video data included in a node associated with an intra-frame prediction type of the first quadtree binary tree.

[0030] In one example, a device for determining a partition of video data includes one or more processors configured to: parse a first quadtree-binary tree partition structure, apply the first quadtree-binary tree partition structure to a first component of the video data, apply the first quadtree-binary tree partition structure to a second component of the video data, determine whether a node of the first quadtree-binary tree is associated with an intra-frame prediction type, parse a second first quadtree-binary tree partition structure after determining that the node of the first quadtree-binary tree is associated with the intra-frame prediction type, and apply the second quadtree-binary tree partition structure to sample values ​​of the first component of the video data included in the nodes of the first quadtree-binary tree.

[0031] In one example, a non-transitory computer-readable storage medium includes instructions stored thereon that, when executed, cause one or more processors of a device to: parse a first quadtree-binary tree partition structure, apply the first quadtree-binary tree partition structure to a first component of video data, apply the first quadtree-binary tree partition structure to a second component of the video data, determine whether a node of the first quadtree-binary tree is associated with an intra-frame prediction type, parse a second first quadtree-binary tree partition structure after determining that the node of the first quadtree-binary tree is associated with the intra-frame prediction type, and apply the second quadtree-binary tree partition structure to sample values ​​of the first component of the video data included in the nodes of the first quadtree-binary tree.

[0032] In one example, a device includes: a device for parsing a first quadtree-binary tree partition structure; a device for applying the first quadtree-binary tree partition structure to a first component of video data; a device for applying the first quadtree-binary tree partition structure to a second component of video data; a device for determining whether a node of the first quadtree-binary tree is associated with an intra-frame prediction type; a device for parsing a second first quadtree-binary tree partition structure after determining that the node of the first quadtree-binary tree is associated with the intra-frame prediction type; and a device for applying the second quadtree-binary tree partition structure to sample values ​​of the first component of video data included in the nodes of the first quadtree-binary tree.

[0033] The details of one or more examples are set forth in the accompanying drawings and the description below. Other features, objects, and advantages will be apparent from the description and drawings, and from the claims.

[0034] Video content generally includes a video sequence consisting of a series of frames (or pictures). A series of frames may also be referred to as a group of pictures (GOP). Each video frame or picture may include multiple segments or tiles, wherein the segments or tiles include multiple video blocks. As used herein, the term "video block" may generally refer to an area of ​​a picture, or may more specifically refer to a maximum array of sample values ​​that can be predictively encoded, its sub-partitions and / or corresponding structures. In addition, the term "current video block" may refer to an area of ​​a picture being encoded or decoded. A video block may be defined as an array of sample values ​​that can be predictively encoded. It should be noted that in some cases, a pixel value may be described as a sample value comprising a corresponding component of video data, which may also be referred to as a color component (e.g., brightness (Y) and chrominance (Cb and Cr) components or red, green and blue components). It should be noted that in some cases, the terms "pixel value" and "sample value" may be used interchangeably. Video blocks may be sorted within a picture according to a scanning mode (e.g., raster scanning). A video encoder may perform predictive coding on a video block and its sub-partitions. A video block and its sub-partitions may be referred to as a node. Furthermore, in some cases, a node may be a leaf node, and in some cases, a node may be a root node.

[0035] ITU-T H.264 specifies a macroblock including 16×16 luma samples. That is, in ITU-T H.264, a picture is partitioned into macroblocks. ITU-T H.265 specifies a similar coding tree unit (CTU) structure. In ITU-T H.265, a picture is partitioned into CTUs. In ITU-T H.265, for a picture, the CTU size can be set to include 16×16, 32×32, or 64×64 luma samples. In ITU-T H.265, a CTU consists of a corresponding coding tree block (CTB) for each component of video data, such as luma (Y) and chroma (Cb and Cr). It should be noted that a video with one luma component and two corresponding chroma components can be described as having two channels, i.e., a luma channel and a chroma channel. In addition, in ITU-T H.265, a CTU can be partitioned according to a quadtree (QT) partitioning structure, which causes the CTB of a CTU to be partitioned into coding blocks (CBs). That is, in ITU-T H.265, a CTU can be divided into quad leaf nodes. According to ITU-T H.265, a luma CB together with two corresponding chroma CBs and associated syntax elements is called a coding unit (CU). In ITU-T H.265, the minimum allowed size of a CB can be signaled. In ITU-T H.265, the minimum allowed size of a luma CB is 8×8 luma samples. That is, in ITU-T H.265, the decision to encode a picture area using intra prediction or inter prediction is made at the CU level.

[0036] In ITU-T H.265, a CU is associated with a prediction unit (PU) structure having its root at the CU. In ITU-T H.265, the PU structure allows the partitioning of luma CB and chroma CB to generate corresponding reference samples. That is, in ITU-T H.265, the luma CB and chroma CB can be partitioned into corresponding luma prediction blocks and chroma prediction blocks (PBs), where the PBs include blocks of sample values ​​to which the same prediction is applied. In ITU-T H.265, the CB can be divided into 1, 2, or 4 PBs. ITU-T H.265 supports PB sizes from 64×64 samples down to 4×4 samples. In ITU-T H.265, square PBs are supported for intra prediction, where the CBs can form a PB, or the CBs can be partitioned into four square PBs (i.e., the intra prediction PB types include M×M or M / 2×M / 2, where M is the height and width of the square CB). In ITU-T H.265, in addition to square PBs, rectangular PBs are also supported for inter prediction, where the CB can be halved vertically or horizontally to form a PB (i.e., inter prediction PB types include M×M, M / 2×M / 2, M / 2×M, or M×M / 2). In addition, it should be noted that in ITU-T H.265, for inter prediction, four asymmetric PB partitions are supported, where the CB is divided into two PBs at one quarter of the height (top or bottom) or width (left or right) of the CB (i.e., asymmetric partitions include M / 4×M left, M / 4×M right, M×M / 4 top, and M×M / 4 bottom). Intra prediction data (e.g., intra prediction mode syntax elements) or inter prediction data (e.g., motion data syntax elements) corresponding to the PB are used to generate reference and / or prediction sample values ​​for the PB.

[0037] JEM specifies that a CTU has a maximum size of 256×256 luma samples. JEM specifies a quadtree plus binary tree (QTBT) block structure. In JEM, the QTBT structure allows the quadtree leaf nodes to be further divided by the binary tree (BT) structure. That is, in JEM, the binary tree structure allows the quadtree leaf nodes to be recursively divided vertically or horizontally. Figure 1 An example is shown in which a CTU (e.g., a CTU having a size of 256×256 luma samples) is divided into quad leaf nodes and the quad leaf nodes are further divided according to a binary tree. Figure 1 In FIG. 1 , the dashed lines indicate additional binary tree partitions in the quadtree. Therefore, the binary tree structure in JEM implements square and rectangular leaf nodes, where each leaf node includes a CB. Figure 1 As shown, a picture included in a GOP may include slices, wherein each slice includes a CTU sequence, and each CTU may be divided according to a QTBT structure. Figure 1An example of QTBT partitioning of one CTU included in a segment is shown. Figure 2 is shown corresponding to Figure 1 An exemplary QTBT is shown conceptually showing an example of a partitioned QTBT.

[0038] In JEM, QTBT is signaled by signaling a QT split flag and a BT split mode syntax element. When the value of the QT split flag is 1, QT splitting is indicated. When the value of the QT split flag is 0, the BT split mode syntax element is signaled. When the value of the BT split mode syntax element is 0 (i.e., BT split mode coding tree = 0), binary splitting is not indicated. When the value of the BT split mode syntax element is 1 (i.e., BT split mode coding tree = 11), vertical splitting mode is indicated. When the value of the BT split mode syntax element is 2 (i.e., BT split mode coding tree = 10), horizontal splitting mode is indicated. In addition, BT splitting can be performed until the maximum BT depth is reached. Therefore, according to JEM, Figure 2 The QTBT shown in can be expressed based on the pseudo-grammar provided in Table 1:

[0039]

[0040]

[0041] Table 1

[0042] In one example, when the maximum QT depth is reached, the signaling of the QT flag may be skipped and its value may be inferred, e.g., to 0. In one example, when the current depth is less than the minimum QT depth, the signaling of the QT flag may be skipped and its value may be inferred, e.g., to 1. In one example, when the maximum depth for signaling of a split type is reached, the associated syntax elements may not be signaled in the bitstream and their values ​​may be inferred. In one example, when the minimum depth for signaling of a split type has not been reached, the associated syntax elements may not be signaled in the bitstream and their values ​​may be inferred. In one example, when QT splitting is not allowed and when the current depth is less than the minimum BT depth, the signaling of BT splitting may be modified to not allow BT splitting equal to 0.

[0043] like Figure 2 As shown in Table 1, the QT split flag syntax element and the BT split mode syntax element are associated with a depth, where a depth of zero corresponds to the root of the QTBT, and a higher value of the depth corresponds to a subsequent depth other than the root. In addition, in JEM, luma and chroma components may have separate QTBT partitions. That is, in JEM, the luma component and the chroma component may be independently partitioned by signaling the corresponding QTBT. Figure 3An example of dividing a CTU according to a QTBT for luma components and independent QTBTs for chroma components is shown. Figure 3 As shown, when independent QTBT is used to partition CTU, the CB of luma component does not need to and is not necessarily aligned with the CB of chroma component. Currently, in JEM, independent QTBT structure is enabled for intra prediction technology fragments.

[0044] It should be noted that JEM includes the following parameters for signaling the QTBT tree.

[0045] CTU size: the size of the root node of the quadtree (e.g., 256×256, 128×128, 64×64, 32×32, 16×16 luma samples);

[0046] MinQTSize: minimum allowed quadleaf node size (e.g., 16×16, 8×8 brightness samples);

[0047] MaxBTSize: Maximum allowed binary tree root node size, i.e., the maximum size of a leaf quadtree node that can be divided by binary splitting (e.g., 64×64 brightness samples);

[0048] MaxBTDepth: the maximum allowed binary tree depth, i.e. the lowest level at which a binary tree split can occur, with a quadtree leaf node as the root (e.g., 3);

[0049] MinBTSize: The minimum allowed binary leaf node size; that is, the minimum width or height of a binary leaf node (e.g., 4 luma samples).

[0050] It should be noted that in some examples, MinQTSize, MaxBTSize, MaxBTDepth and / or MinBTSize may be different for different components of a video.

[0051] In JEM, CB is used for prediction without any further partitioning. That is, in JEM, CB can be a block of sample values ​​to which the same prediction is applied. Therefore, JEM QTBT leaf node can be similar to PB in ITU-T H.265.

[0052] The video sampling format (which may also be referred to as the chroma format) may define the number of chroma samples included in a CU relative to the number of luma samples included in the CU. For example, for a 4:2:0 sampling format, the sampling rate of the luma component is twice the sampling rate of the chroma components in both horizontal and vertical directions. Therefore, for a CU formatted according to the 4:2:0 format, the width and height of the sample array for the luma component are twice the width and height of each sample array for the chroma components. Figure 4is a conceptual diagram illustrating an example of coding units formatted according to a 4:2:0 sample format. Figure 4 shows the relative position of chroma samples relative to luma samples within a CU. As mentioned above, a CU is usually defined based on the number of horizontal and vertical luma samples. Figure 4 As shown, a 16×16 CU formatted according to the 4:2:0 sample format includes 16×16 samples of the luma component and 8×8 samples for each chroma component. Figure 4 In the example shown, the relative positions of chroma samples of adjacent video blocks of a 16×16 CU with respect to luma samples are shown. For a CU formatted according to the 4:2:2 format, the width of the sample array of the luma component is twice the width of the sample array of each chroma component, but the height of the sample array of the luma component is equal to the height of the sample array of each chroma component. In addition, for a CU formatted according to the 4:4:4 format, the sample array of the luma component has the same width and height as the sample array of each chroma component.

[0053] As described above, intra prediction data or inter prediction data is used to generate reference sample values ​​for a block of sample values. The difference between the sample values ​​included in the current PB or another type of picture region structure and the associated reference samples (e.g., those generated using prediction) may be referred to as residual data. The residual data may include a corresponding difference array corresponding to each component of the video data. The residual data may be in the pixel domain. A transform such as a discrete cosine transform (DCT), a discrete sine transform (DST), an integer transform, a wavelet transform, or a conceptually similar transform may be applied to the difference array to generate transform coefficients. It should be noted that in ITU-T H.265, a CU is associated with a transform unit (TU) structure having its root at the CU level. That is, in ITU-T H.265, in order to generate transform coefficients, the array of difference values ​​may be subdivided (e.g., four 8×8 transforms may be applied to a 16×16 residual value array). For each component of the video data, such subdivision of the difference values ​​may be referred to as a transform block (TB). It should be noted that in ITU-T H.265, TBs are not necessarily aligned with PBs. Figure 5 Examples of alternative PB and TB combinations that can be used to encode a particular CB are shown. Furthermore, it should be noted that in ITU-T H.265, TBs can have the following sizes: 4×4, 8×8, 16×16, and 32×32.

[0054] It should be noted that in JEM, the residual values ​​corresponding to the CB are used to generate transform coefficients without further partitioning. That is, in JEM, the QTBT leaf nodes can be similar to the PB and TB in ITU-T H.265. It should be noted that in JEM, a core transform and a subsequent secondary transform can be applied (in a video encoder) to generate transform coefficients. For a video decoder, the order of transforms is reversed. In addition, in JEM, whether a secondary transform is applied to generate transform coefficients may depend on the prediction mode.

[0055] A quantization process may be performed on the transform coefficients. Quantization scales the transform coefficients to change the amount of data required to represent a set of transform coefficients. Quantization may include dividing the transform coefficients by a quantization scaling factor and any associated rounding function (e.g., rounding to the nearest integer). The quantized transform coefficients may be referred to as coefficient level values. Inverse quantization (or "dequantization") may include multiplying the coefficient level values ​​by the quantization scaling factor. It should be noted that, as used herein, the term quantization process may refer to division by a scaling factor in some cases to generate a level value, and may refer to multiplication by a scaling factor in some cases to restore the transform coefficients. That is, the quantization process may refer to quantization in some cases, and may refer to inverse quantization in some cases. In addition, it should be noted that although the quantization process is described in the following examples with respect to arithmetic operations associated with decimal notation, such description is for illustrative purposes and should not be construed as limiting. For example, the techniques described herein may be implemented in a device using binary operations, etc. For example, the multiplication and division operations described herein may be implemented using shift operations, etc.

[0056] FIG. 6A to FIG. 6B is a conceptual diagram showing an example of encoding a video data block. Fig. 6A As shown, a current block of video data (e.g., corresponding to a CB of a video component) is encoded by subtracting a set of prediction values ​​from the current block of video data to generate a residual, performing a transform on the residual, and quantizing the transform coefficients to generate a level value. Figure 6B As shown, the current video data block is decoded by performing inverse quantization on the level value, performing inverse transformation, and adding a set of prediction values ​​to the resulting residual. It should be noted that in FIG. 6A to FIG. 6B In the example of , the sample values ​​of the reconstructed block are different from the sample values ​​of the current video block being encoded. In this way, the encoding can be considered lossy. However, for a viewer of the reconstructed video, the difference in sample values ​​can be considered acceptable or imperceptible. In addition, FIG. 6A to FIG. 6B As shown, scaling is performed using an array of scaling factors.

[0057] In ITU-T H.265, a scaling factor array is generated by selecting a scaling matrix and multiplying each entry in the scaling matrix by a quantization scaling factor. In ITU-T H.265, a scaling matrix is ​​selected based on the prediction mode and the color component, where scaling matrices of the following sizes are defined: 4×4, 8×8, 16×16, and 32×32. Therefore, it should be noted that ITU-TH.265 does not define scaling matrices for sizes other than 4×4, 8×8, 16×16, and 32×32. In ITU-T H.265, the value of the quantization scaling factor can be determined by the quantization parameter QP. In ITU-T H.265, QP can take 52 values ​​from 0 to 51, and a QP change of 1 generally corresponds to a change of about 12% in the value of the quantization scaling factor. In addition, in ITU-T H.265, a QP value for a set of transform coefficients may be derived using a predicted quantization parameter value (which may be referred to as a predicted QP value or a QP prediction value) and an optionally signaled quantization parameter delta value (which may be referred to as a QP delta value or a delta QP value). In ITU-T H.265, a quantization parameter may be updated for each CU, and a quantization parameter may be derived for each of luma (Y) and chroma (Cb and Cr) components.

[0058] like Fig. 6AAs shown, the quantized transform coefficients are encoded into a bitstream. The quantized transform coefficients and syntax elements (e.g., syntax elements indicating the coding structure of the video block) may be entropy encoded according to an entropy coding technique. Examples of entropy coding techniques include content adaptive variable length coding (CAVLC), context adaptive binary arithmetic coding (CABAC), probability interval partitioning entropy coding (PIPE), etc. The entropy-coded quantized transform coefficients and the corresponding entropy-coded syntax elements may form a compatible bitstream that can be used to reproduce video data at a video decoder. The entropy coding process may include binarizing the syntax elements. Binarization refers to the process of converting the value of a syntax value into a sequence of one or more bits. These bits may be referred to as "binary bits". Binarization is a lossless process and may include one or a combination of the following coding techniques: fixed length coding, unary coding, truncated unary coding, truncated Rice coding, Golomb coding, k-order exponential Golomb coding, and Golomb-Rice coding. For example, binarization may include representing the integer value 5 of the syntax element as 00000101 using an 8-bit fixed-length binarization technique, or representing the integer value 5 as 11110 using a unary coding binarization technique. As used herein, each of the terms fixed-length coding, unary coding, truncated unary coding, truncated Rice coding, Golomb coding, k-order exponential Golomb coding, and Golomb-Rice coding may refer to general implementations of these techniques and / or more specific implementations of these coding techniques. For example, a Golomb-Rice coding implementation may be specifically defined according to a video coding standard (e.g., ITU-T H.265). The entropy coding process also includes encoding the bin value using a lossless data compression algorithm. In the example of CABAC, for a particular bin, a context model may be selected from a set of available context models associated with the bin. In some examples, a context model may be selected based on a previous bin and / or a value of a previous syntax element. A context model may identify the probability that a bin has a particular value. For example, the context model may indicate that the probability of encoding a 0-value box is 0.7, and the probability of encoding a 1-value box is 0.3. It should be noted that in some cases, the sum of the probability of encoding a box with a value of 0 and the probability of encoding a box with a value of 1 may not be equal to 1. After selecting an available context model, the CABAC entropy encoder may arithmetically encode the box based on the identified context model. The context model may be updated based on the value of the encoded box. The context model may be updated based on associated variables stored with the context, such as the adaptation window size, the number of encoded boxes using the context. It should be noted that according to ITU-T H.265, the CABAC entropy encoder may be implemented so that some syntax elements may be entropy encoded using arithmetic coding without using an explicitly specified context model, and such encoding may be referred to as bypass coding.

[0059] As described above, the sample values ​​of the reconstructed block may be different from the sample values ​​of the current video block being encoded. In addition, it should be noted that, in some cases, encoding video data block by block may result in artifacts (e.g., so-called block artifacts, band artifacts, etc.). For example, block artifacts may result in the boundaries of the encoded blocks of the reconstructed video data being visually perceptible to the user. In this way, the reconstructed sample values ​​may be modified to minimize the differences between the sample values ​​of the encoded current video block and / or to minimize artifacts introduced by the video encoding process. Such modifications may generally be referred to as filtering. It should be noted that filtering may occur as part of a filtering process in a loop or a filtering process after a loop. For the filtering process in a loop, the sample values ​​obtained by the filtering process may be used to predict the video block (e.g., stored in a reference frame buffer for subsequent encoding at a video encoder and subsequent decoding at a video decoder). For the filtering process after a loop, the sample values ​​obtained by the filtering process are output only as part of the decoding process (e.g., not used for subsequent encoding). For example, with respect to a video decoder, for the filtering process in a loop, the sample values ​​generated by filtering the reconstructed block will be used for subsequent decoding (e.g., stored in a reference buffer) and will be output (e.g., output to a display). For the loop post-filtering process, the reconstructed block will be used for subsequent decoding, and the sample values ​​generated by filtering the reconstructed block will be output.

[0060] Deblocking (or deblocking), deblocking filtering, or applying a deblocking filter refers to the process of smoothing the boundaries of adjacent reconstructed video blocks (i.e., making the boundaries less noticeable to the viewer). Smoothing the boundaries of adjacent reconstructed video blocks may include modifying the sample values ​​included in the rows or columns adjacent to the boundary. ITU-T H.265 provides a scenario in which a deblocking filter is applied to the reconstructed sample values ​​as part of a filtering process in a loop. ITU-T H.265 includes two types of filters that can be used to modify luma samples: a strong filter that modifies the sample values ​​in three rows or columns adjacent to the boundary; a weak filter that modifies the sample values ​​in the rows or columns immediately adjacent to the boundary and conditionally modifies the sample values ​​in the second row or column starting from the boundary. In addition, ITU-T H.265 includes a type of filter that can be used to modify chroma samples: a Normal Filter.

[0061] In addition to applying a deblocking filter as part of the in-loop filtering process, ITU-T H.265 also provides scenarios in which sample adaptive offset (SAO) filtering can be applied during the in-loop filtering process. In ITU-T H.265, SAO is a process of modifying the deblocked sample values ​​in a region by conditionally adding an offset value. ITU-T H.265 provides two types of SAO filters that can be applied to CTBs: band offset or edge offset. For each of the band offset and the edge offset, four offset values ​​are included in the bitstream. For the band offset, the applied offset depends on the amplitude of the sample value (e.g., the amplitude is mapped to bands, which are mapped to four offsets sent with a signal). For the edge offset, the applied offset depends on the CTB having one of the horizontal, vertical, first diagonal, or second diagonal edge classifications (e.g., the classification is mapped to four offsets sent with a signal).

[0062] Another type of filtering process includes the so-called adaptive loop filter (ALF). ALF using block-based adaptation is specified in JEM. In JEM, ALF is applied after the SAO filter. It should be noted that the ALF can be applied to the reconstructed samples independently of other filtering techniques. The process of applying the ALF specified in JEM at the video encoder can be summarized as follows: (1) classify each 2×2 block of the luminance component used to reconstruct the image according to a classification index; (2) derive a set of filter coefficients for each classification index; (3) determine a filtering decision for the luminance component; (4) determine a filtering decision for the chrominance components; and (5) signal the filter parameters (e.g., coefficients and decisions).

[0063] According to the ALF specified in JEM, each 2×2 block is classified according to a classification index C, where C is an integer in the range of 0 to 24, inclusive. C is based on its directionality D and activity according to the following formula The quantized value is derived:

[0064]

[0065] Where D and The gradients in the horizontal, vertical, and two diagonal directions are calculated using 1-D Laplacian as follows:

[0066]

[0067] Here, the indices i and j refer to the coordinates of the top left sample in the 2×2 block, and R(i,j) indicates the reconstructed sample with coordinates (i,j).

[0068] The maximum and minimum values ​​of the horizontal and vertical gradients can be set as:

[0069]

[0070] And the maximum and minimum values ​​of the gradients in the two diagonal directions can be set as:

[0071]

[0072] In JEM, to derive the value of the directivity D, the maximum and minimum values ​​are compared with each other and with two thresholds t1 and t2:

[0073] Step 1. If and If both are true, D is set to 0.

[0074] Step 2. If If yes, continue with step 3; otherwise, continue with step 4.

[0075] Step 3. If Then D is set to 2; otherwise, D is set to 1.

[0076] Step 4. If Then D is set to 4; otherwise, D is set to 3.

[0077] In JEM, the activity value A is calculated as follows:

[0078]

[0079] Wherein, A is further quantized into a range of 0 to 4 inclusive, and the quantized value is expressed as

[0080] As described above, applying the ALF specified in the JEM at the video encoder includes deriving a filter coefficient group for each classification index and determining a filtering decision. It should be noted that the derivation of the filter coefficient group and the determination of the filtering decision can be an iterative process. That is, the filter coefficient group can be updated based on the filtering decision, and the filtering decision can be updated based on the updated filter coefficient group, and this can be repeated multiple times. In addition, the video encoder can implement various special algorithms to determine the filter coefficient group and / or determine the filtering decision. Regardless of how to derive the filter coefficient group for each classification index and how to determine the filtering decision, the technology described herein is generally applicable.

[0081] According to one example, the filter coefficient groups are derived by initially deriving a set of optimal filter coefficients for each classification index. The optimal filter coefficients are derived by comparing the desired sample values ​​(i.e., the sample values ​​in the source video) with the reconstructed sample values ​​after filtering is applied, and by minimizing the sum of squared errors (SSE) between the desired sample values ​​and the reconstructed sample values ​​after filtering is performed. The optimal coefficients derived for each group can then be used to perform basic filtering on the reconstructed samples in order to analyze the effect of the ALF. That is, the desired sample values, the reconstructed sample values ​​before applying the ALF, and the reconstructed sample values ​​after performing the ALF can be compared to determine the effect of applying the ALF using the optimal coefficients.

[0082] According to the specified ALF in JEM, each reconstructed sample R(i,j) is filtered by determining the resulting sample value R'(i,j) according to the following formula, where L represents the filter length and f(k,l) represents the decoded filter coefficient.

[0083]

[0084] It should be noted that JEM defines three filter shapes (5×5 diamond, 7×7 diamond, and 9×9 diamond). It should be noted that the 9×9 diamond filter shape is usually used for basic filtering. It should be noted that in JEM, a geometric transformation is applied to the filter coefficients f(k,l) depending on the gradient value: g v ,g,g d1 , g d2 , as provided in Table 2.

[0085] Gradient Value Transform <![CDATA[g d2 <g d1 And g h <g v ]]> No change <![CDATA[g d2 <g d1 And g v <g h ]]> diagonal <![CDATA[g d1 <g d2 And g h <g v ]]> Flip Vertically <![CDATA[g d1 <g d2 And g v <g h ]]> Rotation

[0086] Table 2

[0087] Where diagonal, vertical flip and rotation are defined as follows:

[0088] Diagonal: ·····f D (k,l)=f(l,k),

[0089] Flip vertically: ···f V (k,l)=f(k,Kl-1)

[0090] Rotation: f R (k,l)=f(Kl-1,k)

[0091] Where K is the size of the filter, and 0≤k,1≤K-1 are the coefficient coordinates, such that the position (0,0) is located at the upper left corner, and the position (K-1,K-1) is located at the lower right corner.

[0092] JEM provides a scenario where up to 25 groups of luminance filter coefficients (i.e., one for each possible classification index) can be signaled. Therefore, the best coefficient can be signaled for each classification index that appears in the corresponding image area. However, in order to optimize the amount of data required for the relationship between the signaled filter coefficient group and the filter effect, rate distortion (RD) optimization can be performed. For example, JEM provides a scenario where the filter coefficients of adjacent classification groups can be combined and signaled using an array that maps a group of filter coefficients to each classification index. In addition, JEM also provides a scenario where temporal coefficient prediction can be used to signal coefficients. That is, JEM provides a scenario where the filter coefficient group of the current picture is predicted based on the filter coefficient group of the reference picture by inheriting a group of filter coefficients for the reference picture. JEM also provides a scenario where a group of 16 fixed filters can be used to predict the filter coefficient group for the intra-frame prediction picture. As described above, the derivation of the filter coefficient group and the determination of the filtering decision can be an iterative process. That is, for example, the shape of the ALF can be determined based on how many groups of filter coefficients are signaled, and similarly, whether the ALF is applied to the area of ​​the image can be based on the shape of the filter coefficient group and / or filter signaled.

[0093] As described above, the process for applying the ALF specified in JEM at the video encoder includes signaling filter parameters. That is, JEM provides signaling used by the video encoder to indicate the filter parameters to the video decoder. The video decoder can then apply the ALF to the reconstructed sample values ​​based on the indicated filter parameters. JEM provides a scene in which, for the luma component, the picture-level tag enables the ALF to be selectively applied to each CU in the picture. In addition, JEM provides a scene in which the index value signaled at the picture level indicates the filter shape (i.e., 5×5 diamond, 7×7 diamond, or 9×9 diamond) selected for the luma component. It should be noted that larger filter shapes are generally more accurate, but require more filter coefficients. In addition, JEM provides a scene in which filter coefficients are signaled at the fragment level for the luma component. As described above, the filter coefficients can be signaled directly for one or more of the 25 groups, or the filter coefficients can be signaled using a prediction technique. In addition, JEM provides a scene in which ALF is enabled or disabled at the picture level for the chroma component. It should be noted that in JEM, for chroma components, the entire picture is considered as one class, and the filter shape is always a 5×5 diamond, a set of filter coefficients is applied for each chroma component, and there is no CU level. In addition, it should be noted that if ALF is not enabled for luma components, ALF is disabled for chroma components.

[0094] As described above, intra prediction data or inter prediction data may associate an area of ​​a picture (e.g., PB or CB) with a corresponding reference sample. For intra prediction coding, an intra prediction mode may specify the position of a reference sample within a picture. In ITU-T H.265, possible intra prediction modes defined include a plane (i.e., surface fitting) prediction mode (predMode:0), a DC (i.e., flat overall average) prediction mode (predMode:1), and 33 angular prediction modes (predMode:2-34). In JEM, possible intra prediction modes defined include a plane prediction mode (predMode:0), a DC prediction mode (predMode:1), and 65 angular prediction modes (predMode:2-66). It should be noted that the plane prediction mode and the DC prediction mode may be referred to as a non-directional prediction mode, and the angular prediction mode may be referred to as a directional prediction mode. It should be noted that the techniques described herein may be generally applicable regardless of the number of possible prediction modes defined.

[0095] In addition to generating reference samples according to a prediction mode (which may be referred to as an intra-prediction block), intra-prediction coding may include modifying reference samples before generating residual data (e.g., during encoding) and / or modifying reference samples before reconstructing a video block (e.g., during decoding). JEM specifies techniques for modifying reference samples before generating residual data and modifying reference samples before reconstructing a video block. One technique specified in JEM for modifying reference samples includes generating a predicted video block using a weighted combination of unfiltered and filtered reference samples (i.e., so-called position-dependent intra prediction (PDPC)).

[0096] In PDPC, the predicted video block is generated according to the following formula, where p[x,y] is the new prediction. In this formula, r[x,y] represents the reference sample generated for the directional prediction mode using the unfiltered reference sample, and q[x,y] represents the reference sample generated for the directional prediction mode using the filtered reference sample.

[0097]

[0098] in For blocks with a width less than or equal to 16, d x =1, and for blocks with width greater than 16, d_x=2, for blocks with height less than or equal to 16, d_y=1, and for blocks with height greater than 16, d_y=2. b[x, y] is a normalization factor derived as follows:

[0099]

[0100] where the operation x>>y represents an arithmetic right shift of the two's complement integer representation of the x times y binary number; and

[0101] [x] Returns the nearest integer less than or equal to x.

[0102] Define prediction parameters for each prediction direction and block size In JEM, a set of prediction parameters is defined for each intra prediction mode and block size. In addition, it should be noted that in JEM, the CU-level flag PDPC_idx indicates whether PDPC is applied, where a value of 0 indicates the use of the existing ITU-T H.265 intra prediction and a value of 1 indicates the application of PDPC.

[0103] In addition, JEM provides a reference sample filtering mechanism, the so-called adaptive reference sample smoothing (ARSS). As provided in JEM, in ARSS, two low-pass filters (LPFs) are used to process the reference samples: a 3-tap LPF with coefficients of [1,2,1] / 4; and a 5-tap LPF with coefficients of [2,3,6,3,2]] / 16. As provided in JEM, for ARSS, a defined set of rules is used to determine which of the following applies: (1) the reference sample is not filtered; (2) the reference sample is a filter that complies with the ITU-T H.265 rules (with modifications in some cases); (3) the reference sample is filtered using a 3-tap LPF; or (4) the reference sample is filtered using a 5-tap LPF. In JEM, ARSS is applied only to the luma component, if the CU size is less than or equal to 1024 luma samples and greater than or equal to 64 luma samples, at least one coefficient subgroup in the luma coding block has a hidden sign bit and the intra prediction mode is not DC mode. Furthermore, in JEM, when the PDPC flag of a CU is equal to 1, adaptive reference sample smoothing is disabled in the CU.

[0104] For inter-frame prediction coding, a motion vector (MV) identifies a reference sample in a picture other than the picture of the video block to be encoded, thereby exploiting temporal redundancy in the video. For example, the current video block can be predicted from one or more reference blocks located in one or more previously encoded frames, and a motion vector can be used to indicate the location of the reference block. The motion vector and associated data may describe, for example, the horizontal component of the motion vector, the vertical component of the motion vector, the resolution of the motion vector (e.g., quarter-pixel precision, half-pixel precision, one-pixel precision, two-pixel precision, four-pixel precision), the prediction direction, and / or the reference picture index value. In addition, coding standards such as ITU-T H.265 may support motion vector prediction. Motion vector prediction allows the motion vector to be specified to use the motion vectors of neighboring blocks. Examples of motion vector prediction include advanced motion vector prediction (AMVP), temporal motion vector prediction (TMVP), so-called "merge" mode, and "skip" and "direct" motion inference. In addition, JEM supports advanced temporal motion vector prediction (ATMVP) and spatial-temporal motion vector prediction (STMVP).

[0105] As described above, the residual data generated for the region of the picture using the prediction and the corresponding reference sample can be transformed to generate transform coefficients. The transform coefficients can be generated using a transform matrix associated with a transform set. In JEM, in addition to using the DCT-II and 4×4DST-VII transform types used in ITU-T H.265, an adaptive multiple transform (AMT) scheme is used to encode both inter-coded blocks and intra-coded blocks for residuals. In JEM, AMT uses the following transform matrices DST-VII, DCT-VIII, DST-I, and DCT-V. Each transform matrix in JEM can be implemented using a horizontal (H) transform and a vertical (V) transform. In JEM, AMT is applicable to CUs with a width and height less than or equal to 64, and whether AMT is applicable is controlled by a CU-level flag. When the CU-level flag is equal to 0, DCT-II is applied in the CU to transform the residual. For the luminance coding block within an AMT-enabled CU, two additional flags are signaled to identify the horizontal number and vertical transform to be used.

[0106] In JEM, for intra prediction, three predefined transform candidate sets are defined, such as

[0107] Provided in Table 3.

[0108] Transformation Collection Transformation Candidates 0 DST-VII, DCT-VIII 1 DST-VII, DST-I 2 DST-VII, DCT-VIII

[0109] Table 3

[0110] In JEM, the transform set is selected according to the intra prediction mode provided in Table 4.

[0111] Intra mode 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 H 2 1 0 1 0 1 0 1 0 0 0 0 0 1 0 1 0 1 0 V 2 1 0 1 0 1 0 1 2 2 2 2 2 1 0 1 0 1 0 Intra mode 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 H 1 0 1 0 1 2 2 2 2 2 1 0 1 0 1 0 V 1 0 1 0 1 0 0 0 0 0 1 0 1 0 1 0

[0112] Table 4

[0113] Therefore, in JEM for intra prediction, first, based on Table 3, the transform subset is identified using the intra prediction mode of the CU with the CU-level AMT flag equal to 1, and for each of the horizontal transform and the vertical transform, one of the two transform candidates in the identified transform subset is determined.

[0114] As further described above, whether a subsequent secondary transform is applied to generate transform coefficients may depend on the prediction mode. In JEM, applying a subsequent secondary transform includes independently performing a secondary transform for each 4×4 transform coefficient subgroup, and independently performing a secondary transform may be referred to as applying a mode-dependent non-separable secondary transform (MDNSST). It should be noted that in JEM, if the width and height of the transform coefficient block are both greater than or equal to 8, an 8×8 non-separable secondary transform is applied to the upper left 8×8 region of the transform coefficient block, and, if the width or height of the transform coefficient block is equal to 4, a 4×4 non-separable secondary transform is applied, and a 4×4 non-separable transform is performed on the upper left region of the transform coefficient block. In JEM, transform selection rules are applied to both luma and chroma components. In JEM for MDNSST, there are 35 non-separable transform matrices, of which 11 is the number of transform sets for directional intra prediction modes, and each transform set includes 3 transform matrices, and for non-directional modes (i.e., planar, DC, and LM), only one transform set including 2 transform matrices is applied. In JEM, each transform set is mapped to a prediction mode, and a 2-bit CU-level index value (referred to herein as "NSST_idx") is included in the bitstream to indicate the transform matrix used for the transform set. It should be noted that in JEM, NSST_idx is signaled once per intra-CU and included in the bitstream after the corresponding transform coefficients. In addition, in JEM, a value of zero for NSST_idx indicates that a secondary transform is not applied to the current CU. It should be noted that in JEM, MDNSST is enabled only when PDPC is not applied (i.e., the value of PDPC_idx is set equal to zero).

[0115] As described above, in JEM, QTBT leaf nodes that allow arbitrary rectangular CBs may be similar to both PBs and TBs in ITU-T H.265. Therefore, in some cases, JEM may provide less flexibility than provided in ITU-T H.265 in terms of possible PB and TB structures. As further described above, in ITU-T H.265, only square TBs are allowed and only limited PB shapes are allowed (e.g., only square PBs are allowed for intra prediction). Therefore, the partitioning and associated signaling as defined in ITU-T H.265 and JEM may not be ideal. The present disclosure describes techniques for partitioning video data.

[0116] Figure 7 1 is a block diagram illustrating an example of a system that can be configured to encode (e.g., encode and / or decode) video data in accordance with one or more techniques of this disclosure. System 100 represents an example of a system that can perform video encoding using arbitrary rectangular video blocks in accordance with one or more techniques of this disclosure. Figure 7 As shown, system 100 includes source device 102, communication medium 110, and target device 120. Figure 7 In the example shown, source device 102 may include any device configured to encode video data and transmit the encoded video data to communication medium 110. Target device 120 may include any device configured to receive the encoded video data via communication medium 110 and decode the encoded video data. Source device 102 and / or target device 120 may include computing devices equipped for wired and / or wireless communication, and may include set-top boxes, digital video recorders, televisions, desktop, laptop or tablet computers, game consoles, mobile devices including, for example, "smart" phones, cellular phones, personal gaming devices, and medical imaging devices.

[0117] The communication medium 110 may include any combination of wireless and wired communication media and / or storage devices. The communication medium 110 may include coaxial cables, fiber optic cables, twisted pair cables, wireless transmitters and receivers, routers, switches, repeaters, base stations, or any other device that can be used to facilitate communication between various devices and sites. The communication medium 110 may include one or more networks. For example, the communication medium 110 may include a network configured to allow access to the World Wide Web, such as the Internet. The network may operate according to a combination of one or more telecommunication protocols. The telecommunication protocol may include proprietary aspects and / or may include standardized telecommunication protocols. Examples of standardized telecommunication protocols include digital video broadcasting (DVB) standards, advanced television system committee (ATSC) standards, integrated service digital broadcasting (ISDB) standards, cable data service interface specifications (DOCSIS) standards, global mobile communication systems (GSM) standards, code division multiple access (CDMA) standards, third generation partnership project (3GPP) standards, European Telecommunications Standards Institute (ETSI) standards, Internet Protocol (IP) standards, wireless application protocol (WAP) standards, and Institute of Electrical and Electronics Engineers (IEEE) standards.

[0118] A storage device may include any type of device or storage medium capable of storing data. The storage medium may include a tangible or non-transitory computer-readable medium. The computer-readable medium may include an optical disk, a flash memory, a magnetic memory, or any other suitable digital storage medium. In some examples, a memory device or a portion thereof may be described as a non-volatile memory, and in other examples, a portion of a memory device may be described as a volatile memory. Examples of volatile memory may include random access memory (RAM), dynamic random access memory (DRAM), and static random access memory (SRAM). Examples of non-volatile memory may include a magnetic hard disk, an optical disk, a floppy disk, a flash memory, or an electrically programmable memory (EPROM) or an electrically erasable and programmable (EEPROM) memory. One or more storage devices may include a memory card (e.g., a secure digital (SD) memory card), an internal / external hard drive, and / or an internal / external solid-state drive. Data may be stored on a storage device according to a defined file format.

[0119] Reference again Figure 7, source device 102 includes video source 104, video encoder 106 and interface 108. Video source 104 may include any device configured to capture and / or store video data. For example, video source 104 may include a camera and a storage device operably coupled thereto. Video encoder 106 may include any device configured to receive video data and generate a compatible bitstream representing video data. A compatible bitstream may refer to a bitstream from which a video decoder can receive and reproduce video data. Various aspects of a compatible bitstream may be defined according to a video coding standard. When generating a compatible bitstream, video encoder 106 may compress video data. Compression may be lossy (perceptible or imperceptible) or lossless. Interface 108 may include any device configured to receive a compliant video bitstream and transmit and / or store the compliant video bitstream to a communication medium. Interface 108 may include a network interface card such as an Ethernet card, and may include an optical transceiver, a radio frequency transceiver, or any other type of device that can send and / or receive information. In addition, the interface 108 may include a computer system interface that may enable a compliant video bitstream to be stored on a storage device. For example, the interface 108 may include support for peripheral component interconnect (PCI) and high-speed peripheral component interconnect (PCIe) bus protocols, proprietary bus protocols, universal serial bus (USB) protocols, I 2 C's chipset or any other logical and physical structure that can be used to interconnect peer devices.

[0120] Reference again Figure 7 , target device 120 includes interface 122, video decoder 124, and display 126. Interface 122 may include any device configured to receive a compliant video bitstream from a communication medium. Interface 108 may include a network interface card such as an Ethernet card, and may include an optical transceiver, a radio frequency transceiver, or any other type of device that can receive and / or send information. In addition, interface 122 may include a computer system interface that enables retrieval of a compatible video bitstream from a storage device. For example, interface 122 may include a computer system interface that supports PCI and PCIe bus protocols, proprietary bus protocols, USB protocols, I 2 C chipset or any other logical and physical structure that can be used to interconnect peer devices. Video decoder 124 may include any device configured to receive a compliant bitstream and / or an acceptable variant thereof and reproduce video data therefrom. Display 126 may include any device configured to display video data. Display 126 may include one of a variety of display devices such as a liquid crystal display (LCD), a plasma display, an organic light emitting diode (OLED) display, or another type of display. Display 126 may include a high definition display or an ultra high definition display. It should be noted that although in Figure 7In the example shown, the video decoder 124 is described as outputting data to a display 126, but the video decoder 124 can be configured to output video data to various types of devices and / or subcomponents thereof. For example, the video decoder 124 can be configured to output video data to any communication medium, as described herein.

[0121] Figure 8 is a block diagram illustrating an example of a video encoder 200 that may implement the techniques described herein for encoding video data. It should be noted that although the exemplary video encoder 200 is illustrated as having different functional blocks, such illustration is intended for descriptive purposes and does not limit the video encoder 200 and / or its subcomponents to a particular hardware or software architecture. The functionality of the video encoder 200 may be implemented using any combination of hardware, firmware, and / or software implementations. In one example, the video encoder 200 may be configured to encode video data in accordance with the techniques described herein. The video encoder 200 may perform both intra-frame prediction encoding and inter-frame prediction encoding of picture regions, and therefore may be referred to as a hybrid video encoder. In Figure 8 In the example shown, the video encoder 200 receives a source video block. In some examples, the source video block may include a picture area that has been divided according to a coding structure. For example, the source video data may include macroblocks, CTUs, CBs, sub-partitions thereof, and / or additional equivalent coding units. In some examples, the video encoder 200 may be configured to perform additional subdivision of the source video block. It should be noted that some of the techniques described herein may be generally applicable to video coding, regardless of how the source video data is divided before and / or during encoding. Figure 8 In the example shown, the video encoder 200 includes a summer 202, a transform coefficient generator 204, a coefficient quantization unit 206, an inverse quantization / transform processing unit 208, a summer 210, an intra-frame prediction processing unit 212, an inter-frame prediction processing unit 214, a filter unit 216 and an entropy coding unit 218.

[0122] like Figure 8 As shown, the video encoder 200 receives a source video block and outputs a bitstream. As described above, JEM includes the following parameters for signaling a QTBT tree: CTU size, MinQTSize, MaxBTSize, MaxBTDepth, and MinBTSize. Table 5 shows the block sizes of QT leaf nodes at different QT depths for different CTU sizes (in this example, MinQTSize is 8). In addition, Table 6 shows the allowed block sizes of BT leaf nodes at various BT depths for binary tree root node sizes (i.e., leaf quadtree node sizes).

[0123]

[0124] Table 5

[0125]

[0126]

[0127] Table 6

[0128] Therefore, referring to Table 5, the quadtree node size can be determined based on the CTU size and the QT depth, which forms the root of the binary tree. If the quadtree is further divided into a binary tree, the binary tree leaf node size can be determined based on the QT node size and the BT depth, as shown in Table 6. Each of MaxBTSize, MaxBTDepth, and MinBTSize can be used to determine the minimum allowed binary tree leaf node size. For example, if the CTU size is 128×128, the QT depth is 3, the MaxBTSize is 16×16, and the MaxBTDepth is 2, then the minimum allowed binary tree leaf node size includes 64 samples (i.e., 8×8, 16×4, or 4×16). In this case, if MaxBTDepth is 1, the minimum allowed binary tree leaf node size includes 128 samples (i.e., 16×8 or 8×16). Table 7 shows the block size of the BT leaf node under various combinations of QT depth and BT depth for a CTU size of 128×128.

[0129]

[0130]

[0131] Table 7

[0132] As described above, the QTBT partitioning and associated signaling defined in the JEM may not be ideal. In some examples, according to the techniques described herein, the video encoder 200 may be configured to partition the CTU so that the luma channel and the chroma channel have a common partitioning structure up to the CU level, where the prediction type (e.g., intra mode or inter mode or skip mode) is associated with the CU. In addition, one or both of the luma channel and the chroma channel may be further divided according to the prediction type (e.g., intra mode or inter mode or skip mode). In one example, the luma channel and the chroma channel have a common partitioning structure up to the CU level, and if the intra prediction type is associated with the CU, one or both of the luma channel and the chroma channel may be further divided. It should be noted that in the following examples, the CU level refers to the leaves of the shared QTBT that form the root for further dividing the luma channel and the chroma channel. It should be noted that, in one example, whether the luma channel and the chroma channel can be split beyond the CU level can be explicitly signaled (e.g., using a CTU-level flag or a prediction type-level flag signaled in a partitioning tree), or can be inferred based on properties of the video data (e.g., CTU size). It should be noted that for a video data segment with an intra type (which can be referred to as an intra-prediction segment), only the intra prediction mode is enabled, and for a video data segment with an inter type (which can be referred to as an inter-prediction segment), both the intra prediction mode and the inter prediction mode are enabled. In one example, different partitioning schemes can be used for intra segments and inter segments. For example, in one example, for intra segments, independent QTBTs can be used for luma channels and chroma channels, and for inter segments, the luma channels and chroma channels can be partitioned according to the techniques described herein. In addition, it should be noted that, in one example, various other techniques (e.g., techniques provided in ITU-T H.265) can be used to partition intra segments, and for inter segments, the luma channels and chroma channels can be partitioned according to the techniques described herein.

[0133] Fig. 9 and Fig.10 is a conceptual diagram illustrating video component partitioning in accordance with one or more techniques of this disclosure. Fig. 9 An example is shown in which, for a CTU included in an inter segment, the luma channel and the chroma channels have a common partition structure up to the CU level, and in a case where an intra prediction type is specified for a CU, the luma channel and the chroma channels may be further partitioned. Fig.10 An example is shown in which, for a CTU included in an inter-frame segment, the luma channel and the chroma channel have a common partition structure up to the CU level, and in the case where an intra prediction type is specified for a CU, the luma channel can be further partitioned. Fig. 9and Fig.10 For simplicity of illustration, only one of the CUs is shown as having an intra prediction type, and the other CUs have an inter prediction type. It should be noted that any combination of intra prediction types or inter prediction types may be associated with a corresponding CU in a CTU. Fig. 9 and Fig.10 In the example shown, each illustrated CB may be a block of sample values ​​to which the same prediction is applied. Fig. 9 and Fig.10 The CB shown in may be similar to the PB in ITU-T H.265. However, it should be noted that Fig. 9 and Fig.10 The CB in is not limited to the PB shape defined in ITU-T H.265 (ie, the CB may have a shape resulting from QTBT partitioning).

[0134] See also Fig. 9 , for the luma channel, the CU associated with the intra prediction type is further divided according to the quad split, and for the chroma channel, the CU associated with the intra prediction type is further divided according to the vertical split. Thus, according to the techniques described herein, the luma channel and the chroma channel can be independently divided according to the QTBT, where the CU associated with the intra prediction type forms the root of the independent QTBT. See Fig.10 , for the luma channel, the CU associated with the intra prediction type is further divided according to the quadtree partitioning, and for the chroma channel, the associated CU is not further partitioned. Therefore, according to the techniques described herein, one of the luma channel or the chroma channel may be partitioned independently according to the QTBT, where the CU associated with the intra prediction type forms the root of the QTBT. It should be noted that in other examples, other types of partitioning may be allowed for the luma channel and / or the chroma channel, where the CU associated with the intra prediction type forms the root for further partitioning the luma channel and / or the chroma channel. For example, any one of the following partition type combinations may be enabled for each of the luma channel and / or the chroma channel: no further partitioning, QT partitioning, BT partitioning, and QTBT partitioning.

[0135] In one example, a higher level syntax may be used to signal the type of partitioning that may be enabled for each of the luma channel and / or chroma channels. For example, each of the luma channel partitioning type and / or chroma channel partitioning type may be signaled at a CTU level, a slice level, or a parameter set level (e.g., an image parameter set (PPS) or a sequence parameter set (SPS)). As described above, the QT split flag syntax element and the BT split mode syntax element are associated with depth, where a depth of zero corresponds to the root of the QTBT, and a higher value of depth corresponds to a subsequent depth other than the root. It should be noted that in some cases, the depth may be defined relative to the CU that forms the root. In one example, whether and how the luma channel and / or chroma channel may be further partitioned beyond the CU associated with the intra prediction type may be based on a maximum depth value. For example, further partitioning of the luma channel and / or chroma channel is allowed only when the depth produced by the partition is less than or equal to the maximum depth. In one example, a higher level syntax may be used to signal the maximum depth of each of the luma channel and / or chroma channels. In one example, a maximum depth may be provided for BT partitioning and / or QT partitioning. In one example, the maximum depth may be the same as the maximum depth specified for the QTBT partition rooted at the CTU level. For example, for the luma channel, a maximum depth of 3 may be specified for the QT partition, and a maximum depth of 4 may be specified for the BT partition.

[0136] In one example, whether and how the luma channel and / or chroma channel can be further divided beyond the CU associated with the intra prediction type can be based on the resulting shape and / or number of samples in the CB. For example, one or more of the minimum size (width×height), minimum height, and / or minimum width can be specified so that the resulting CB must be greater than or equal to the specified minimum value. In one example, a higher-level syntax can be used to signal the minimum size / dimension of each of the luma channel and / or chroma channels. In one example, the minimum size / dimension / number of samples may be the same as the minimum size / dimension / number of samples specified for the QTBT partition rooted at the CTU level. In addition, in one example, whether and how the luma channel and / or chroma channel can be further divided beyond the CU associated with the intra prediction type can be based on the shape and / or number of samples in the CTU and / or CU. For example, further division of the luma channel and / or chroma channel can be enabled for a CTU and / or CU having a size / dimension greater than or equal to the minimum size / dimension. In addition, in one example, further partitioning of the luma channel and / or chroma channel may be enabled for CTUs and / or CUs having a size / dimension less than the minimum size / dimension. In one example, the minimum size / dimension / number of samples may be the same as the minimum size / dimension / number of samples specified for the QTBT partition at the CTU level. In one example, further partitioning of the luma channel and / or chroma channel may be enabled for CTUs and / or CUs having a size / dimension / number of samples less than or equal to the maximum size / dimension / number of samples. When the block size is less than the maximum value, the partition (e.g., QT partition) may be inferred and no additional signaling is required. In one example, the maximum size / dimension / number of samples may be the same as the maximum size / dimension / number of samples specified for the QTBT partition at the CTU level. In one example, each of the luma channel and / or chroma channel sizes / dimensions of the CTU and / or CU may be signaled using a higher level syntax. In addition, in one example, each of the luma channel and / or chroma channel sizes / dimensions of the CTU and / or CU may be predetermined.

[0137] An example is described in "Multi-Type-Tree" (document JVET-D0117r1) (hereinafter referred to as "Li"), presented at the 4th Conference on Multi-Type-Tree, Chengdu, China, October 15-21, 2016, in which two additional ternary tree (TT) partitioning modes are defined in addition to the symmetric vertical and horizontal BT partitioning modes. Ternary tree (TT) partitioning can refer to dividing a node into three blocks around a certain direction. In Li, the TT partitioning modes for a node include: (1) a horizontal TT partition at one quarter of the height of the node from the top edge to the bottom edge; and (2) a vertical TT partition at one quarter of the width of the node from the left edge to the right edge. Fig.11A Examples of vertical TT partitioning and horizontal TT partitioning are shown. It should be noted that, as used herein, the term "ternary tree (TT) partitioning" may refer to dividing a node into three blocks around a certain direction to achieve any offset. That is, as used herein, TT partitioning is not limited to partitioning nodes at a quarter offset (e.g., other offsets may include 1 / 3 offsets and / or asymmetric offsets, etc.). In one example, a partitioning type that may be enabled to partition each of the luma channel and / or chroma channels beyond the CU may include TT partitioning. In addition, whether the luma channel and / or chroma channel may be partitioned beyond the CU according to the TT partitioning may be based on any of the above-mentioned techniques (e.g., maximum depth, minimum size / dimension, number of sample values, etc.).

[0138] F. Le Leannc et al., "Asymmetric Coding Units in QTBT" (document JVET-D0064) presented at the 4th conference in Chengdu, China, October 15-21, 2016 (hereinafter referred to as "Le Leannec"), describe an example in which, in addition to the symmetric vertical and horizontal BT splitting modes, four additional asymmetric BT splitting modes are defined. In Le Leannec, the four additional defined BT splitting modes for a CU include: horizontal splitting at one quarter of the height (one mode at the top, or one mode at the bottom) or vertical splitting at one quarter of the width (one mode at the left, or one mode at the right). The four additional defined BT splitting modes in Le Leannec are: Fig. 11B It should be noted that the four additional BT partitioning modes defined in Le Leannec may be referred to as asymmetric binary tree (ABT) partitioning and are similar to the asymmetric PB partitioning provided in ITU-T H.265. It should be noted that in some cases, the term "ABT partitioning" may be used to refer to any binary tree partitioning.

[0139] As described above, in JEM, QTBT is signaled by signaling the QT split flag and BT split mode syntax elements. Fig.12 is shown corresponding to Fig. 9 1. A conceptual diagram of an example of an exemplary QTBT partitioned QTBT as shown. Fig.12 As shown, once a CU associated with an intra prediction type is reached, QTBT is signaled for each of the luma component and chroma channels. Table 8 shows an example of a pseudo syntax that can be used to signal the QTBT for Fig.12The example shown has a shared QTBT and independent QTBT for luma and chroma channels. It should be noted that, with respect to Table 8, for illustrative purposes, the prediction type flag only shows whether the prediction type is inter or intra. Typically, in an inter segment, the prediction type flag is preceded by a skip flag, and the prediction type flag is signaled only when the skip flag = 0. Regardless of how the intra prediction type is indicated in an inter segment, the techniques described herein are generally applicable.

[0140]

[0141]

[0142] Table 8

[0143] As shown in Table 8, when a coding unit is reached (BT split = 0), the prediction type for the coding unit is determined. If the prediction type is inter, no further split signaling occurs for the coding unit. If the prediction type is intra, QTBT is signaled for the luma channel and QTBT is signaled for the chroma channels. Table 9A shows the general case of signaling that occurs for coding units. As described above, in some examples, further splitting may be disabled for one of the luma channel or the chroma channel. In such examples, either of coding_tree_unit_luma() or coding_tree_unit_chroma() in Table 9A can be replaced with coding_block_luma() or coding_block_chroma().

[0144]

[0145]

[0146] Table 9A

[0147] In addition, as described above, various techniques may be used to determine whether and how the luma channel and / or chroma channel may be further divided beyond the CU associated with the intra prediction type. Therefore, in Table 9A, coding_tree_unit_luma() and coding_tree_unit_chroma() may provide semantics for enabling various types of partitioning. For example, coding_tree_unit_chroma() may include semantics for applying BT partitioning or TT partitioning. In one example, the luma channel and the chroma channel may be further divided beyond the CU associated with the intra prediction type according to a separate partitioning tree or a shared partitioning tree. In one example, a flag may indicate whether the luma channel and the chroma channel are further divided according to a separate partitioning tree or a shared partitioning tree. Table 9B shows an example in which a flag (ie, separate_tree_flag) indicates whether the luma channel and the chroma channel are further divided according to a separate partitioning tree (ie, coding_tree_unit_luma() and coding_tree_unit_chroma()) or a shared partitioning tree (ie, coding_tree_unit_shared()), wherein coding_tree_unit_shared() provides semantics for enabling various types of partitioning.

[0148]

[0149] Table 9B

[0150] In one example, whether the luma channel and the chroma channel are further divided according to a separate partitioning tree or a shared partitioning tree can be inferred based on the attributes and / or coding parameters of the video data. For example, referring to Table 9B, the separate_tree_flag==TRUE condition can be replaced with a condition based on the attributes and / or coding parameters of the video data. In one example, whether to use a separate partitioning tree or a shared partitioning tree to further divide the luma channel and the chroma channel can depend on the number of samples (e.g., luma samples or chroma samples) included in the CU. In one example, when the number of samples included in the CU is less than or equal to a threshold value (e.g., 64, 256, or 1024 samples), a separate partitioning tree can be used to further divide the luma channel and the chroma channel, otherwise a shared partitioning tree is used. In one example, when the number of samples included in the CU is greater than or equal to a threshold value, a separate partitioning tree can be used to further divide the luma channel and the chroma channel, otherwise a shared partitioning tree is used.

[0151] As described above, for an intra-prediction segment, only the intra-prediction mode is enabled, and for an inter-prediction segment, both the intra-prediction mode and the inter-prediction mode are enabled. It should be noted that an inter-prediction segment may also be classified as a P-type segment (or P-segment) or a B-type segment (B-segment), wherein for a B-segment, unidirectional and bidirectional prediction inter-prediction are enabled, and for a P-segment, only unidirectional inter-prediction is enabled. In one example, whether a separate partitioning tree or a shared partitioning tree is used to further divide the luma channel and the chroma channel may depend on whether the inter-prediction segment including the intra CU is a P-segment or a B-segment. In one example, it should be noted that whether there is a flag and it is used to indicate whether the luma channel and the chroma channel are further divided according to a separate partitioning tree or a shared partitioning tree may depend on the segment type. For example, in one example, separate_tree_flag in Table 9B may exist for a P segment and not exist for a B segment, or alternatively, separate_tree_flag in Table 9B may exist for a B segment and not exist for a P segment. As described above, an intra CU may be included in an intra segment and an inter segment. In one example, an intra CU included in an intra segment may be further divided, wherein a flag may indicate whether the luma channel and the chroma channel are further divided according to separate partitioning trees or shared partitioning trees. Therefore, in one example, the separate_tree_flag in Table 9B may exist for intra segments and inter segments. In one example, the separate_tree_flag in Table 9B may exist for any subset of segment types. In one example, whether a flag exists and whether it is used to indicate whether the luma channel and the chroma channel are further divided according to separate partitioning trees or shared partitioning trees may depend on the properties and / or encoding parameters of the video data. For example, the separate_tree_flag in Table 9B may exist based on the size of the intra CU and / or the depth at which the intra CU occurs.

[0152] It should be noted that while the separate_tree_flag in Table 9B is described as being signaled at the CU level, in other examples, the separate_tree_flag may be signaled at the CTU level, the slice level, the tile level, the wavefront level, or the parameter set level (e.g., PPS or SPS). In addition, in one example, whether further partitioning of the luma channel and the chroma channel according to separate partitioning trees or shared partitioning trees is enabled (e.g., whether the separate_tree_flag may exist based on the video data and / or coding parameters) may be determined based on a higher level flag. For example, a flag included in a slice header may indicate whether the separate_tree_flag may exist at the CU level, and the actual presence of the separate_tree_flag at a particular CU may be based on the size of the CU. In addition, in one example, the parameter set level flag may indicate whether a CTU level flag is present, wherein the CTU level flag indicates whether further partitioning of the CTU is done according to a shared partitioning tree or a separate partitioning tree. That is, the CTU level flag may be similar to the separate_tree_flag described in the above examples as being present at the CU level. In one example, a CTU level marker may indicate whether no further partitioning of the CTU occurs, and if further partitioning of the CTU occurs, whether the partitioning is performed according to a shared partitioning tree or a separate partitioning tree. In one example, the CTU level marker may not be included in the bitstream and is not inferred to indicate that further partitioning occurs. It should be noted that the CTU level marker may be present in the bitstream so that it is received before the video decoder infers that a CTU that intersects a picture boundary is implicitly partitioned into CUs. In this case, in some cases (e.g., the CTU level marker indicates no further partitioning), it is not necessary to send individual markers to further partition each CU in the largest inferred CU within the picture boundary. In another example, the CTU level marker may be present in the bitstream so that it is received in conjunction with the first CU of the CTU.

[0153] As described above, whether and how the luma channel and / or chroma channels may be further split beyond the CU associated with the intra prediction type may be based on a maximum depth value, where a higher level syntax may be used to signal the maximum depth of each of the luma channel and the chroma channels. In one example, the maximum depth of each of the luma channel and the chroma channels split according to a shared partitioning tree may be signaled independently, in which case each channel will be split according to the shared tree up to its maximum depth. In one example, the maximum depth of each of the luma channel and the chroma channels split according to separate partitioning trees may be signaled independently. For example, a flag included in a segment header may indicate whether a separate_tree_flag may be present at the CU level, and the actual presence of the separate_tree_flag at a particular CU may be based on the size of the CU, and the segment header may also indicate the corresponding maximum depth of each of the luma channel and the chroma channels.

[0154] As described above, the presence of separate_tree_flag in Table 9B may be based on the depth at which the intra CU occurs. In one example, the depth at which the intra CU occurs may be specified relative to the root (ie, depth 0) occurring at the CTU, and may be referred to as cu_depth. Fig. 9 and Fig.12 As shown in the example of , the depth of the intra CU is 2. In one example, when cu_depth is greater than or equal to the depth value (e.g., max_depth), separate_tree_flag may not be present in the bitstream for the intra CU. In one example, when separate_tree_flag is not present in the bitstream, it can be inferred that it has a value of 1 (or 0, in some examples), and therefore, separate partitioning trees (e.g., coding_tree_unit_luma() and coding_tree_unit_chroma()) can be used to partition the luma channel and chroma channel beyond the intra CU. In one example, when separate_tree_flag is not present in the bitstream, it can be inferred that it has a value of 0 (or 1, in some examples), and therefore, a shared partitioning tree (e.g., coding_tree_unit_shared()) can be used to partition the luma channel and chroma channel beyond the intra CU.

[0155] Table 9C shows an example where separate_tree_flag is conditionally present in the bitstream based on an intra CU with cu_depth greater than or equal to a certain depth, and when separate_tree_flag is not present in the bitstream, separate partitioning trees are used to partition the luma channel and the chroma channel beyond the intra CU. Table 9D shows an example where separate_tree_flag is conditionally present in the bitstream based on an intra CU with cu_depth greater than or equal to a certain depth, and when separate_tree_flag is not present in the bitstream, a shared partitioning tree is used to partition the luma channel and the chroma channel beyond the intra CU. In one example, a higher level syntax may be used to signal the max_depth in Tables 9C and 9D. For example, max_depth may be signaled at the CTU level, the slice level, or the parameter set level. In one example, max_depth in Tables 9C and 9D may be equal to MaxBTDepth.

[0156]

[0157] Table 9C

[0158]

[0159]

[0160] Table 9D

[0161] It should be noted that, in some examples, the condition (cu_depth>=max_depth) in Tables 9C to 9D can be replaced by (cu_depth==max_depth). In addition, in some examples, the condition (cu_depth>=max_depth) in Tables 9C to 9D can be replaced by the following condition (cu_depth>=max_depth or cu_width==min_width or cu_height==min_height), where cu_width is the width of the CU (in the number of samples), cu_height is the height of the CU (in the number of samples), min_width is the width threshold (in the number of samples), and min_height is the height threshold (in the number of samples). In this way, in one example, the presence of separate_tree_flag in the bitstream may further depend on the number of samples (e.g., luma samples or chroma samples) included in the intra CU. In addition, it should be noted that, in some examples, the values ​​of max_depth, min_width and / or min_height may be based on the segment type (e.g., P or B) and / or the color component index value. In one example, (cu_depth>=max_depth) in each of the examples shown in Tables 9C and 9D may be replaced with the condition (cu_depth<=max_depth) so that the signaling of separate_tree_flag will be skipped based on an intra CU having a cu_depth less than or equal to a certain depth. It should be noted that in this case, max_depth is a depth value representing a threshold depth (i.e., for an intra CU having a depth less than or equal to max_depth, in this case, the value of separate_tree_flag is inferred). In one example, (cu_depth>=max_depth) in each of the examples shown in Tables 9C and 9D may be replaced with the condition (cu_height<=min_height or cu_width<=min_width) so that the signaling of separate_tree_flag will be skipped based on an intra CU less than or equal to a certain size. It should be noted that in this case, min_height and min_width represent thresholds. In one example, (cu_depth>=max_depth) in each of the examples shown in Table 9C and Table 9D may be replaced with the condition (cu_height>=min_height or cu_width>=min_width) so that signaling of separate_tree_flag will be skipped based on intra CUs greater than or equal to the minimum size.In this way, the video decoder may infer the value of separate_tree_flag based on the block size.It should be noted that in some examples, the values ​​of max_depth, min_width, and / or min_height may depend on the slice type (e.g., P slice or B slice) of the slice comprising the CU and / or channel (e.g., luma or chroma).

[0162] As described above, in JEM, the QTBT leaf nodes for color components (i.e., CBs in JEM) can be considered similar to PBs and TBs in ITU-T H.265. Therefore, in JEM, once a QTBT leaf node is reached, additional signaling is provided to indicate the prediction corresponding to the QTBT leaf node (e.g., intra prediction direction) and the transform characteristics of the residual corresponding to the QTBT leaf node (e.g., NSST_idx). For example, see Fig. 9 , for each of the four luma CBs, according to the JEM signaling, the corresponding prediction and the transform characteristics corresponding to the residual will be included in the bitstream. In one example, according to the techniques described herein, the signaling of the prediction and transform characteristics of the CB may be based on whether separate_tree_flag exists and / or its value. For example, in the example corresponding to Table 9C, in one example, the number of possible values ​​of NSST_idx allowed for the chroma channel may be based on whether a separate partitioning tree is used to divide the luma channel and the chroma channel beyond the intra CU. In one example, if a separate partitioning tree is used to divide the luma channel and the chroma channel beyond the intra CU, the number of possible values ​​of NSST_idx allowed for the chroma channel may be equal to 4. In the example corresponding to Table 9D, in one example, the number of possible values ​​of NSST_idx allowed for the chroma channel may be based on whether a shared partitioning tree is used to divide the luma channel and the chroma channel beyond the intra CU. In one example, if a shared partitioning tree is used to divide the luma channel and the chroma channel beyond the intra CU, the number of possible values ​​of NSST_idx allowed for the chroma channel may be equal to 3.

[0163] As described above, in JEM, once a QTBT leaf node is reached, additional signaling is provided to indicate the prediction corresponding to the QTBT leaf node and the transform characteristics of the residual corresponding to the QTBT leaf node. Therefore, in JEM, for each QTBT leaf node, corresponding signaling is provided to indicate the prediction corresponding to the QTBT leaf node and the transform characteristics of the residual corresponding to the QTBT leaf node. In one example, according to the techniques described herein, a CB (e.g., Fig. 9Each of the four luma CBs in the intra CU) can share one or more aspects of prediction information and / or transform characteristics. In this way, according to the techniques described herein, the signaling of prediction and / or transform characteristics for the corresponding leaf nodes can be simplified. In one example, according to the techniques described herein, the corresponding prediction and transform characteristics of each CB beyond the intra CU (e.g., Fig. 9 For example, refer to Fig. 9 As shown in the example, in one example, each of the four luma CBs may share inferred (or signaled) prediction information (eg, directional intra prediction mode) and / or transform characteristics (eg, NSST_idx value) based on the presence and / or value of separate_tree_flag.

[0164] Referring again to the examples shown in Tables 9B to 9D, for example, using a shared partition tree to split the luma channel and the chroma channel beyond the intra CU may not be allowed, may be disabled based on higher-level signaling (e.g., CTU-level or slice-level enable / disable flags), may be disabled based on the attributes of the CU (e.g., size and / or depth), and / or may be disabled based on higher-level signaling and / or attributes of the CU. Table 9E shows an example in which using a shared partition tree to split the luma channel and the chroma channel beyond the intra CU is not allowed. That is, in the example of Table 9E, if the luma channel and the chroma channel are not further split according to a separate partition tree, the further splitting is terminated. That is, as shown in Table 9E, prediction and transform characteristic syntax is signaled for the intra CU without further splitting the luma channel and the chroma channel. Table 9F shows an example in which using a shared partition tree to split the luma channel and the chroma channel beyond the intra CU is disabled based on higher-level signaling and / or attributes of the CU. That is, in Table 9F, the condition (CU Condition == TRUE) may be a condition based on higher-level signaling and / or attributes of the CU. It should be noted that in some examples, the condition (CU Condition == TRUE) may be based on attributes of the bitstream (i.e., determined without additional signaling). For example, (CU Condition == TRUE) may be a flag that exists based on a higher-level (e.g., CTU level, slice level, parameter set level) enable / disable flag.

[0165]

[0166] Table 9E

[0167]

[0168] Table 9F

[0169] It should be noted that, for the example shown in Table 9E, not allowing the use of a shared partition tree to partition the luma channel and the chroma channel beyond the intra CU can reduce the complexity of implementing a compatible video encoder and a compatible video decoder. However, in some cases, not allowing the use of a shared partition tree to partition the luma channel and the chroma channel beyond the intra CU may result in a loss of coding efficiency.

[0170] As described above, whether a separate partitioning tree or a shared partitioning tree is used to further partition the luma channel and the chroma channel may be based on the number of samples (e.g., luma samples or chroma samples) included in the CU, where the CU associated with the intra prediction type forms a root for further partitioning the luma channel and / or the chroma channel. In one example, partitioning may be allowed for a range of block sizes according to a shared tree, and partitioning may be allowed for a range of block sizes according to a separate tree. Table 9G shows an example in which separate_tree_flag is conditionally present in the bitstream based on the following conditions: (1) whether the size of the CU is greater than or equal to an upper size threshold (cu_width*cu_height>=Upper_TH); (2) whether the size of the CU is less than or equal to a lower size threshold (cu_width*cu_height<=lower_TH); and (3) whether further partitioning is allowed (no further partitioning allowed). It should be noted that the condition (no further partitioning allowed) in Table 9G may be similar to the above-mentioned (CU Condition==TRUE) condition. In one example, advanced signaling may be used to indicate Upper_TH and / or Lower_TH. For example, Upper_TH may be set to 1024 samples, and Lower_TH may be set to 256 samples. In one example, determining whether no further splitting is allowed may be based on the exemplary conditions provided above, such as (cu_depth>=max_depth), (cu_depth>=max_depth or cu_width==min_width or cu_height==min_height), etc. In one example, advanced signaling may be used to signal the conditions for determining whether no further splitting is allowed.

[0171]

[0172] Table 9G

[0173] Table 9H shows an example where separate_tree_flag is conditionally present in the bitstream based on the following conditions: (1) whether the size of the CU is greater than or equal to the upper size threshold (cu_width*cu_height>=Upper_TH); and (2) whether the size of the CU is less than or equal to the lower size threshold (cu_width*cu_height<=lower_TH).

[0174]

[0175] Table 9H

[0176] In one example, whether a separate partition tree or a shared partition tree is used to further partition the luma channel and the chroma channel may depend on the value of the QP associated with the CU, where the CU associated with the intra prediction type forms the root for further partitioning the luma channel and / or the chroma channel. For example, in one example, separate_tree_flag may be conditionally present in the bitstream based on the following conditions: (1) whether the value of QP is greater than or equal to an upper threshold; (2) whether the value of QP is less than or equal to a lower threshold; and / or (3) whether further partitioning is allowed. That is, for example, the conditions (cu_width*cu_height>=Upper_TH) and (cu_width*cu_height<=lower_TH) in Table 9G and Table 9H may be replaced by the conditions (QP>=Upper_QP_TH) and (QP<=Lower_QP_TH), respectively, where, in one example, advanced signaling may be used to signal Upper_QP_TH and / or Lower_QP_TH. For example, Upper_QP_TH may be set to 40, and Lower_QP_TH may be set to 10. In one example, the minimum allowed leaf size for each of coding_tree_unit_luma(), coding_tree_unit_chroma(), and / or coding_tree_unit_shared() may be different. For example, coding_tree_unit_shared() may have a minimum allowed leaf size of 16 (e.g., 4×4) samples, and coding_tree_unit_luma() and / or coding_tree_unit_chroma() may have a minimum allowed leaf size of 256 (e.g., 16×16) samples.

[0177] As described above, the inter-frame prediction segment may also be classified as a P-type segment or a B-type segment, and whether to use a separate partitioning tree or a shared partitioning tree to further partition the luma channel and the chroma channel may depend on whether the inter-frame prediction segment including the intra CU is a P segment or a B segment. In addition, it should be noted that in ITU-T H.265, in order to support temporal scalability, each inter-frame segment may be associated with a temporal identifier (i.e., a TemporalId variable) indicating a level in a hierarchical temporal prediction structure. For example, a segment in a picture forming a 30 Hz base layer may have TemporalId=0, and a segment in a picture forming a 60 Hz scalable sublayer may have TemporalId=1. It should be noted that pictures with lower temporal identifiers (i.e., pictures corresponding to lower layers of the video) are more frequently used as predictors. For example, pictures included in a 30 Hz base layer are generally used as predictors more frequently than pictures included in a 60 Hz scalable sublayer. The quality of pictures used more frequently as predictors generally affects video quality more than the quality of pictures used less frequently as predictors. In addition, due to the hierarchical temporal prediction structure of temporal scalable video, when the picture quality of the lower layer is low, the error can be propagated to multiple higher layers of the video (i.e., temporal error propagation). In contrast, when the picture quality of the higher layer is low, the temporal error propagation may be limited. As used herein, the term "prediction depth of a picture" may be used to refer to a value that quantifies how many pictures of each level depend (directly or indirectly) on the picture as a predictor. The prediction depth can be used to determine the expected temporal error propagation based on the quality of the picture. In one example, the prediction depth may correspond to TemporalId or may be a function of TemporalId. In one example, the prediction depth may be equal to TemporalId plus one. In one example, according to the techniques described herein, whether to use a separate partitioning tree, use a shared partitioning tree, and / or whether to allow further partitioning of an intra CU included in an inter-prediction fragment may be based on the prediction depth of the inter-prediction fragment. For example, in one example, if the prediction depth is greater than or equal to a threshold, further partitioning of an intra CU included in an inter-prediction fragment may be disabled.

[0178] As described above, for example, with respect to Table 9C and Table 9D, an example is provided in which separate_tree_flag may be conditionally present in the bitstream based on an intra CU having a cu_depth greater than or equal to a variable max_depth. In one example, the variable max_depth may be equal to the prediction depth or a function of the prediction depth. Thus, in a manner similar to that described above, syntax element signaling for further splitting an intra CU included in an inter-prediction segment may be skipped based on the prediction depth, and the video decoder may be configured to infer the value of the syntax element not included in the bitstream. In one example, for a picture having a prediction depth greater than a threshold, further splitting of the luma channel and the chroma channel beyond the CU level may be disabled, for example, the splitting as described in JEM may be used. In this way, for a picture having a relatively high prediction confidence, a more precise splitting technique may be allowed, wherein the less precise splitting technique utilizes fewer bits in the bitstream, compared to a picture having a relatively low prediction confidence. As described above, whether and how the luma channel and / or the chroma channel may be further split beyond the CU associated with the intra prediction type may be based on higher level signaling and / or properties of the video block. For example, using a shared partition tree to split the luma channel and the chroma channel beyond the intra CU may not be allowed, may be disabled based on higher-level signaling (e.g., CTU-level or slice-level enable / disable flags), may be disabled based on properties of the CU (e.g., size and / or depth), and / or may be disabled based on higher-level signaling and / or properties of the CU. In a similar manner, whether and how the luma channel and / or the chroma channel may be further split beyond the CU associated with the intra prediction type may be based on higher-level signaling and / or prediction depth. For example, using a shared partition tree to split the luma channel and the chroma channel beyond the intra CU may not be allowed, may be disabled based on higher-level signaling (e.g., CTU-level or slice-level enable / disable flags), may be disabled based on properties of the prediction depth (e.g., size and / or depth), and / or may be disabled based on higher-level signaling and / or prediction depth.

[0179] As described above, in one example, the max_depth in Tables 9C and 9D may be signaled using a higher level syntax (e.g., CTU level, slice level, or parameter set level). In a similar manner, when the variable max_depth is equal to or a function of the prediction depth, a higher level syntax may be used to signal the prediction depth threshold when a separate partition tree is used, the shared partition tree used, and / or whether further partitioning of an intra CU included in an inter-prediction slice is allowed. In one example, the syntax element highest_tid_sst_plus1 is based on the following exemplary definition:

[0180] highest_tid_sst_plus1 specifies that pictures with TemporalId greater than highest_tid_sst_plus1 do not use a shared separate tree. When not present, highest_tid_sst_plus1 is inferred to be equal to 7.

[0181] May be included in a parameter set (eg, VPS, SPS, or PPS) or in a slice header. Additionally, in one example, highest_tid_sst_plus1 may be conditionally signaled based on the value of a flag indicating whether a shared separate tree tool is used to encode the video data.

[0182] In one example, when the value of highest_tid_sst_plus1 is 0, different semantics may be used. That is, a default case may be defined for highest_tid_sst_plus1 with a value of 0. In one example, highest_tid_sst_plus1 with a value of 0 may be used to indicate that information about the relationship between the TemporalId value and the use of a shared separate tree is unknown. In one example, highest_tid_sst_plus1 with a value of 0 may indicate that a shared separate tree is only used for certain picture types. In one example, the syntax element highest_tid_sst_plus1 may be based on the following exemplary definition:

[0183] highest_tid_sst_plus1 specifies that pictures with TemporalId less than or equal to highest_tid_sst_plus1 may or may not use a shared separate tree. When not present, highest_tid_sst_plus1 is inferred to be equal to 7.

[0184] Therefore, in one example, in the above example, the condition if (pred_mode_flag == MODE_INTRA) can be replaced by if (highest_id_sst_plus1 && pred_mode_flag == MODE_INTRA). In one example, the general decoding process for coding units is encoded using intra prediction mode, which can be described as follows:

[0185] The input to this process is:

[0186] - luma position (xCb, yCb), which specifies the top left sample of the current luma coding block relative to the top left luma sample of the current picture,

[0187] - The variable log2CbSize specifies the size of the current luma coding block.

[0188] - TemporalId of the current image

[0189] The output of this process is a modified reconstructed picture before deblocking filtering.

[0190] May be subject to conditions based on TemporalId. That is, for example, the following clauses may be included in a general decoding process for coding units encoded using intra prediction mode:

[0191] When the TemporalId of the current picture is less than or equal to highest_tid_sst_plus1, an alternative derivation process of intra prediction modes using luma position (xCb, yCb) as input is called.

[0192] As described above, coding_tree_unit_shared() provides semantics for enabling various types of partitions, and similarly, coding_tree_unit_luma() or coding_tree_unit_chroma() may provide semantics for enabling various types of partitions (e.g., BT or TT partitions). In some examples, coding_tree_unit_shared() may be constrained to further partition the luma channel and the chroma channel to a predetermined depth beyond the CU. In one example, coding_tree_unit_shared() may be constrained to further partition the luma channel and the chroma channel to only one depth beyond the CU. For example, in this case, coding_tree_unit_shared() may include a single syntax element indicating one of the following: no partition, QT partition, horizontal BT partition, vertical BT partition, horizontal TT partition, and / or vertical TT partition. In one example, coding_tree_unit_shared() may include a single syntax element indicating one of the following: horizontal BT partition, vertical BT partition. In one example, when coding_tree_unit_shared() includes a single syntax element, possible partitions may include any combination of: no partition, QT partition, horizontal BT partition, vertical BT partition, horizontal TT partition, and / or vertical TT partition.

[0193] It should be noted that some ways to signal a particular partitioning structure may be considered inefficient and / or redundant. For example, in some cases, BT and TT partitions may produce square blocks that can be achieved by simply using QT partitions (e.g., vertical BT partitions and subsequent horizontal BT partitions for each node result in four squares). The video encoder 200 may be configured to not allow redundant and / or inefficient signaling. JEM provides scenarios where BT partitions that result in equivalent QT partitions are not allowed at the video encoder. Fig.13 is a conceptual diagram showing an example of BT splitting that is not allowed. Fig.13 , a subsequent horizontal BT split of the right node (the node resulting from the vertical BT split of the CU) would produce four squares and is not allowed. In some examples, when splitting is not allowed, inference can be used to determine whether other types of splits should be applied. For example, see Fig.13 , since horizontal BT splitting is not allowed for the right node, one of vertical BT splitting or no further splitting for the node may be inferred. As described above in some examples, whether to enable further splitting may be based on a maximum depth, etc. Therefore, in some cases, certain types of splitting may not be allowed at a particular depth level. Therefore, whether to allow splitting or no further splitting for a particular node may be inferred based on the depth of the node and / or whether the particular splitting is inefficient and / or redundant.

[0194] In one example, according to the techniques herein, when further partitioning of the luma channel and / or chroma channel occurs in a case where a CU associated with an intra prediction type forms a root node, one or more of the following techniques may be used to mitigate inefficient and / or redundant signaling. In one example, for a chroma channel, when a BT partition results in an equivalent QT partition, the partition may not be allowed and the signaling may be modified based on the partition not being allowed. For example, see Fig.13, for the left node generated by the vertical segmentation, the following types of segmentation may be allowed: no segmentation, vertical BT segmentation, and horizontal BT segmentation. Therefore, the syntax will enable signaling of one of the three types of segmentation for the node (e.g., the signaling may include a segmentation / no segmentation flag and a conditionally existing vertical / horizontal flag). As for the right node, since horizontal BT is not allowed, the syntax only needs to enable signaling of two types of BT segmentation (no segmentation or vertical BT segmentation). Therefore, the signaling may be modified so that for the right node, the segmentation / no segmentation flag indicates whether no segmentation or vertical BT segmentation occurs. In addition, in the case where one or more non-BT segmentation options (e.g., QT or TT) are allowed for the right node, the syntax may enable one or more non-BT segmentation options to be signaled. For example, if the segmentation / no segmentation flag indicates no segmentation for the right node, there may be additional syntax elements indicating whether one or more non-BT segmentations are applied. Similarly, if only one non-BT segmentation is available for the right node, and if the segmentation / no segmentation flag indicates no segmentation for the right node, then this one non-BT segmentation may be inferred. Similarly, in one example, for the luma channel, when a BT split results in an equivalent QT split, the split may not be allowed and the syntax may be modified based on the split not being allowed, as described above. In addition, in one example, one or more of the following constraints may apply: a type of BT split may not be allowed if it results in TT; a TT split may not be allowed if it results in a combination of a QT split and a BT split; and in general, a split may not be allowed if it results in a combination of a subset of splits. In one example, the video encoder 200 may select whether to disable various splits and signal whether the split is enabled, and thus the video decoder may determine the inference rules based on whether the various splits are enabled or disabled.

[0195] In one example, the video encoder 200 may be configured such that one or more of the following applies: when no further splitting is allowed for a node, skip signaling a partition and infer no splitting; when no further QT splitting is allowed for a node, skip signaling a QT splitting and only signal when non-QT / no splitting is allowed. In general, in one example, the video encoder 200 may be configured such that when no further splitting of a particular type is allowed, the video encoder 200 may skip signaling a particular type of splitting and only signal the available splitting types.

[0196] It should be noted that when further splitting of luma channels and / or chroma channels is enabled for a CU associated with an intra prediction type, there may be multiple QTBTs resulting in equivalent CBs. FIG. 14A to FIG. 14B is a conceptual diagram showing the equivalent resulting CB for both the luma channel and the chroma channel using different QTBTs. FIG. 15A to FIG. 15B Shows FIG. 14A to FIG. 14BIn addition, Tables 10A and 10B show the QTBTs that can be used to signal the FIG. 14A to FIG. 14B The corresponding exemplary pseudo-grammar of the corresponding QTBT of the resulting CB in .

[0197]

[0198] Table 10A

[0199]

[0200] Table 10B

[0201] Referring to Tables 10A-10B, the signaling used in Table 10A may be considered less efficient than the signaling in Table 10B (i.e., Table 10A requires more bits to signal the equivalent resulting partition). Therefore, in one example, the video encoder 200 may be configured such that the signaling in Table 10A is not allowed. In one example, the video encoder 200 may be configured to perform an iterative partitioning process such that the video encoder 200 evaluates whether the resulting partition can be more efficiently represented using another partition. Furthermore, it should be noted that using the signaling in Table 10B may provide additional efficiency gains such that residuals and metadata may be available at an earlier point in the bitstream sequence.

[0202] As mentioned above, for example Fig.13In terms of, according to the techniques described herein, BT nodes may be further divided according to non-BT partitions (e.g., QT or TT partitions). It should be noted that in JEM, BT nodes may not be further divided according to QT partitions. That is, as described above with respect to Table 1, in JEM, when the value of the QT partition flag is 0, a BT partition mode syntax element is signaled, indicating one of the following: no binary partitioning, vertical partitioning mode, or horizontal partitioning mode. In addition, as described above, Le Leannec describes an example in which, in addition to the symmetric vertical and horizontal BT partitioning modes, four additional ABT partitioning modes are defined. In Le Leannec, BT or ABT nodes may not be further divided according to QT partitions. That is, in Le Leannec, when the value of the QT partition flag is 0, a BT partition mode flag is signaled, indicating one of the following: vertical partitioning orientation or horizontal partitioning orientation, and the first added flag signals whether the current BT partitioning mode is asymmetric. If the BT split mode is not asymmetric (according to the first added tag), the BT split mode is derived as horizontal or vertical according to the BT split orientation sent by the signal. If the BT split mode is asymmetric (according to the first added tag), the second added tag indicates the type of asymmetric split mode used for the considered BT split orientation (i.e., up or down for horizontal, or left or right for vertical). In addition, as described above, Li describes an example in which two additional TT split modes are defined in addition to the symmetrical vertical and horizontal BT split modes. In Li, a BT or TT node may not be further divided according to the QT partition. That is, in Li, when the value of the QT split flag is 0, a split flag is signaled, which indicates one of the following: split or not split. If split is indicated, a first flag indicating a horizontal or vertical orientation is signaled, and a second flag indicating a BT split or a TT split is signaled.

[0203] As described above, according to the techniques described herein, various types of partitions may be allowed for the luma channel and / or chroma channel, wherein the CU associated with the intra prediction type forms a root for further partitioning the luma channel and / or chroma channel. In one example, according to the techniques described herein, the further partitioning of the CU associated with the intra prediction type may be constrained so that the BT and / or ABT nodes may not be further partitioned according to the QT partitioning. In one example, according to the techniques described herein, the further partitioning of the CU associated with the intra prediction type may allow the BT and / or ABT nodes to be further partitioned according to the QT partitioning. In one example, according to the techniques described herein, the further partitioning of the CU associated with the intra prediction type may be constrained so that the BT and / or TT nodes may not be further partitioned according to the QT partitioning. In one example, according to the techniques described herein, the further partitioning of the CU associated with the intra prediction type may allow the BT and / or TT nodes to be further partitioned according to the QT partitioning. In an example in which the BT, ABT, and TT nodes are allowed to be further partitioned according to the QT partitioning, at each BT, ABT, and TT node, a QT partitioning mark indicating whether the QT partitioning is applied may be sent by a signal. In an example where further partitioning of BT, ABT, and TT nodes according to QT partitioning is not allowed, at each BT, ABT, and TT having a BT, ABT, or TT node as an ancestor, a QT partition mark is not signaled. In one example, according to the techniques described herein, further partitioning of a CU associated with an intra-frame prediction type may include a combination of BT, ABT, and TT partitions. Tables 10C to 10D show examples of box coding signaling for signaling QT partitioning, BT partitioning, TT partitioning, and ABT partitioning according to the techniques described herein. As described above, in an example where BT, ABT, and TT nodes can be further partitioned according to QT partitioning, at each BT, ABT, and TT node, a QT partition mark indicating whether QT partitioning is applied can be signaled. Referring to Table 10C, when QT is not allowed after BT, ABT, and TT, node Bin0 is not transmitted for nodes having a BT, ABT, or TT node as an ancestor in the partitioning tree. With respect to Tables 10C to 10D, it should be noted that there may be cases where some partitions are equivalent to other partitions or some partitions are not possible, in which case the binarization may be modified to improve coding efficiency.

[0204]

[0205] Table 10C

[0206]

[0207]

[0208] Table 10D

[0209] As described above, whether or not a syntax element (e.g., separate_tree_flag) is present in the bitstream and whether and how an intra CU is further partitioned may depend on the depth and block size of the blocks in the partition structure. It should be noted that, in one example, the depth of an ABT leaf may correspond to the number of samples included in the leaf. In one example, when the further partitioning includes an ABT partition, the value of separate_tree_flag may be inferred based on the block size and / or the depth of the BT, TT, and / or ABT leaf nodes.

[0210] In one example, coding_tree_unit_luma() and / or coding_tree_unit_chroma() may be constrained such that QT splitting is disabled. For example, in this case, for coding_tree_unit_luma() and / or coding_tree_unit_chroma(), possible splits may include any combination of: no split, horizontal BT split, vertical BT split, horizontal TT split, and / or vertical TT split. Table 10E shows an example of box coding signaling for signaling no split, horizontal BT split, vertical BT split, horizontal TT split, and / or vertical TT split.

[0211]

[0212] Table 10E

[0213] It should be noted that in some examples, when QT splitting is disabled for coding_tree_unit_luma() and / or coding_tree_unit_chroma(), QT splitting may still be allowed for coding_tree_unit_shared(). Furthermore, in some cases, QT splitting is still allowed for ancestor video blocks that form the root of coding_tree_unit_luma() and coding_tree_unit_chroma(). Furthermore, in some cases, disabling QT splitting for coding_tree_unit_luma() and / or coding_tree_unit_chroma() may only apply to intra blocks between segments, but not to intra blocks within a segment.

[0214] In one example, one or more additional partition types are disabled for coding_tree_unit_shared(), coding_tree_unit_luma(), and / or coding_tree_unit_chroma() based on one or more of the channel type (luminance or chrominance), segment type, current QT / BT / TT depth, etc., in a manner similar to that described above. In such cases, signaling may be simplified. For example, with respect to Table 10E, if TT splitting is disabled, signaling may be simplified as provided in Table 10F.

[0215]

[0216] Table 10F

[0217] As described above, quantization may include dividing the transform coefficients by a certain quantization scaling factor (referred to herein as Q scaling) and any associated rounding functions (e.g., rounding to the nearest integer). In some cases, quantization may result in a scale value of zero, for example, for a relatively high quantization parameter. Non-zero scale values ​​may be described as valid. In ITU-T H.265, a coding block flag (cbf) may be signaled for each component to indicate whether the transform block includes one or more transform coefficient scales (e.g., coding block flag, cbf_luma, cbf_cb, and cbf_cr) that are not equal to 0. In addition, in ITU-T H.265, cbf may be signaled at the root (root_cbf) to indicate the presence of cbf_luma, cbf_cb, and cbf_cr, thereby indicating whether the block corresponding to the root does not include a valid coefficient. That is, if root_cbf is 0, cbf_luma, cbf_cb, and cbf_cr are not included in the bitstream, and if root_cbf is 1, cbf_luma, cbf_cb, and cbf_cr are included in the bitstream. In the case where coding_tree_unit_luma() and coding_tree_unit_chroma() are used to signal the division, coding_tree_unit_luma() corresponds to one color component and coding_tree_unit_chroma() corresponds to two color components. Therefore, signaling root_cbf for each of coding_tree_unit_luma() and coding_tree_unit_chroma() may be redundant. According to the technology of this article, in one example, signaling root_cbf (i.e., cbf_luma exists) is skipped for coding_tree_unit_luma(). It should be noted that there may be a situation where TU is smaller than CU. In this case, root_cbf is associated with multiple cbf_luma values ​​(i.e., one for each TU). In one example, signaling root_cbf may be skipped for the set of luma coefficients only when the TU size is the same as the CU size. In one example, signaling root_cbf is skipped for coding_tree_unit_luma() and coding_tree_unit_chroma() (i.e., cbf_luma, cbf_cb, and cbf_cr are present). In one example, signaling cbf_luma is skipped for coding_tree_unit_luma() (i.e., root_cbf is equal to cbf_luma).In one example, signaling of cbf_cb and cbf_cr is skipped for coding_tree_unit_chroma() (i.e., root_cbf indicates whether cb or cr has a significant coefficient). It should be noted that such signaling of root_cbf, cbf_luma, cbf_cb, and cbf_cr may be applicable to separate partitioning trees occurring at a certain level (e.g., slice level, picture level, etc.). Furthermore, it should be noted that in some examples, when root_cbf is skipped for coding_tree_unit_luma() and / or coding_tree_unit_chroma(), root_cbf may still be signaled for coding_tree_unit_shared(). Furthermore, in some cases, skipping signaling of root_cbf for coding_tree_unit_luma() and / or coding_tree_unit_chroma() may only apply to intra blocks between slices, but not to intra blocks within a slice.

[0218] Thus, the video encoder 200 represents an example of a device configured to receive a video block including sample values ​​for a first component of video data and a second component of the video data, partition the sample values ​​for the first component of the video data and the second component of the video data according to a first quadtree binary tree partitioning structure, and for the sample values ​​of the first component of the video data included in nodes of the first quadtree binary tree associated with an intra-frame prediction type, further partition the samples according to a second quadtree binary tree.

[0219] Reference again Figure 8, the video encoder 200 can generate residual data by subtracting the predicted video block from the source video block. The summer 202 represents a component configured to perform the subtraction operation. In one example, the subtracted video block occurs in the pixel domain. The transform coefficient generator 204 applies a transform such as a discrete cosine transform (DCT), a discrete sine transform (DST), or a conceptually similar transform (e.g., four 8×8 transforms can be applied to a 16×16 residual value array) to the residual block or its sub-partition to produce a set of residual transform coefficients. The transform coefficient generator 204 can be configured to perform any and all combinations of transforms included in the discrete triangular transform series. As described above, in ITU-TH.265, TB is constrained to the following sizes: 4×4, 8×8, 16×16, and 32×32. In one example, the transform coefficient generator 204 can be configured to perform transforms according to arrays having sizes of 4×4, 8×8, 16×16, and 32×32. In one example, the transform coefficient generator 204 may be further configured to perform transforms according to arrays of other dimensions. Specifically, in some cases, it may be useful to perform transforms on rectangular arrays of different values. In one example, the transform coefficient generator 204 may be configured to perform transforms according to arrays of the following sizes: 2×2, 2×4N, 4M×2, and / or 4M×4N. In one example, a two-dimensional (2D) M×N inverse transform may be implemented as a one-dimensional (1D) M-point inverse transform followed by a 1D N-point inverse transform. In one example, a 2D inverse transform may be implemented as a 1D N-point vertical transform followed by a 1D N-point horizontal transform. In one example, a 2D inverse transform may be implemented as a 1D N-point horizontal transform followed by a 1D N-point vertical transform. The transform coefficient generator 204 may output the transform coefficients to the coefficient quantization unit 206.

[0220] As described above, in JEM, for intra-frame prediction, a core transform and a subsequent secondary transform may be applied to the residual aligned with the QTBT leaf node to generate transform coefficients based on the prediction mode. In the case where one or both of the luma channel and the chroma channel may be further divided for prediction according to the techniques described herein, the AMT and MDNSST techniques described in JEM may not be ideal. In one example, according to the techniques described herein, AMT may be enabled (able to be applied or not applied) or disabled (not able to be applied) for the luma channel and the chroma channel according to the techniques described herein. In one example, AMT may be enabled for luma channel residuals corresponding to and aligned with the luma CB (where the luma CB is included in the intra-frame prediction mode CU included in the inter-frame prediction fragment), and AMT may be disabled for chroma channel residuals corresponding to and aligned with the chroma CB. That is, see Fig. 9In the example shown, for a CU indicated as having an intra prediction type, AMT may be selectively applied to the luma channel CB residual and disabled for the chroma channel CB residual. In one example, AMT may be disabled if the width or height of the CB is greater than a threshold. In one example, the threshold may be 64. In one example, AMT is enabled only when there is a CB having at least one or more core transform coefficient level values ​​not equal to 0. In one example, a higher level syntax may be used to signal whether AMT is enabled or disabled for the luma CB channel and / or chroma CB channel in a CU indicated as having an intra prediction type. It should be noted that in some examples, the residual provided as input to the core transform may correspond to and be aligned with an intra predicted CU.

[0221] As described above, in JEM, NSST_idx including four possible values ​​(i.e., 0=MDNSST not applied; and 1 to 3 corresponding to the transformation matrix) is signaled once per intra CU. In one example, according to the techniques described herein, the possible values ​​of NSST_idx can be defined according to Table 11. In one example, TH1 and TH2 in Table 11 can be equal to 8.

[0222]

[0223] Table 11

[0224] Therefore, according to the techniques described herein, for chroma channel core transform coefficients, MDNSST may be enabled if the corresponding CU has a width and / or height greater than a threshold. Furthermore, in one example, MDNSST may be applied only when the number of core transform coefficient scale values ​​greater than zero is greater than a threshold. Furthermore, in one example, MDNSST may not be applied if the CU does not include any core transform scale values ​​not equal to 0. In one example, MDNSST may be applied only if transform-quantization bypass is not applied. In one example, NSST_idx may be in the range of 0 to 2 for DC and planar prediction modes. In one example, a higher level syntax may be used to control the range of NSST_idx.

[0225] The coefficient quantization unit 206 may be configured to perform quantization of the transform coefficients. As described above, the degree of quantization may be modified by adjusting a quantization parameter. The coefficient quantization unit 206 may be further configured to determine the quantization parameter and output QP data (e.g., data for determining a quantization group size and / or an incremental QP value), which a video decoder may use to reconstruct the quantization parameter to perform inverse quantization during video decoding. It should be noted that in other examples, one or more additional or alternative parameters may be used to determine the quantization scale (e.g., a scaling factor). The techniques described herein may generally be applied to determine the quantization scale of a transform coefficient corresponding to a component of video data based on the quantization scale of a transform coefficient corresponding to another component of video data.

[0226] like Figure 8 As shown, the quantized transform coefficients are output to the inverse quantization / transform processing unit 208. The inverse quantization / transform processing unit 208 may be configured to apply inverse quantization and / or inverse transformation to generate reconstructed residual data. Figure 8 As shown, at the summer 210, the reconstructed residual data can be added to the predicted video block. In this way, the encoded video block can be reconstructed, and the resulting reconstructed video block can be used to evaluate the coding quality of a given prediction, transformation and / or quantization. The video encoder 200 can be configured to perform multiple encoding rounds (e.g., performing encoding while changing one or more of the prediction, transformation parameters and quantization parameters). The rate distortion or other system parameters of the bitstream can be optimized based on the evaluation of the reconstructed video block. In addition, the reconstructed video block can be stored and used as a reference for predicting subsequent blocks.

[0227] As described above, intra-frame prediction may be used to encode a video block. The intra-frame prediction processing unit 212 may be configured to select an intra-frame prediction mode for a video block to be encoded. The intra-frame prediction processing unit 212 may be configured to evaluate a frame and / or a region thereof and determine an intra-frame prediction mode for encoding a current block. Figure 8 As shown, the intra-frame prediction processing unit 212 outputs the intra-frame prediction data (e.g., syntax elements) to the entropy coding unit 218 and the transform coefficient generator 204. As described above, the transformation performed on the residual data can depend on the mode. As described above, possible intra-frame prediction modes can include a plane prediction mode, a DC prediction mode, and an angular prediction mode. In addition, in some examples, the prediction of the chrominance component can be inferred from the intra-frame prediction for the luma prediction mode.

[0228] As described above, JEM specifies techniques (e.g., PDPC and ARSS) for modifying reference samples before generating residual data and modifying reference samples before reconstructing video blocks. In the case where one or both of the luma channel and the chroma channel can be further divided for prediction according to the techniques described herein, the techniques for modifying reference samples in JEM may not be ideal. In one example, according to the techniques described herein, PDPC may be enabled for the luma channel CB included in the intra prediction mode CU included in the inter prediction segment, and PDPC may be disabled for the included chroma channel CB. That is, see Fig. 9 In the example shown, PDPC may be selectively applied for each of the four luma channel CBs, and PDPC may be disabled for the two chroma channel CBs. In one example, when MDNSST is applied to a CU, PDPC may be disabled for the CBs included in the CU. In one example, a higher level syntax may be used to signal whether PDPC may be enabled or disabled for the luma channel and / or the chroma channel CBs.

[0229] In one example, according to the techniques described herein, ARSS may be enabled for a luma channel CB included in an intra prediction mode CU included in an inter prediction segment, and ARSS may be disabled for a chroma channel CB. Fig. 9 In the example shown, ARSS may be selectively applied for each of the four luma channels CBs, and may be disabled for the two chroma channels CBs. In one example, if the width or height of the CB is greater than a threshold, ARSS is not applied. In one example, if the prediction mode of the CB is DC, ARSS is not applied. In one example, a higher level syntax may be used to signal whether ARSS may be enabled or disabled for the luma channel and / or chroma channel CBs in the CU.

[0230] As described above, in the JEM for MDNSST, there are 35 inseparable transform matrices, of which 11 is the number of transform sets for directional intra prediction modes, and each transform set includes 3 transform matrices, and for non-directional modes (i.e., planar, DC, and LM), only one transform set including 2 transform matrices is applied. As further described above, the chroma channels can be further divided according to separate partitioning trees. In one example, when the chroma channels are further divided according to separate partitioning trees for any subset of segment types (e.g., only B-type or intra-type and inter-type segments), the LM mode can be allowed for the chroma channels. In addition, in one example, for a chroma channel using a DC or planar prediction mode, the corresponding transform set may include 3 transform matrices.

[0231] The inter-frame prediction processing unit 214 may be configured to perform inter-frame prediction coding for the current video block. The inter-frame prediction processing unit 214 may be configured to receive a source video block and calculate a motion vector of a PU of the video block. The motion vector may indicate the displacement of a PU (or a similar coding structure) of a video block within a current video frame relative to a prediction block within a reference frame. Inter-frame prediction coding may use one or more reference pictures. In addition, motion prediction may be unidirectional prediction (using one motion vector) or bidirectional prediction (using two motion vectors). The inter-frame prediction processing unit 214 may be configured to select a prediction block by calculating a pixel difference determined by, for example, the sum of absolute differences (SAD), the sum of square differences (SSD), or other difference metrics. As described above, the motion vector may be determined and specified based on motion vector prediction. As described above, the inter-frame prediction processing unit 214 may be configured to perform motion vector prediction. The inter-frame prediction processing unit 214 may be configured to generate a prediction block using motion prediction data. For example, the inter-frame prediction processing unit 214 may locate a prediction video block ( Figure 8 ). It should be noted that the inter-prediction processing unit 214 may be further configured to apply one or more interpolation filters to the reconstructed residual block to calculate sub-integer pixel values ​​for motion estimation. The inter-prediction processing unit 214 may output the motion prediction data of the calculated motion vector to the entropy coding unit 218.

[0232] like Figure 8 As shown, the inter-frame prediction processing unit 214 may receive the reconstructed video block via the filter unit 216. The filter unit 216 may be configured to perform deblocking, sample adaptive offset (SAO) filtering, and / or ALF filtering. As described above, deblocking refers to the process of smoothing the boundaries of the reconstructed video blocks (e.g., making the boundaries less noticeable to the observer). As described above, SAO filtering is a non-linear amplitude mapping that can be used to improve reconstruction by adding an offset to the reconstructed video data. As described above, JEM defines ALF.

[0233] As described above, ITU-T H.265 includes two types of deblocking filters that can be used to modify luma samples: Strong Filter and Weak Filter, and one type of filter that can be used to modify chroma samples: Normal Filter. In ITU-T H.265, a boundary strength measurement is used to determine whether to apply a type of filter. In one example, according to the techniques described herein, filter unit 216 can be configured to determine the boundary strength based on whether one or more of the following are applied during encoding of the video data: PDPC, ARSS, AMT, and / or MDNSST.

[0234] In addition, as described above, JEM provides the following scenarios: for luma components, picture-level flags can enable ALF to be selectively applied to each CU in a picture, and for chroma components, ALF is enabled or disabled at the picture level. In the case where one or both of the luma and chroma channels can be further divided for prediction according to the techniques described herein, the JEM techniques for applying ALF and signaling whether ALF is applied may not be ideal. In one example, filter unit 216 can be configured to apply ALF and signal whether ALF is applied according to the techniques described herein.

[0235] In one example, the presence of a flag indicating whether ALF is applied to a block (e.g., CU or CB) is based on the depth of the block, where the depth may be related to a CTU root or a CU root. This flag may be referred to as ALF ON / OFF. In one example, if the depth of the block is greater than a threshold, there is no ALF ON / OFF and corresponding ALF signaling. In some examples, the threshold may be signaled in the bitstream. In one example, the value of ALF ON / OFF may be inferred for an intra block (e.g., CU or CB). In one example, the value of ALF ON / OFF for an intra block may be independent for the luma channel and the chroma channel. In one example, signaling for ALF ON / OFF may be signaled at the root of an intra mode tree in an inter segment. In one example, signaling for ALF ON / OFF may be signaled at the root of an intra mode tree in an inter segment only when the depth of the root of the intra mode tree is less than or equal to the depth allowed for signaling ALF ON / OFF. In one example, signaling for ALF ON / OFF may be signaled at the depth of the intra-mode tree only when the depth of the root of the intra-mode tree is less than or equal to the depth allowed for signaling ALF ON / OFF.

[0236] In one example, ALF ON / OFF signaling for intra blocks may be based on a signaled partition depth independent of inter-coded blocks, where if the depth of the block is greater than a threshold, there is no ALF ON / OFF and corresponding ALF signaling. In one example, ALF may be selectively applied to intra-coded luma blocks and chroma blocks, where the selection may be signaled. In one example, separate sets of ALF coefficients may be signaled for intra-coded blocks independently of inter-coded blocks. In one example, separate sets of ALF coefficients may be signaled for luma channels and chroma channels.

[0237] In one example, the ALF chroma sample classification may be derived using the luma sample classification for intra blocks in an inter segment. In one example, the ALF CU level ON / OFF for chroma may be derived using the ON / OFF state of one or more co-located luma CBs for intra blocks in an inter segment, e.g., the chroma CU level is marked ON only when at least one of the co-located luma CBs is ON.

[0238] Reference again Figure 8 , the entropy coding unit 218 receives the quantized transform coefficients and prediction syntax data (i.e., intra-frame prediction data, motion prediction data, QP data, etc.). It should be noted that in some examples, the coefficient quantization unit 206 may perform a scan of the matrix including the quantized transform coefficients before outputting the coefficients to the entropy coding unit 218. In other examples, the entropy coding unit 218 may perform the scan. The entropy coding unit 218 may be configured to perform entropy coding according to one or more of the techniques described herein. The entropy coding unit 218 may be configured to output a conforming bitstream (i.e., a bitstream from which a video decoder can receive and reproduce video data).

[0239] As described above, in the example of CABAC, for a particular bin, a context model may be selected from a set of available context models associated with the bin. In some examples, the context model may be selected based on the value of a previous bin and / or a previous syntax element. Specifically, for a syntax element, a CABAC context variable is indexed using a context table and a content index (ctxidx). As further described above, according to the techniques described herein, for inter-frame segments, if the prediction type of the CU is intra, a QTBT is signaled for the luma channel and a QTBT is signaled for the chroma channels.

[0240] In one example, the context of segmentation information for a channel (e.g., whether QT, BT, or TT segmentation is applied) may be determined as follows:

[0241] Set CtxtIdx to 0;

[0242] If the segmentation depth of the left block is greater than the current segmentation depth, CtxtIdx++;

[0243] If the split depth of the top block is greater than the current split depth, CtxtIdx++;

[0244] Use CtxtIdx to encode the segmentation.

[0245] In one example, the context selection for a channel may depend on whether the neighboring block is encoded using intra prediction. For example, the content may be determined as follows:

[0246] Set CtxtIdx to 0;

[0247] If the partition depth of the left block is greater than the current partition depth and the prediction mode is not intra, CtxtIdx++;

[0248] If the partition depth of the top block is greater than the current partition depth and the prediction mode is not intra, CtxtIdx++;

[0249] Use CtxtIdx to encode the segmentation.

[0250] In one example, context selection may depend on whether the neighboring blocks are encoded using intra prediction, and whether separate or shared tree partitioning is used.

[0251] In one example, the context of the partition information may be based on the depth of the intra mode CU.It should be noted that, in one example, when the CU in the inter segment has an intra type, the depth is determined for the luma channel and the chroma channels separately.

[0252] In one example, the context of segmentation information for a channel may be determined as follows:

[0253] Set CtxtIdx to 0;

[0254] If the size of the left block is less than the current size, CtxtIdx++;

[0255] If the size of the top block is less than the current size, CtxtIdx++;

[0256] Use CtxtIdx to encode the segmentation.

[0257] In one example, the context selection for a channel may depend on whether the neighboring block is encoded using intra prediction. For example, the content may be determined as follows:

[0258] Set CtxtIdx to 0;

[0259] If the size of the left block is smaller than the current size and the prediction mode is not intra, CtxtIdx++;

[0260] If the size of the top block is less than the current size and the prediction mode is not intra, CtxtIdx++;

[0261] Use CtxtIdx to encode the segmentation.

[0262] In one example, the context of the partition information may be based on the size of the intra-mode CU. In one example, the size may correspond to the number of samples in the block.

[0263] In one example, the context may be determined as follows:

[0264] Set CtxtIdx to 0;

[0265] If the partition depth of the left block is greater than the current partition depth and the prediction mode is not intra, CtxtIdx++;

[0266] If the partition depth of the top block is greater than the current partition depth and the prediction mode is not intra, CtxtIdx++;

[0267] determining a maximum depth between adjacent blocks when the adjacent blocks are intra-coded and use of a separate tree is deemed unusable for determining the maximum depth;

[0268] determining a minimum depth between adjacent blocks when the adjacent blocks are intra-coded and use of a separate tree is deemed unusable for determining a maximum depth;

[0269] If the current depth when the split syntax element is signaled is less than the minimum depth of the neighboring blocks, CtxIdx is set to 3;

[0270] If the current depth when the split syntax element is signaled is greater than or equal to the maximum depth of the neighboring blocks plus 1, CtxIdx is set to 4;

[0271] Use CtxtIdx to encode the segmentation.

[0272] In one example, the context may be determined as follows:

[0273] Set CtxtIdx to 0;

[0274] If the partition depth of the left block is greater than the current partition depth and the prediction mode is not intra, CtxtIdx++;

[0275] If the partition depth of the top block is greater than the current partition depth and the prediction mode is not intra, CtxtIdx++;

[0276] determining a maximum depth between adjacent blocks, wherein an adjacent block can be used to determine the maximum depth only if the shared tree / individual tree tags of the current block and the adjacent block are the same;

[0277] determining a minimum depth between adjacent blocks, wherein an adjacent block can be used to determine the minimum depth only if the shared tree / individual tree tags of the current block and the adjacent block are the same;

[0278] If the current depth when the split syntax element is signaled is less than the minimum depth of the neighboring blocks, CtxIdx is set to 3;

[0279] If the current depth when the split syntax element is signaled is greater than or equal to the maximum depth of the neighboring blocks plus 1, CtxIdx is set to 4;

[0280] Use CtxtIdx to encode the segmentation.

[0281] In one example, a partitioning syntax element may be signaled per channel, and the neighboring blocks may correspond to the depth of the channel under consideration.

[0282] As described above, in some examples, a flag (e.g., separate_tree_flag) may indicate whether the luma channel and the chroma channel are further divided according to separate partitioning trees or shared partitioning trees. In one example, a single CABAC context variable may be used to entropy encode the tag, and the context may be updated based on the value of the flag. In one example, a set of CABAC context variables may be used to entropy encode the tag. In one example, the context variables selected from the set may be based on the value of the tag in an adjacent (spatial or temporal) block. In one example, the context selection for encoding of the tag may be based on the depth of the current block.

[0283] In one example, the context for a tag may be determined as follows:

[0284] Set CtxtIdx to 0;

[0285] If the flag of the left block is TRUE, CtxtIdx++;

[0286] If the flag of the top block is TRUE, CtxtIdx++;

[0287] Use CtxtIdx to encode the tag.

[0288] In one example, the context used for entropy encoding separate_tree_flag can be based on the size of the block. For example, the context can be selected by comparing the height of the block to a threshold, the width of the block to a threshold, the height*width of the block to a threshold, and / or some other suitable calculation based on the height and / or width. In one example, the context can be selected by comparing the height of the block to the width of the block. For example, the selection can be based on whether the height is greater than the width, the height is less than the width, or the height is equal to the width.

[0289] In one example, the context for entropy encoding separate_tree_flag may be based on the slice type. In one example, the context for entropy encoding separate_tree_flag may be initialized so that the context is associated with a relatively large block corresponding to the probability that the flag indicates the existence of a separate tree (e.g., a block satisfying the condition (cu_width*cu_height>=Upper_TH)), and alternatively, a relatively small block corresponding to the probability that the flag indicates the existence of a shared tree (e.g., a block satisfying the condition (cu_width*cu_height<=Lower_TH)).

[0290] In one example, the context for entropy encoding separate_tree_flag may be selected according to the example shown in Table 12.

[0291]

[0292] Table 12

[0293] With respect to Table 12, in some cases, contexts for a set of (W, H) may be grouped into a context set. Also, in some cases, contexts for a set of (W, H, SliceType) may be grouped into a context set. It should be noted that in the example shown in Table 12, the CTU size is shown as 128×128. In other examples, other CTU sizes may be used, and the table may be reduced or expanded accordingly.

[0294] As described above, in one example, the further partitioning may include an ABT partitioning, and the depth of the ABT leaf (i.e., the 1 / 4 leaf and the 3 / 4 leaf) may correspond to the number of samples included in the leaf. In one example, the context of the flag indicating the ABT partitioning mode (e.g., the second added flag indicating the type of asymmetric partitioning mode used) may be determined as follows:

[0295] Set CtxtIdx to 0;

[0296] If the ABT depth of the left block is greater than the current ABT depth, CtxtIdx++;

[0297] If the ABT depth of the top block is greater than the current ABT depth, CtxtIdx++;

[0298] Use CtxtIdx to encode the ABT tag.

[0299] In one example, when the further partitioning includes ABT partitioning, the context selection for a channel may depend on whether the neighboring block is encoded using intra prediction. For example, the context may be determined as follows:

[0300] Set CtxtIdx to 0;

[0301] If the ABT depth of the left block is greater than the current ABT depth and the prediction mode is not intra, CtxtIdx++;

[0302] If the ABT depth of the top block is greater than the current ABT depth and the prediction mode is not intra, CtxtIdx++;

[0303] Use CtxtIdx to encode the ABT tag.

[0304] In one example, when encoding ABT segmentation information using neighbor-based context selection, the context is based on depth when intra mode is selected.

[0305] As described above, one or more partition types may be disabled for coding_tree_unit_shared(), coding_tree_unit_luma(), and / or coding_tree_unit_chroma() based on the slice type. Specifically, in one example, the TT partition type may be disabled for an I slice. Using a shared tree and separate trees with disabled TT partition types may achieve a better coding complexity tradeoff with respect to coding efficiency.

[0306] The binarization of the partition signaling and / or the context selection of the corresponding bin may depend on whether coding_tree_unit_shared(), coding_tree_unit_luma() and / or coding_tree_unit_chrom are used or enabled, and / or whether the prediction mode is used or enabled. Therefore, one or more of the following may apply:

[0307] - Binarization of partition signaling and / or context selection of corresponding bins may be based on whether to use a shared tree and / or separate trees;

[0308] - Binarization of partition signaling and / or context selection of corresponding bins may be based on the state of shared tree / individual tree flags;

[0309] - Binarization of partition signaling and / or context selection for corresponding bins may be based on whether a shared tree and / or separate trees are used for prediction mode (e.g., intra prediction);

[0310] - Binarization of partition signaling and / or context selection for corresponding bins may be based on the state of shared tree / separate tree flags for prediction mode;

[0311] - Binarization of partition signaling and / or context selection of corresponding bins may be based on prediction mode (e.g., intra mode blocks may not have TT partitioning);

[0312] - Binarization of partition signaling and / or context selection of corresponding bins may be based on the segment type (e.g., intra segments may not have TT partitioning);

[0313] - binarization of partition signaling and / or context selection of corresponding bins may be based on prediction mode (eg, intra mode blocks may not have BT partitioning); and / or

[0314] - Binarization of partition signaling and / or context selection of corresponding bins may be based on the segment type (eg, intra segments may not have BT partitioning).

[0315] As described above, the partitioning techniques described herein may produce rectangular coding blocks, whereas the partitioning techniques in ITU-TH.265 produce square coding blocks with equal height and width dimensions (powers of 2). That is, for example, in ITU-TH.265, a 64×64 CU may be recursively partitioned into 32×32, 16×16, and 8×8 CUs. The size of a square coding block with equal height and width dimensions that are powers of 2 may be represented as 2 N In addition, a simple bit shift operation can be used to implement the calculation of the average value of the sample values ​​located at the boundaries of square coding blocks with equal height and width dimensions (which are powers of 2). N ×2 NThe average of the sample values ​​at the video block boundary can be calculated by dividing the sum of the sample values ​​by N+1 (i.e., SUM(Sample Values) >> (N+1)). Some coding tools, such as those included in ITU-T H.265, utilize the calculation of the average of samples located at the coding block boundary. These coding tools assume that the coding blocks are squares with equal height and width dimensions (which are powers of 2) and therefore use bit-shifting operations to implement the average function. Such average calculations need to be modified in order to calculate the average of sample values ​​located at the boundaries of arbitrarily shaped rectangular blocks (e.g., blocks with dimensions W×H), while maintaining the ability to use simple bit-shifting operations to implement the division by the number of values ​​included in the average. In addition, coding tools such as those described in "Local Illumination Compensation" by H. Liu at the 52nd Meeting of the ITU-Telecommunication Standardization Sector Study Group 16 Study Topic 6 Video Coding Experts Group (VCEG) held in Warsaw, Poland, June 19-26, 2015 (Document: VCEG-AZ06) and "Enhanced Cross-component Linear Model Chroma Intra Prediction" by Zhang et al. at the 4th Meeting held in Chengdu, China, October 15-21, 2016 (Document: JVET-D0110) require the derivation of parameters of the linear model. The derivation of such parameters includes computing the sum of the values ​​of samples located at the boundaries of the coding blocks and the sum of the squares of the values, and computing divisions by the number of samples included in these sums. When the number of samples is a power of 2, these divisions can be implemented using bit shift operations, as in the case of square blocks with equal height and width dimensions (which are powers of 2). This sum calculation needs to be modified so as to calculate the sum of sample values ​​and the sum of squares of sample values ​​located at the boundaries of arbitrarily shaped rectangular blocks, while retaining the ability to use simple bit shift operations to implement division by the number of values ​​included in the sum.

[0316] In one example, according to the techniques of this article, variables log2NumSamplesH and log2NumSamplesV can be derived so that 2 to the power of log2NumSamplesH is less than or equal to the width W of the current block (2log2NumSamplesH<=W), and 2 to the power of log2NumSamplesV is less than or equal to the height H of the current block (2log2NumSamplesV<=H). Then the variable 2NumSamples can be derived as follows:

[0317] If only samples from horizontally neighboring blocks are available, log2NumSamples is set equal to log2NumSamplesV;

[0318] If only samples from vertically neighboring blocks are available, log2NumSamples is set equal to log2NumSamplesH;

[0319] Otherwise, ie samples from both vertically and horizontally neighboring blocks are available, log2NumSamples is set equal to the minimum of log2NumSamplesH and log2NumSamplesV.

[0320] Once log2NumSamples is set, the value numSamples can be defined as 2 raised to the power of log2NumSamples. The value numSamples can be used to determine the number of samples from neighboring blocks used to calculate the average or sum. It should be noted that the value numSamples can be less than either or both of W and H. Therefore, according to the techniques herein, determining which numSamples of neighboring blocks to use for the average or sum calculation can be determined as follows:

[0321] If samples from horizontally neighboring blocks are available, the average or sum is calculated using numSamples samples from these blocks. The vertical position of the i-th sample is given by (i*H+H / 2)>>log2NumSamples, i=0..numSamples-1. It should be noted that this formula guarantees that the samples are more or less evenly distributed over the entire height of the block.

[0322] If samples from vertically adjacent blocks are available, the average or sum is calculated using numSamples samples from these blocks. The horizontal position of the i-th sample is given by (i*W+W / 2)>>log2NumSamples, i=0..numSamples-1. It should be noted that this formula guarantees that the samples are more or less evenly distributed across the width of the block.

[0323] As mentioned above, ITU-T H.265 is currently under consideration for extension and improvement to develop the next generation video coding standard. In response to the "Joint Call for Proposals on Video Compression with Capabilities beyond HEVC" jointly issued by VCEG and MPEG, at the 10th meeting of ISO / IEC JTC1 / SC29 / WG11 held in San Diego, California, from April 16 to 20, 2018, various groups proposed multiple descriptions of video coding. As a result of the multiple descriptions of video coding, the draft text of the video coding specification is described in "Versatile Video Coding (Draft 1)" at the 10th meeting of ISO / IEC JTC1 / SC29 / WG11 held in San Diego, California, from April 16 to 20, 2018, i.e., document JVET-J1001-v2, which is incorporated herein by reference and is referred to as JVET-J1001.

[0324] In JVET-J1001, CTU is divided according to a quadtree plus multi-type tree (QTMT) structure. The QTMT in JVET-J1001 is similar to the QTBT in JEM. However, in JVET-J1001, in addition to indicating binary segmentation, the multi-type tree can also indicate the so-called ternary (or ternary tree (TT)) segmentation. The ternary segmentation divides a block into three blocks vertically or horizontally. In the case of vertical TT segmentation, the block is segmented at a quarter of its width from the left edge and a quarter of its width from the right edge, and in the case of horizontal TT segmentation, the block is segmented at a quarter of its height from the top edge and a quarter of its height from the bottom edge. In addition, JVET-J1001 provides a scenario in which the mark qt_split_cu_flag indicates recursive quadtree partitioning. That is, one or more qt_split_cu_flag values ​​indicate that the CTU is divided into quadtree leaf nodes. At each quadtree leaf node, the multi-type tree syntax structure indicates recursive multi-type tree partitioning. That is, the multi-type tree syntax structure indicates the further partitioning of the quad leaf node according to zero or more symmetrical BT partitions and / or TT partitions. The multi-type tree syntax structure includes a flag mtt_paral_cu_flag, which indicates whether a coding unit is reached (i.e., the current block is not further partitioned and forms a coding unit, where the coding unit forms the root for prediction and transform feature syntax) or whether the current block is further partitioned according to BT partition or TT partition. When mtt_split_cu_flag indicates that the current block is further partitioned, two flags mtt_split_cu_vertical_flag and mtt_split_cu_binary_flag are signaled, which indicate one of the following: horizontal TT partition, horizontal BT partition, vertical TT partition, or vertical BT partition. Table 13 provides a summary of how the partitioning mode is indicated according to mtt_split_cu_flag, mtt_split_cu_vertical_flag, and mtt_split_cu_binary_flag.

[0325] Split Mode mtt_split_cu_flag mtt_split_cu_vertical_flag mtt_split_cu_binary_flag No further division 0 Unused signal sent Unused signal sent Horizontal TT 1 0 0 Level BT 1 0 1 Vertical TT 1 1 0 Vertical BT 1 1 1

[0326] Table 13

[0327] As shown in Table 13, when mtt_split_cu_flag indicates that CU is reached, mtt_split_cu_vertical_flag and mtt_split_cu_binary_flag are not signaled. In addition, it should be noted that mtt_split_cu_flag is repeatedly signaled after mtt_split_cu_vertical_flag and mtt_split_cu_binary_flag are signaled. It should be noted that JVET-J1001 specifies various conditions for not signaling and / or restricting multi-type tree syntax. For example, the partitioning of blocks may be disabled based on reaching a minimum block size and / or reaching a maximum depth from a CTU. For the sake of brevity, these conditions are not described in detail herein. However, reference is made to Section 6 of JVET-J1001, which describes conditions for allowing or not allowing segmentation. It should be noted that in some cases, segmentation may not be allowed based on blocks located at picture boundaries.

[0328] As described above, separate_tree_flag may indicate whether the luma channel and the chroma channel are further split according to separate partitioning trees, and separate_tree_flag may be conditionally present for a CU associated with intra prediction based on the number of samples (e.g., luma samples or chroma samples) included in the CU. As further described above, in one example, the luma channel and the chroma channel outside the intra CU may not be allowed to be partitioned using a shared partitioning tree, and in this case, separate_tree_flag indicates whether the luma channel and the chroma channel are further partitioned according to separate partitioning trees or whether the partitioning is terminated. That is, as shown above, for example, with respect to the example shown in Table 9E, separate_tree_flag may indicate the presence of coding_tree_unit_luma() and coding_tree_unit_chroma() for further partitioning. As described above, for separate partition trees coding_tree_unit_luma() and coding_tree_unit_chroma(), possible partitions may include any combination of: no partition, QT partition, horizontal BT partition, vertical BT partition, horizontal TT partition and / or vertical TT partition, where QT partition may be disabled based on depth.

[0329] As described above, mtt_split_cu_flag indicates when a CU is reached. Therefore, separate_tree_flag indicating whether the luma channel and the chroma channel are further divided according to a separate partition tree (where the separate partition tree includes possible partitions among no partition, QT partition, horizontal BT partition, vertical BT partition, horizontal TT partition, and / or vertical TT partition, where QT partition may be disabled based on depth) or whether the partition is terminated may exist conditionally after mtt_split_cu_flag has a specific value. Table 14 shows an example in which separate_tree_flag exists conditionally when mtt_split_cu_flag has a value of 0. It should be noted that, with the example shown in Table 14, the luma channel and the chroma channels are divided according to a common QTMT, which indicates whether the luma and chroma channels are further divided according to separate partitioning trees or whether the division is terminated according to mtt_split_cu_flag, mtt_split_cu_vertical_flag, mtt_split_cu_binary_flag and separate_tree_flag.

[0330]

[0331] Table 14

[0332] With respect to the example shown in Table 14, in one example, according to the techniques herein, separate_tree_flag may conditionally exist based on the following condition being evaluated to be true.

[0333] if(pred_mode_flag==MODE INTRA&&cu_height<=64&&cu_width<=64&&enable_separate_tree_flag&&allowSplit); and

[0334] if(cu_width*cu_height>(1<<(log2_separate_trees_lower_bound_minus4+4)&&cu_width*cu_height<(1<<(log2_separate_trees_upper_bound_minus4+4)

[0335] in,

[0336] enable_separate_tree_flag equal to 1 specifies that separate_trees_flag can be encoded. Otherwise, separate_trees_flag is not coded. enable_separate_tree_flag can be encoded at the SPS, PPS or slice header level.

[0337] allowSplit specifies whether further splits are allowed. For example, if the block has exceeded the depth, is smaller than the minimum size, and / or is located at the picture boundary and is subject to the default split, further splits may not be allowed.

[0338] log2_separate_tree_lower_bound_minus4+4 specifies the maximum number of luma samples when separate_trees_flag is not present and is inferred to be equal to 0. The value of (log2_separate_trees_lower_bound_minus4+4) should be in the range of 0 to the CTB luma size (or 2 in some examples), inclusive. log2_separate_tree_lower_bound_minus4 can be coded at the SPS, PPS or slice header level.

[0339] log2_separate_tree_upper_bound_minus4+4 specifies the minimum number of luma samples when separate_trees_flag is not present and is inferred to be equal to 1. The value of (log2_separate_trees_upper_bound_minus4+4) should be in the range of 0 to the CTB luma size (or 2 in some examples), inclusive. log2_separate_tree_upper_bound_minus4 can be coded at the SPS, PPS, or slice header level.

[0340] With respect to the example shown in Table 14, in one example, according to the techniques herein, separate_tree_flag may conditionally exist based on the following condition being evaluated to be true.

[0341] if(pred_mode_flag==MODE_INTRA&&cu_height<=64&&cu_width<=64&&enable_separate_tree_flag&&allowSplit); and

[0342] if(cu_width>(1<<(log2_separate_trees_lower_bound_minus2+2)&&cu_height>(1<<(log2_separate_trees_lower_bound_minus2+2) &&cu_width<(1<<(log2_separate_trees_upper_bound_minus2+2)&&cu_height<(1<<(log2_separate_trees_upper_bound_minus2+2))

[0343] log2_separate_tree_lower_bound_minus2+2 specifies the maximum number of luma samples when separate_trees_flag is not present and is inferred to be equal to 0.

[0344] log2_separate_tree_upper_bound_minus2+2 specifies the minimum number of luma samples when separate_trees_flag is not present and is inferred to be equal to 1.

[0345] As described above, enable_separate_tree_flag may be encoded at the SPS, PPS or slice header level. In one example, enable_separate_tree_flag may be encoded based on the exemplary syntax shown in Table 15. It should be noted that in Table 15, the following syntax descriptors may be applied:

[0346] -u(n): Use n-bit unsigned integers.

[0347] -ue(v): unsigned integer 0th order Exp-Golomb coded syntax element, starting from the leftmost bit.

[0348]

[0349] Table 15

[0350] With respect to Table 15, separate_trees_enabled_flag and separate_trees_enabled_for_inter_slices may be based on the following definitions:

[0351] separate_trees_enabled_flag equal to 0 specifies that the use of separate luma and chroma partitioning trees is disabled. separate_trees_enabled_flag equal to 1 specifies that the use of separate luma and chroma partitioning trees is enabled.

[0352] separate_trees_enabled_for_inter_slices equal to 0 specifies that separate luma and chroma partitioning trees are not allowed for inter slices. separate_trees_enabled_for_inter_slices equal to 1 specifies that separate luma and chroma partitioning trees are allowed for inter slices. When not present, the value of separate_trees_enabled_for_inter_slices is inferred to be equal to 0.

[0353] and

[0354] The value of the variable enable_separate_tree_flag is derived as follows:

[0355] - If separate_trees_enabled_flag is equal to 1 and slice_type is equal to 1, then enable_separate_tree_flag is equal to TRUE

[0356] - Otherwise, if separate_trees_enabled_flag is equal to 1 and slice_type is not equal to 1, and separate_trees_enabled_for_inter_slices is equal to 1, then enable_separate_tree_flag is equal to TRUE

[0357] - Otherwise, enable_separate_tree_flag is equal to FALSE

[0358] It should be noted that in one example, separate boundaries may be used for intra and inter segments, that is, log2_separate_tree_lower_bound_minus4, log2_separate_tree_upper_bound_minus4, log2_separate_tree_lower_bound_minus2, and / or log2_separate_tree_upper_bound_minus2 may be indicated for intra and inter segments, respectively.

[0359] In some examples, one or more of the following constraints may be imposed:

[0360] - the first segmentation type in coding_tree_unit_chroma() is different from the first segmentation type in coding_tree_unit_luma();

[0361] - at least one of coding_tree_unit_luma() or coding_tree_unit_chroma() provides additional segmentation;

[0362] -coding_tree_unit_luma() additional splits; and / or

[0363] - coding_tree_unit_luma() and coding_tree_unit_chroma() both provide additional splits.

[0364] As described above, one or more additional partition types may be disabled for coding_tree_unit_luma() and coding_tree_unit_chroma(), and in such cases, signaling may be simplified. Therefore, partition types may be disabled for coding_tree_unit_chroma() (or coding_tree_unit_luma()) based on the above constraints. For example, if the first partition type for coding_tree_unit_luma() is QT, QT may be disabled for coding_tree_unit_chroma() due to the constraint that the first partition type in coding_tree_unit_chroma() is different from the first partition type in coding_tree_unit_luma(). It should be noted that in some cases, any further partitioning of chroma channels is disabled.

[0365] As described above, JVET-J1001 provides one or more qt_split_cu_flag values ​​to indicate that a CTU is divided into quad leaf nodes. JVET-J1001 also provides a scenario in which qt_split_cu_flag is entropy encoded according to the context. "Versatile Video Coding (Draft 2)" (document JVET-K1001-v4, incorporated herein by reference and referred to as JVET-K1001, an update of JVET-J1001) of the 11th meeting of ISO / IEC JTC1 / SC29 / WG11 held in Ljubljana, Slovenia from July 10 to 18, 2018, introduces the syntax element qtbtt_dual_tree_intra_flag in the partitioning scheme used in JVET-J1001, where qtbtt_dual_tree_intra_flag is defined as follows:

[0366] Qtbtt_dual_tree_intra_flag equal to 1 specifies that, for I slices, each CTU is partitioned into coding units with 64x64 luma samples using implicit quadtree partitioning, and these coding units are the roots of two separate coding_quadtree syntax structures for luma and chroma.

[0367] Therefore, JVET-K1001 enables the luma channel and chroma channels in an I (intra) segment to be further partitioned beyond the implicit quadtree partitioning according to separate partitioning trees. Therefore, in JVET-K1001, for an I segment with qtbtt_dual_tree_intra_flag equal to 1, there is a set of QT partitioning flags for the luma channel and a set of QT partitioning flags for the chroma channels, and for an I segment or non-I segment type with qtbtt_dual_tree_intra_flag equal to 0, there is a set of QT partitioning flags (i.e., the luma channel and chroma channels are partitioned according to a shared partitioning tree). It should be noted that according to the qtbtt_dual_tree_intra_flag in JVET-K1001, only one of the shared or separate partitioning schemes is allowed for a segment type, i.e., in JVET-K1001, for an I segment, whether a shared or separate partitioning scheme is used cannot be changed within a segment at the CTU level. In some cases, depending on regional characteristics of an image, it may be useful to use a shared partitioning scheme for some CTUs included in a segment and to use separate partitioning schemes for other CTUs included in the segment.

[0368] Similar to JVET-J1001, JVET-K1001 provides a scenario in which qt_split_cu_flag is entropy encoded according to context, but does not provide a context model for selecting context for qt_split_cu_flag. However, it should be noted that the current software implementation of JVET-K1001 provides a scenario in which a context is selected for qt_split_cu_flag by comparing the depth of the current node where the instance of qt_split_cu_flag exists (i.e., the depth of the instance of qt_split_cu_flag exists in the bitstream) with (i) the depth of the left CU, (ii) the depth of the right CU, (iii) the minimum depth in a set of neighboring CUs, and (iv) the maximum depth in a set of neighboring CUs.

[0369] According to the techniques described herein, context modeling of the value of qt_split_cu_flag is described for the following scenarios: (1) the value of qt_split_cu_flag included in a CTU where the luma channel and the chroma channels are partitioned according to a shared partitioning tree, where all CTUs in a slice use the same partitioning scheme (e.g., an I slice in JVET-K1001 where qtbtt_dual_tree_intra_flag is equal to 0); (2) the value of qt_split_cu_flag included in a CTU where the luma channel and the chroma channels are partitioned according to a shared partitioning tree, where all CTUs in a slice use the same partitioning scheme (e.g., an I slice in JVET-K1001 where qtbtt_dual_tree_intra_flag is equal to 0); The CTUs may use different (shared or separate) partitioning schemes; (3) a value of qt_split_cu_flag included in the CTU, wherein the luma channel and the chroma channel are partitioned according to separate partitioning trees, wherein all CTUs in a segment use the same partitioning scheme (e.g., an I segment in JVET-K1001, wherein qtbtt_dual_tree_intra_flag is equal to 1); (4) a value of qt_split_cu_flag included in the CTU, wherein the luma channel and the chroma channel are partitioned according to separate partitioning trees, wherein the CTUs in the segment may use different (shared or separate) partitioning schemes. It should be noted that partitioning the luma channel and the chroma channel according to separate partitioning trees may include partitioning according to independent separate partitioning trees and / or partitioning according to a separate partitioning tree other than a shared partitioning tree, wherein the shared partitioning tree is implicitly (e.g., as in JVET-1001, wherein qtbtt_dual_tree_intra_flag is equal to 1) or explicitly signaled.

[0370] In one example, according to the techniques herein, in a case where the value of qt_split_cu_flag is included in a CTU, where the luma channel and the chroma channel are partitioned according to a shared partitioning tree, where the CTUs in a segment may use different (shared or separate) partitioning schemes, and / or in a case where the value of qt_split_cu_flag is included in a CTU, where the luma channel and the chroma channel are partitioned according to separate partitioning trees, where the CTUs in the segment may use different partitioning schemes, the context of qt_split_cu_flag may be determined according to one or more of the following:

[0371] -A function of the depth of the current node, the depth of the neighboring CU, the partitioning scheme of the current node, and the partitioning scheme of the neighboring CU.

[0372] - A function of the depth of the current node and the depth of the neighboring CU corresponding to the same partitioning scheme as the current node. For example, if the current node has a depth of one corresponding to one previous shared tree partitioning scheme qt_split_cu_flag, and the neighboring CU has a depth of five corresponding to two previous shared tree partitioning schemes qt_split_cu_flags followed by three previous separate tree partitioning schemes qt_split_cu_flags, then the depth of the current node will be 1 and the depth of the neighboring CU will be 2. This is because the current node is using a separate tree partitioning scheme and the neighboring CU has a depth corresponding to two previous shared tree partitioning schemes qt_split_flags.

[0373] -When the current node and the neighboring CU use the same partitioning scheme, the context is a function of the depth of the current node and the depth of the neighboring CU. For example, if the current node has a shared tree partitioning scheme and the neighboring CU has a shared tree partitioning scheme, the context is a function of the depth of the current node and the depth of the neighboring CU. However, if the current node and the neighboring CU use different partitioning schemes, the derivation of the context does not respond to the depth of the neighboring CU. This is because the current node and the neighboring CU do not use the same partitioning scheme.

[0374] - A function of the depth of the current node and the maximum depth of neighboring CUs that use the same partitioning scheme as the current node. Alternatively, the context selection may be a function of the depth of the current node and the minimum depth of neighboring CUs that use the same partitioning scheme as the current node.

[0375] - a function of the partitioning scheme of the current node. For example, when the current node is a separate tree, a first context (or a first set of contexts) may be used, and when the current node is a shared tree, a second context (or a second set of contexts) may be used.

[0376] - A function based on the partitioning scheme for determining some contexts of the current node, but not based on the partitioning scheme for determining other contexts of the current node. For example, if the current node is using a shared tree or a separate tree, a context value may be selected in response to the depth of the current node and the depth of a neighboring CU that results in the same context value. In some cases, a context value may be selected in response to different depths of the current node and different depths of a neighboring CU that results in different context values, depending on whether the current node is using a shared tree or a separate tree. In one example, the function for determining context may be as follows:

[0377] Select context #1 if current depth < neighbor depth and current partition type is shared; or

[0378] Select context #2 if current depth < neighbor depth and current partition type is co-separate; otherwise

[0379] Select context #3 if current depth >= neighbor depth

[0380] In one example, according to the techniques herein, in a case where the value of qt_split_cu_flag is included in a CTU, where the luma channel and the chroma channel are divided according to a shared partitioning tree, where all CTUs in a fragment use the same partitioning scheme, and / or in a case where the value of qt_split_cu_flag is included in a CTU, where the luma channel and the chroma channel are divided according to separate partitioning trees, where all CTUs in the fragment use the same partitioning scheme, the context of qt_split_cu_flag may be determined according to one or more of the following:

[0381] -A function of the partitioning scheme of the current node.

[0382] - A function that determines a partitioning scheme for some contexts based on the current node, but does not determine a partitioning scheme for other contexts based on the current node.

[0383] Furthermore, in one example according to the techniques herein, the selection of the context for qt_split_cu_flag may be based on one or more of the following:

[0384] - Whether to enable separate tree tools for the chunk being processed

[0385] -Is the intra-subtree being processed Y / N?

[0386] - Is the neighboring CU intra-coded?

[0387] - Is the neighboring CU part of separate tree or shared tree mode of intra subtree?

[0388] -Is the initial public tree being processed Y / N?

[0389] - Fragment Type

[0390] - the height of the block being processed (e.g. cbHeight) and / or

[0391] - The width of the block being processed (e.g., cbWidth)

[0392] For example, you can select a context as follows:

[0393]

[0394] The selected context (CtxtIdx) can be used to encode / decode QT segmentation markers.

[0395] In some examples, the selected CtxtIdx may not be used to encode other situations

[0396] In other examples, the selected CtxtIdx may also be used in other situations (e.g., when the difference between the current depth and the neighboring depth is greater than a threshold)

[0397] The initial state of the selected CtxtIdx context may be biased to use a smaller number of bits to signal NO_SPLIT (eg, the split flag value is 0), for example, the initial CAB AC state of the selected context may be 0.

[0398] In one example, the depth of the neighboring CU can be used to determine the minimum depth and maximum depth of the neighbor. The determined minimum depth or maximum depth can be compared with the current depth and used to select the context of qt_split_cu_flag. For example, the context can be selected as follows:

[0399]

[0400] In one example, determining the neighbor depth may be based on one or more of the following:

[0401] -Is the intra-subtree being processed Y / N?

[0402] - Is the neighboring CU intra-coded?

[0403] - Is the neighboring CU part of separate tree or shared tree mode of intra subtree?

[0404] -Is the initial public tree being processed Y / N?

[0405] - Fragment Type

[0406] - the height of the block being processed (e.g. cbHeight) and / or

[0407] - The width of the block being processed (e.g., cbWidth)

[0408] In one example, the minimum and maximum depths of a neighbor may be determined based on:

[0409]

[0410]

[0411]

[0412] In one example, a set of thresholds may be transmitted for different segment types. The thresholds may be used to infer the values ​​of individual tree tags. The thresholds may overlap across segment types, in which case the overlapping thresholds may be transmitted only once. The thresholds may be transmitted, for example, in an SPS. For example, as follows:

[0413]

[0414]

[0415] In one example, a threshold may be used to infer the value of a separate tree tag in the case of intra segments as follows:

[0416]

[0417] In one example, a threshold may be used to infer the value of a separate tree tag in the case of inter-frame fragments as follows:

[0418]

[0419]

[0420] It should be noted that while these techniques are described herein with respect to determining the context of qt_split_cu_flag, the techniques described herein may be equally applicable to determining the context of any of the split flags and / or bins of any of the partition syntax elements described herein.

[0421] Furthermore, it should be noted that, for a separate partition tree, context encoding of qt_split_cu_flag in a luma channel (or chroma channel) may utilize adjacent luma depth (or chroma depth) and / or adjacent chroma depth (or luma depth).

[0422] Fig.16300 is a block diagram illustrating an example of a video decoder that may be configured to decode video data in accordance with one or more techniques of the present disclosure. In one example, the video decoder 300 may be configured to reconstruct the video data based on one or more of the techniques described above. That is, the video decoder 300 may operate in a manner reciprocal to the video encoder 200 described above. The video decoder 300 may be configured to perform intra-frame prediction decoding and inter-frame prediction decoding, and may therefore be referred to as a hybrid decoder. Fig.16 In the example shown, the video decoder 300 includes an entropy decoding unit 302, an inverse quantization unit 304, an inverse transform processing unit 306, an intra-frame prediction processing unit 308, an inter-frame prediction processing unit 310, a summer 312, a filter unit 314, and a reference buffer 316. The video decoder 300 can be configured to decode video data in a manner consistent with a video encoding system that can implement one or more aspects of a video coding standard. It should be noted that although the exemplary video decoder 300 is shown as having different functional blocks, such illustrations are intended for descriptive purposes and do not limit the video decoder 300 and / or its subcomponents to a particular hardware or software architecture. The functionality of the video decoder 300 can be implemented using any combination of hardware, firmware, and / or software implementations.

[0423] like Fig.16 As shown, the entropy decoding unit 302 receives an entropy-coded bitstream. The entropy decoding unit 302 may be configured to decode quantized syntax elements and quantized coefficients from the bitstream according to a process that is inverse to the entropy coding process. The entropy decoding unit 302 may be configured to perform entropy decoding according to any entropy coding technique described above. The entropy decoding unit 302 may parse the coded bitstream in a manner consistent with the video coding standard. The video decoder 300 may be configured to parse the coded bitstream, wherein the coded bitstream is generated based on the above-mentioned techniques. That is, for example, the video decoder 300 may be configured to determine a QTBT partition structure generated and / or signaled based on one or more of the above-mentioned techniques for the purpose of reconstructing video data. For example, the video decoder 300 may be configured to parse syntax elements and / or evaluate attributes of video data in order to determine the QTBT.

[0424] Reference again Fig.16, the inverse quantization unit 304 receives the quantized transform coefficients (i.e., the scale values) and the quantization parameter data from the entropy decoding unit 302. The quantization parameter data may include any and all combinations of the above-mentioned incremental QP values ​​and / or quantization group size values, etc. The video decoder 300 and / or the inverse quantization unit 304 may be configured to determine the QP value for inverse quantization based on the value signaled by the video encoder and / or through video attributes and / or encoding parameters. That is, the inverse quantization unit 304 may operate in an inverse manner to the coefficient quantization unit 206 described above. For example, the inverse quantization unit 304 may be configured to infer a predefined value (e.g., the sum of the QT depth and the BT depth determined based on the encoding parameters), the allowed quantization group size, etc. according to the above-mentioned techniques. The inverse quantization unit 304 may be configured to apply inverse quantization. The inverse transform processing unit 306 may be configured to perform an inverse transform to generate reconstructed residual data. The techniques performed by the inverse quantization unit 304 and the inverse transform processing unit 306, respectively, may be similar to the techniques performed by the above-mentioned inverse quantization / transform processing unit 208. The inverse transform processing unit 306 may be configured to apply an inverse DCT, an inverse DST, an inverse integer transform, an MDNSST, or a conceptually similar inverse transform process to transform the coefficients so as to produce a residual block in the pixel domain. In addition, as described above, whether a particular transform (or type of particular transform) is performed may depend on the intra prediction mode. Fig.16 As shown, the reconstructed residual data may be provided to the summer 312. The summer 312 may add the reconstructed residual data to the predicted video block and generate the reconstructed video data. The predicted video block may be determined according to a predictive video technique (i.e., intra prediction and inter prediction). In one example, the video decoder 300 and the filter unit 314 may be configured to determine the QP value and use it for filtering (e.g., deblocking). In one example, other functional blocks of the video decoder 300 that utilize the QP may determine the QP based on the received signaling and use it for decoding.

[0425] The intra prediction processing unit 308 may be configured to receive an intra prediction syntax element and retrieve a predicted video block from a reference buffer 316. The reference buffer 316 may include a memory device configured to store one or more frames of video data. The intra prediction syntax element may identify an intra prediction mode, such as the intra prediction mode described above. In one example, the intra prediction processing unit 308 may reconstruct the video block using one or more of the intra prediction encoding techniques described herein. The inter prediction processing unit 310 may receive the inter prediction syntax element and generate a motion vector to identify a predicted block in one or more reference frames stored in the reference buffer 316. The inter prediction processing unit 310 may generate a motion compensation block, possibly performing interpolation based on an interpolation filter. An identifier of an interpolation filter for motion estimation with sub-pixel precision may be included in the syntax element. The inter prediction processing unit 310 may use an interpolation filter to calculate interpolated values ​​for sub-integer pixels of a reference block. The filter unit 314 may be configured to perform filtering on the reconstructed video data. For example, filter unit 314 may be configured to perform deblocking, SAO filtering, and / or ALF, as described above with respect to filter unit 216. Furthermore, it should be noted that in some examples, filter unit 314 may be configured to perform dedicated arbitrary filtering (e.g., visual enhancement). Fig.16 As shown, the video decoder 300 may output a reconstructed video block. Thus, the video decoder 300 may be configured to generate reconstructed video data according to one or more techniques described herein. Thus, the video decoder 300 may be configured to: parse a first quadtree binary tree partition structure, apply the first quadtree binary tree partition structure to a first component of the video data, apply the first quadtree binary tree partition structure to a second component of the video data, determine whether a node of the first quadtree binary tree is associated with an intra-frame prediction type, parse a second first quadtree binary tree partition structure after determining that the node of the first quadtree binary tree is associated with the intra-frame prediction type, and apply the second quadtree binary tree partition structure to sample values ​​of the first component of the video data included in the nodes of the first quadtree binary tree.

[0426] In one or more examples, the functions may be implemented by hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored as one or more instructions or codes on or transmitted via a computer-readable medium and executed by a hardware-based processing unit. Computer-readable media may include computer-readable storage media corresponding to tangible media such as data storage media, or propagation media including any medium that facilitates the transmission of a computer program from one place to another, for example, according to a communication protocol. Thus, computer-readable media may generally correspond to: (1) a non-transitory tangible computer-readable storage medium, or (2) a communication medium such as a signal or carrier wave. The data storage medium may be any available medium that can be accessed by one or more computers or one or more processors to retrieve instructions, codes, and / or data structures for implementing the techniques described in the present disclosure. A computer program product may include a computer-readable medium.

[0427] By way of example and not limitation, such computer-readable storage media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage devices, magnetic disk storage devices or other magnetic storage devices, flash memory or any other medium that can be used to store the required program code in the form of instructions or data structures and can be accessed by a computer. Moreover, any connection is appropriately referred to as a computer-readable medium. For example, if a coaxial cable, optical fiber cable, twisted pair, digital subscriber line (DSL) or wireless technology such as infrared, radio and microwave are used to transmit instructions from a website, server or other remote source, then coaxial cable, optical fiber cable, twisted pair, DSL or wireless technology such as infrared, radio and microwave are included in the definition of medium. However, it should be understood that computer-readable storage media and data storage media do not include connections, carriers, signals or other transient media, but are directed to non-transient tangible storage media. As used herein, disks and optical disks include compact disks (CDs), laser disks, optical optical disks, digital versatile disks (DVDs), floppy disks and Blu-ray disks, wherein disks usually copy data magnetically, while optical disks use lasers to copy data optically. The above combination should also be included in the scope of computer-readable media.

[0428] Instructions may be executed by one or more processors such as one or more digital signal processors (DSPs), general-purpose microprocessors, application-specific integrated circuits (ASICs), field programmable logic arrays (FPGAs), or other equivalent integrated or discrete logic circuits. Therefore, the term "processor" as used herein may refer to any of the aforementioned structures or any other structure suitable for implementing the techniques described herein. In addition, in some aspects, the functions described herein may be provided within dedicated hardware and / or software modules configured for encoding and decoding, or incorporated into a combined codec. Moreover, these techniques may be implemented entirely in one or more circuits or logic elements.

[0429] The techniques of the present disclosure may be implemented in a variety of devices or apparatuses including wireless handsets, integrated circuits (ICs), or a set of ICs (e.g., chipsets). Various components, modules, or units are described in the present disclosure to emphasize functional aspects of devices configured to perform the disclosed techniques, but do not necessarily need to be implemented by different hardware units. Instead, as described above, the various units may be combined in a codec hardware unit, or provided by a collection of interoperable hardware units including one or more processors as described above, in combination with appropriate software and / or firmware.

[0430] In addition, each functional block or various features of the base station equipment and terminal equipment used in each of the above-mentioned embodiments can be implemented or executed by a circuit (usually an integrated circuit or multiple integrated circuits). The circuit designed to perform the functions described in this specification may include a general-purpose processor, a digital signal processor (DSP), a dedicated or general-purpose integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gates or transistor logic devices, or discrete hardware components, or a combination thereof. The general-purpose processor may be a microprocessor, or alternatively, the processor may be a conventional processor, a controller, a microcontroller or a state machine. The general-purpose processor or each of the above-mentioned circuits may be configured by a digital circuit, or may be configured by an analog circuit. In addition, when the technology of making an integrated circuit that replaces the current integrated circuit appears due to the progress of semiconductor technology, the integrated circuit produced by the technology can also be used.

[0431] Various examples have been described. These and other examples are within the scope of the following claims.

[0432] <Cross Reference>

[0433] This non-provisional application claims priority under 35 U.S.C. 119 to provisional applications 62 / 678,824 filed on May 31, 2018, 62 / 692,374 filed on June 29, 2018, 62 / 700,167 filed on July 18, 2018, 62 / 702,319 filed on July 23, 2018, and 62 / 731,049 filed on September 13, 2018, the entire contents of which are hereby incorporated by reference.

Claims

1. A device for decoding video data, the device include: One or more processors, the processors being configured to: Dividing the coding tree into a luma coding tree and a chroma coding tree; For the luma coding tree: parsing a first syntax element indicating whether the luma coding tree is partitioned according to a quadtree partitioning, A context for the first syntax element is determined by setting a context value such that (i) if the depth of the left neighboring block is greater than the depth of the luma coding tree, the context value is increased by 1; and (ii) if the depth of the upper neighboring block is greater than the depth of the luma coding tree, the context value is increased by 1, and For the chroma coding tree: Set quadtree partitioning to disabled; Set binary tree partitioning to disabled; and Set ternary tree partitioning to disabled.

2. A device for encoding video data, the device include: One or more processors, the processors being configured to: Dividing the coding tree into a luma coding tree and a chroma coding tree; For the luma coding tree: parsing a first syntax element indicating whether the luma coding tree is partitioned according to a quadtree partitioning, A context for the first syntax element is determined by setting a context value such that (i) if the depth of the left neighboring block is greater than the depth of the luma coding tree, the context value is increased by 1; and (ii) if the depth of the upper neighboring block is greater than the depth of the luma coding tree, the context value is increased by 1, and For the chroma coding tree: Set quadtree partitioning to disabled; Set binary tree partitioning to disabled; and Set ternary tree partitioning to disabled.

3. A method for dividing a coding tree in an intra-frame segment of video data, the method include: Dividing the coding tree into a luma coding tree and a chroma coding tree; For the luma coding tree: parsing a first syntax element indicating whether the luma coding tree is partitioned according to a quadtree partitioning, A context for the first syntax element is determined by setting a context value such that (i) if the depth of the left neighboring block is greater than the depth of the luma coding tree, the context value is increased by 1; and (ii) if the depth of the upper neighboring block is greater than the depth of the luma coding tree, the context value is increased by 1, and For the chroma coding tree: Set quadtree partitioning to disabled; Set binary tree partitioning to disabled; and Set ternary tree partitioning to disabled.

Citation Information

Cited By

  • Image coding method and device, terminal equipment and decoding method

    CN119420938A

  • Image encoding method, apparatus, terminal device, and decoding method

    CN119420938B