Method and apparatus for video encoding / decoding

By employing a dual tree structure with specific split criteria and multi-type tree partitioning for chroma blocks, the method addresses inefficiencies in video encoding and decoding, enhancing compression efficiency and reducing redundancy.

JP7544331B2Active Publication Date: 2024-09-03TENCENT AMERICA LLC
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2021557673
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-10-01
Filing Date
2020-10-01
Publication Date
2024-09-03
Estimated Expiration
2040-10-01

Smart Images

  • Figure 0007544331000007
    Figure 0007544331000007
  • Figure 0007544331000032
    Figure 0007544331000032
  • Figure 0007544331000024
    Figure 0007544331000024
Patent Text Reader

Abstract

Aspects of the present disclosure provide a method and an apparatus, including a processing circuit, for video decoding. The processing circuit decodes partition information from an encoded video bitstream. The partition information indicates that a dual-tree chroma coding tree structure is to be applied to a chroma block, and indicates a block size of the chroma block in units of luma samples and a minimum allowable chroma quadtree (QT) leaf node size in units of luma samples. The processing circuit determines whether the block size of the chroma block in units of luma samples is less than or equal to the minimum allowable chroma QT leaf node size in units of luma samples. In response to the block size of the chroma block in units of luma samples being less than or equal to the minimum allowable chroma QT leaf node size in units of luma samples, the processing circuit determines that QT partitioning is not allowed for the chroma block.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure generally describes embodiments related to video encoding / decoding.

[0002] [Cross-Reference to Related Applications] This application claims priority to U.S. Patent Application No. 17 / 060,652 entitled "METHOD AND APPARATUS FOR VIDEO CODING (Method and Apparatus for Video Encoding / Decoding)" filed on October 1, 2020, which claims priority to U.S. Provisional Patent Application No. 62 / 953,034 entitled "Methods on Constraint of Chroma Quad Tree Split" filed on December 23, 2019 and U.S. Provisional Patent Application No. 62 / 959,904 entitled "METHOD On Coding Block Sizes" filed on January 11, 2020, the entire disclosures of all these prior applications are incorporated herein by reference in their entirety.

Background Art

[0003] The description of the background art provided herein is intended to generally present the context of the present disclosure. To the extent of the work of the presently named inventors described in this background section and in various aspects of the present specification, such work is not admitted as prior art at the time of filing the present disclosure, nor is it expressly or impliedly indicated to be recognized as prior art of the present disclosure.

[0004] Video encoding and decoding can be performed using interframe image prediction with motion compensation. Uncompressed digital video can contain a series of images, each image having spatial dimensions of, for example, 1920×1080 luminance samples and associated chromaticity samples. This series of images can have, for example, 60 images per second or a fixed or variable image rate (informally known as frame rate) of 60 hertz (Hz). Uncompressed video has specified bitrate requirements. For example, 1080p60 4:2:0 video with 8 bits per sample (1920×1080 luminance sample resolution at a frame rate of 60Hz) requires a bandwidth close to 1.5 Gbit / s. Such video requires more than 600 GB of storage space per hour.

[0005] One purpose of video encoding and decoding is to reduce redundant information in the input video signal through compression. Compression can help reduce the bandwidth and / or storage space requirements mentioned above, and in some cases, it can reduce them by more than two orders of magnitude. Lossless compression, lossy compression, and combinations of both can all be used. Lossless compression refers to a technique where an exact copy of the original signal can be reconstructed from the compressed original signal. When lossy compression is used, the reconstructed signal may not be identical to the original signal, but the distortion between the original and reconstructed signals is small enough that the reconstructed signal can be used for the intended application. In the case of video, lossy compression is widely used. The amount of distortion allowed depends on the application; for example, a user consuming a streaming application may allow more distortion than a user of a television distribution application. The achievable compression ratio reflects the fact that higher allowed / acceptable distortion can produce a higher compression ratio.

[0006] Video encoders and decoders can utilize techniques from several broad categories, including, for example, motion compensation, transformation, quantization, and entropy coding.

[0007] Video coding / decoding techniques can include a technique known as in-frame coding. In in-frame coding, sample values ​​are represented without referencing samples or other data from a previously reconstructed reference image. In some video codecs, the image is spatially subdivided into sample blocks. If all sample blocks are coded in in-frame mode, the image can be an in-frame image. In-frame images and their derivatives, such as independent decoder refresh images, can be used to reset the decoder state. Thus, they can be used as the first image or still image in an encoded video bitstream and video session. Samples from in-frame blocks are used for transformation, and the transformation coefficients can be quantized before entropy coding. In-frame prediction can be a technique to minimize the sample values ​​in the pre-transform domain. In some cases, the smaller the DC value after transformation and the smaller the AC coefficients, the fewer bits are needed with a given quantization step size to represent the block after entropy coding.

[0008] Conventional in-frame coding, such as that known from MPEG-2 coding techniques, does not use in-frame prediction. However, some newer video compression techniques include, for example, techniques that attempt to obtain data blocks from surrounding sample data and / or metadata, which are obtained during the coding and / or decoding period of spatially adjacent blocks and prior to the decoding order. Such techniques are hereafter referred to as “in-frame prediction” techniques. It should be noted that, in at least some cases, in-frame prediction uses reference data only from the current image being reconstructed, and not from reference data from a reference image.

[0009] Many different forms of in-frame prediction can exist. If a given video coding technique can use two or more of these techniques, the technique in use can perform coding in in-frame prediction mode. In some cases, a mode may have submodes and / or parameters, and these modes may be coded individually or included in a mode codeword. The choice of which codeword to use for a given combination of mode / submode / parameters affects the coding efficiency gain by in-frame prediction, and this is also the case for entropy coding techniques used to convert a codeword into a bitstream.

[0010] Certain modes of in-frame prediction were introduced in H.264, improved in H.265, and further enhanced in newer coding / decoding techniques such as the joint exploration model (JEM), versatile video coding (VVC), and benchmark sets (BMS). A prediction block may be formed using adjacent sample values ​​belonging to already available samples. The sample values ​​of adjacent samples are copied to the prediction block according to a certain direction. A reference to the direction in use may be encoded in the bitstream, or it may be predicted itself.

[0011] Referring to Figure 1A, the lower right shows a subset of nine prediction directions known from the 33 predictable directions of H.265 (corresponding to 33 of the 35 in-frame modes). The point where the arrows converge (101) represents the predicted sample. The arrows represent the direction in which the sample is predicted. For example, arrow (102) indicates that sample (101) is predicted from one or more samples to the upper right, at an angle of 45 degrees from the horizontal. Similarly, arrow (103) indicates that sample (101) is predicted from one or more samples to the lower left of sample (101), at an angle of 22.5 degrees from the horizontal.

[0012] Continuing to refer to Figure 1A, a 4x4 sample square block (104) is depicted in the upper left (indicated by a thick dashed line). The square block (104) contains 16 samples, each labeled with "S" and its position in the X dimension (e.g., row index) and its position in the Y dimension (e.g., column index). For example, sample S21 is the second sample in the Y dimension (from the top) and the first sample in the X dimension (from the left). Similarly, sample S44 is the fourth sample in block (104) in both the Y and X dimensions. S44 is in the lower right because this block is a 4x4 sample. Furthermore, a reference sample is also shown, following a similar numbering scheme. The reference sample is labeled with "R" and its X position (e.g., row index) and Y position (e.g., column index) relative to block (104). In both H.264 and H.265, the predicted sample is adjacent to the block being reconstructed, so there is no need to use negative values.

[0013] In-frame image prediction can function by copying reference sample values ​​from adjacent samples according to the prediction direction indicated by the signal. For example, assuming that the encoded video bitstream contains signaling, this signaling indicates a prediction direction for this block that coincides with arrow (102). That is, the sample is predicted from one or more prediction samples in the upper right corner where the sample is at a 45-degree angle to the horizontal. In this case, samples S41, S32, S23, and S14 are predicted from the same reference sample R05, and sample S44 is predicted from reference sample R08.

[0014] In some cases, to calculate a reference sample, especially when the direction is not evenly divisible by 45 degrees, for example, values ​​from multiple reference samples can be combined through interpolation.

[0015] With the advancement of video coding technology, the number of possible directions has already increased. H.264 (2003) could represent nine different directions. This increased to 33 in H.265 (2013), and JEM / VC / BMS can support up to 65 directions at the time of disclosure. Experiments have been conducted to identify the most likely directions, and some techniques in entropy coding are used to represent those possible directions with a small number of bits, with some compensation for less likely directions. Furthermore, the direction itself can sometimes be predicted from the adjacent directions used in adjacent, already decoded blocks.

[0016] Figure 1B shows a schematic diagram (180) illustrating the 65 frame-by-frame prediction directions by JEM to illustrate the increasing number of prediction directions over time.

[0017] The mapping from in-frame predicted directions to bits representing directions in an encoded video bitstream can vary depending on the video encoding technique. This can range from simple direct mappings to predicted directions to complex adaptive schemes involving in-frame prediction modes, codewords, and the most likely mode, and similar techniques. However, in all cases, there may be certain directions in video content that are statistically less likely to occur than other particular directions. Since the goal of video compression is to reduce redundancy, these less likely directions will be represented by more bits than the more likely directions in a properly functioning video encoding technique.

[0018] Motion compensation may be a lossy compression technique and may relate to a technique used to predict a newly reconstructed image or portion of an image after a sample data block from a previously reconstructed image or a portion of it (a reference image) has been spatially shifted along a direction indicated by a motion vector (hereinafter referred to as MV). In some cases, the reference image may be the same as the image currently being reconstructed. The MV may have two dimensions (X and Y) or three dimensions, the third dimension indicating the reference image in use (the latter indirectly being the time dimension).

[0019] In some video compression techniques, the motion vector (MV) applicable to a particular sample data region can be predicted from other MVs, for example, from MVs related to other sample data regions spatially adjacent to the region being reconstructed, and that precede that MV in the decoding order. In this way, the amount of data required to encode the MV can be significantly reduced, thus eliminating redundancy and improving compression ratio. MV prediction can work effectively. For example, when encoding an input video signal derived from a camera (called natural video), there is a statistical probability that a region larger than the applicable region of a single MV moves along a similar direction. Therefore, in some cases, predictions can be made using similar motion vectors derived from the MVs of adjacent regions. As a result, the MV found for a particular region will be similar to or identical to the MV predicted from the surrounding MVs, and can be represented with fewer bits than would be used after entropy coding, and consequently, when directly encoding the MV. In some cases, MV prediction can be an example of lossless compression of the signal (i.e., MV) derived from the original signal (i.e., sample stream). In other cases, MV prediction itself can be lossy compression, for example, due to rounding errors when calculating the predictor from several surrounding MVs.

[0020] Various MV prediction mechanisms are described in H.265 / HEVC (ITU~T Rec.H.265, "High Efficiency Video Coding", December 2016). Among the many MV prediction mechanisms provided by H.265, the one described here is the technique referred to below as "spatial merging".

[0021] Referring to Figure 2, the current block (201) contains samples discovered by the encoder during the motion search process, and these samples can be predicted from previous blocks of the same size, but spatially shifted. Instead of directly encoding its MV, the MV can be derived from metadata associated with one or more reference images, for example, from the most recent (in decoding order) reference image, using the MV associated with one of the five surrounding samples indicated by A0, A1, and B0, B1, B2 (202 through 206, respectively). In H.265, MV prediction can use a predictor from the same reference image used by the adjacent block. [Overview of the Initiative]

[0022] According to various aspects of this disclosure, methods and apparatus for video coding and / or decoding are provided. In some examples, the apparatus for video decoding includes a processing circuit that can decode partition information from an coded video bitstream. The partition information may indicate that a chromatic coding tree structure in a dual tree is applied to a chromaticity block. The partition information may further indicate the block size of the chromaticity block in units of luminance samples and the minimum allowable chromaticity quadtree (QT) leaf node size in units of luminance samples. The processing circuit can determine whether the block size of the chromaticity block in units of luminance samples is less than or equal to the minimum allowable chromaticity QT leaf node size in units of luminance samples. In response to the block size of the chromaticity block in units of luminance samples being less than or equal to the minimum allowable chromaticity QT leaf node size in units of luminance samples, the processing circuit can determine that QT partitioning is not permitted for the chromaticity block.

[0023] In one embodiment, the partition information further indicates a multi-type tree (MTT) depth indicating whether the chromaticity block is an MTT node from an MTT partition, a chromaticity horizontal subsampling coefficient, and a prediction mode type for the chromaticity block. In response to the block size of a chromaticity block in units of luminance samples being greater than the minimum allowable chromaticity QT leaf node size in units of luminance samples, the processing circuit can determine that QT partitioning is not permitted for the chromaticity block based on at least one of (i) an MTT depth indicating that the chromaticity block is an MTT node, (ii) the value obtained by dividing the block size of the chromaticity block in units of luminance samples by the chromaticity horizontal subsampling coefficient being 4 or less, and (iii) a prediction mode type indicating that in-frame prediction mode and in-frame block copy (IBC) mode are permitted.

[0024] In one embodiment, the partition information further indicates the minimum acceptable chromatic coding block size per luminance sample and the minimum acceptable luminance coding block size per luminance sample. The minimum acceptable chromatic coding block size per luminance sample is smaller than the minimum acceptable luminance coding block size per luminance sample. In one example, the encoded video bitstream includes a chromaticity syntax element indicating the minimum acceptable chromatic coding block size per luminance sample and a luminance syntax element indicating the minimum acceptable luminance coding block size per luminance sample. In one example, the minimum acceptable chromatic coding block size per luminance sample is derived based on the minimum acceptable luminance coding block size per luminance sample.

[0025] In one embodiment, the partition information further indicates the minimum allowable luminance QT leaf node size in units of luminance samples. The minimum allowable chromaticity QT leaf node size in units of luminance samples is smaller than the minimum allowable luminance QT leaf node size in units of luminance samples.

[0026] In some examples, an apparatus for video decoding includes processing circuitry. The processing circuitry can decode partition information from an encoded video bitstream. The partition information can indicate that a chroma coding tree structure in a dual-tree is applied to chroma blocks. The partition information can further indicate a block size of the chroma block in units of luma samples, a chroma vertical subsampling factor, and a minimum allowed chroma quadtree (QT) leaf node size. The processing circuitry can determine whether QT partitioning is not allowed for the chroma block, based at least on the block size of the chroma block in units of luma samples, the chroma vertical subsampling factor, and the minimum allowed chroma QT leaf node size. In response to QT partitioning not being allowed for the chroma block, the processing circuitry can determine whether at least one of binary tree partitioning and ternary tree partitioning is not allowed for the chroma block.

[0027] In one embodiment, the minimum allowed chroma QT leaf node size is in units of luma samples, and the partition information further indicates a chroma horizontal subsampling factor. The processing circuitry can determine whether QT partitioning is not allowed for the chroma block, based at least on the block size of the chroma block in units of luma samples, the chroma vertical subsampling factor, the chroma horizontal subsampling factor, and the minimum allowed chroma QT leaf node size in units of luma samples.

[0028] In one example, the processing circuitry can determine a parameter equal to a value obtained by multiplying the minimum allowed chroma QT leaf node size in units of luma samples by the chroma vertical subsampling factor and then dividing the result by the chroma horizontal subsampling factor. The processing circuitry can determine that QT partitioning is not allowed for the chroma block in response to the block size of the chroma block in units of luma samples being less than or equal to the parameter.

[0029] In one example, the partition information further indicates a multi-type tree (MTT) depth that indicates whether a chroma block is an MTT node from MTT partitioning, and a prediction mode type for the chroma block. The processing circuitry may further determine whether QT partitioning is not permitted for the chroma block based on the MTT depth and the prediction mode type.

[0030] In one example, the partition information further indicates a minimum allowed chroma coding block size in units of luma samples and a minimum allowed luma coding block size in units of luma samples. The minimum allowed chroma coding block size in units of luma samples is smaller than the minimum allowed luma coding block size in units of luma samples.

[0031] In one example, the encoded video bitstream includes a chroma syntax element indicating the minimum allowed chroma coding block size in units of luma samples, and a luma syntax element indicating the minimum allowed luma coding block size in units of luma samples.

[0032] In one example, the minimum allowed chroma coding block size in units of luma samples is derived based on the minimum allowed luma coding block size in units of luma samples.

[0033] In one example, the partition information further indicates a minimum allowed luma QT leaf node size in units of luma samples. The minimum allowed chroma QT leaf node size in units of luma samples is smaller than the minimum allowed luma QT leaf node size in units of luma samples.

[0034] In one example, the minimum allowed chroma QT leaf node size is in units of chroma samples. The processing circuitry determines that QT partitioning is not permitted for the chroma block based on a value obtained by dividing the minimum allowed chroma QT leaf node size in units of chroma samples by a chroma vertical subsampling factor being equal to or less than the block size of the chroma block in units of luma samples.

[0035] In one example, the partition information further indicates the chromaticity horizontal subsampling coefficient, the MTT depth indicating whether the chromaticity block is an MTT node from an MTT split, and the prediction mode type for the chromaticity block. In response to the value obtained by dividing the block size of the chromaticity block in units of luminance samples by the chromaticity vertical subsampling coefficient being greater than the minimum allowable chromaticity QT leaf node size in units of chromaticity samples, the processing circuit determines whether QT splitting is not permitted for the chromaticity block based on the block size of the chromaticity block in units of luminance samples, the chromaticity horizontal subsampling coefficient, the MTT depth, and the prediction mode type.

[0036] Each aspect of the present disclosure further provides a non-temporary computer-readable medium on which instructions are stored, and which, when executed by a computer for video decoding, causes the computer to perform any method for video decoding. [Brief explanation of the drawing]

[0037] Further features, properties, and various advantages of the disclosed subject matter will become clearer from the detailed description and accompanying drawings below. [Figure 1A] This is a schematic diagram of an exemplary subset of in-frame prediction modes. [Figure 1B] This is an illustrative diagram of the predicted direction within a frame. [Figure 2] This is a schematic diagram of a candidate for spatial merge between the current block and its surroundings, according to one embodiment. [Figure 3] This is a schematic diagram of a simplified block diagram of a communication system (300) according to one embodiment. [Figure 4] This is a schematic diagram of a simplified block diagram of a communication system (400) according to one embodiment. [Figure 5] This is a schematic diagram of a simplified block diagram of a decoder according to one embodiment. [Figure 6] This is a schematic diagram of a simplified block diagram of an encoder according to one embodiment. [Figure 7] This figure shows a block diagram of an encoder according to another embodiment. [Figure 8] This figure shows a block diagram of a decoder according to another embodiment. [Figure 9] This figure shows an example of a chromaticity subsampling format according to one embodiment of the present disclosure. [Figure 10A] This figure shows the nominal vertical relative positions and horizontal relative positions of the corresponding luminance samples and chromaticity samples in each image according to one embodiment of the present disclosure. [Figure 10B] This figure shows the nominal vertical relative positions and horizontal relative positions of the corresponding luminance samples and chromaticity samples in each image according to one embodiment of the present disclosure. [Figure 10C] This figure shows the nominal vertical relative positions and horizontal relative positions of the corresponding luminance samples and chromaticity samples in each image according to one embodiment of the present disclosure. [Figure 11] This figure shows an example of an image (1100) divided into CTU(1101) according to one embodiment of the present disclosure. [Figure 12] This figure shows an example of raster scan slice partitioning of an image (1200) according to one embodiment of the present disclosure. [Figure 13] This figure shows an example of rectangular slice partitioning of an image (1300) according to one embodiment of the present disclosure. [Figure 14] This figure shows an example of an image (1400) partitioned into tiles, bricks (1401) to (1411), and rectangular slices (1421) to (1424) according to one embodiment of the present disclosure. [Figure 15] This figure shows exemplary partition types (1521) to (1524) in a multi-type tree (MTT) structure according to one embodiment of the present disclosure. [Figure 16] This figure shows an example of partitioning flag signaling in a quadtree (QT) having a nested MTT coding tree structure, according to one embodiment of the present disclosure. [Figure 17] This figure shows an example of an MTT splitting mode according to one embodiment of the present disclosure. [Figure 18] This figure shows an example of QT having a nested MTT coded block structure according to one embodiment of the present disclosure. [Figure 19] This figure shows an example of a restriction on terminally tree (TT) partitioning according to one embodiment of the present disclosure. [Figure 20] This figure shows an example of redundant partitioning patterns for binary tree (BT) partitioning and TT partitioning according to one embodiment of the present disclosure. [Figure 21] This figure shows an example of unauthorized TT and BT partitioning according to one embodiment of the present disclosure. [Figure 22] This figure shows an exemplary syntax (2200) associated with partitioning and block size in a sequence parameter set (SPS) according to one embodiment of the present disclosure. [Figure 23] This figure shows an example of a slice type according to one embodiment of the present disclosure. [Figure 24] This figure shows an exemplary derivation of variables for parallel TT partitioning and coding block size according to one embodiment of the present disclosure. [Figure 25] This figure shows an exemplary derivation of a variable for the coding block size according to one embodiment of the present disclosure. [Figure 26] This figure shows an exemplary syntax table according to one embodiment of the present disclosure. [Figure 27] This is a flowchart outlining process (2700) according to one embodiment of the present disclosure. [Figure 28] This is a flowchart outlining process (2800) according to one embodiment of the present disclosure. [Figure 29] This is a schematic diagram of a computer system according to one embodiment. [Modes for carrying out the invention]

[0038] Figure 3 is a simplified block diagram of a communication system (300) according to an embodiment of the present disclosure. The communication system (300) includes a plurality of terminal devices that can communicate with each other, for example, via a network (350). For example, the communication system (300) includes a first pair of terminal devices (310) and (320) interconnected via the network (350). In the example of Figure 3, the first pair of terminal devices (310) and (320) perform unidirectional transmission of data. For example, terminal device (310) can encode video data (e.g., a video image stream captured by terminal device (310)) for transmission to other terminal devices (320) via the network (350). The encoded video data may be transmitted in the form of one or more encoded video bitstreams. Terminal device (320) can receive the encoded video data from the network (350), decode the encoded video data to restore the video image, and display the video image based on the restored video data. Unidirectional data transmission is common in applications such as media serving.

[0039] In another example, the communication system (300) includes a second pair of terminal devices (330) and (340) that perform bidirectional transmission of encoded video data, which may occur, for example, during a video conference. In the case of bidirectional data transmission, in one example, each terminal device of terminal devices (330) and (340) can encode video data (e.g., a video image stream captured by the terminal device) for transmission to the other terminal device of terminal devices (330) and (340) over the network (350). Each terminal device of terminal devices (330) and (340) can also receive the encoded video data transmitted by the other terminal device of terminal devices (330) and (340), decode the encoded video data to restore the video image, and display the video image on an accessible display device based on the restored video data.

[0040] In the example in Figure 3, terminal devices (310), (320), (330), and (340) may be represented as a server, a personal computer, and a smartphone, but the principles of this disclosure are not limited thereto. Embodiments of this disclosure find applications having a laptop computer, a tablet computer, a media player, and / or dedicated video conferencing equipment. Network (350) represents any number of networks that transmit encoded video data between terminal devices (310), (320), (330), and (340), and includes wired and / or wireless communication networks. Communication networks (350) can exchange data over circuit-switched and / or packet-switched channels. Typical networks include telecommunications networks, local area networks, wide area networks, and / or interframe networks. For the purposes of this disclosure, the architecture and topology of network (350) may not be important to the operation of this disclosure unless described herein below.

[0041] Figure 4 shows the arrangement of a video encoder and video decoder in a streaming environment as an example of an application to the disclosed subject matter. The disclosed subject matter is equally applicable to other video support applications, including, for example, the storage of compressed video on digital media such as CDs, DVDs, and memory sticks, video conferencing, and digital TV.

[0042] The streaming system may include a capture subsystem (413), which may include a video source (401), such as a digital camera, and create, for example, an uncompressed video image stream (402). In one example, the video image stream (402) may include samples captured by the digital camera. The video image stream (402), drawn with a thick line to highlight higher data volumes when compared with encoded video data (404) (or encoded video bitstream), may be processed by an electronic device (420) which includes a video encoder (403) coupled to the video source (401). The video encoder (403) may include hardware, software, or a combination thereof to enable or realize various aspects of the disclosed subject, as will be described in more detail below. The encoded video data (404) (or encoded video bitstream (404)), drawn with a thin line to highlight lower data volumes when compared with the video image stream (402), may be stored in a streaming server (405) for future use. One or more streaming client subsystems, such as the client subsystems (406) and (408) in Figure 4, can access a streaming server (405) to retrieve copies (407) and (409) of the encoded video data (404). The client subsystem (406) may include, for example, a video decoder (410) in an electronic device (430). The video decoder (410) decodes the input, copy of the encoded video data (407) to produce an output, video image stream (411), which may be displayed on a display (412) (e.g., a display screen) or other rendering device (not shown). In some streaming systems, the encoded video data (404), (407), and (409) (e.g., video bitstreams) may be encoded according to specific video encoding / compression standards. Examples of these standards include ITU-T Recommendation H.265.For example, a video coding standard under development is informally called Versatile Video Coding (VVC). The disclosed subject matter may be used in the context of VVC.

[0043] The electronic devices (420) and (430) may include other components (not shown). For example, electronic device (420) may include a video decoder (not shown), and electronic device (430) may similarly include a video encoder (not shown).

[0044] Figure 5 shows a block diagram of a video decoder (510) according to an embodiment of the present disclosure. The video decoder (510) may be included in an electronic device (530). The electronic device (530) may include a receiver (531) (e.g., a receiving circuit). The video decoder (510) can be used in place of the video decoder (410) in the example of Figure 4.

[0045] The receiver (531) can receive one or more encoded video sequences to be decoded by the video decoder (510), and in the same or different embodiments, it can receive one encoded video sequence at a time, where the decoding of each encoded video sequence is independent of other encoded video sequences. The encoded video sequences can be received from a channel (501), which may be a hardware / software link to a storage device that stores the encoded video data. The receiver (531) can receive the encoded video data together with other data, such as encoded audio data and / or auxiliary data streams, which may be transmitted to their respective usage entities (not shown). The receiver (531) can isolate the encoded video sequences from other data. To prevent network jitter, a buffer memory (515) may be coupled between the receiver (531) and the entropy decoder / analyzer (Parser) (520) (hereinafter "Analyzer (520)"). In some applications, the buffer memory (515) is part of the video decoder (510). In other cases, the buffer memory (515) may be located outside the video decoder (510) (not shown). In yet other cases, for example, to prevent network jitter, there may be a buffer memory (not shown) outside the video decoder (510). Furthermore, for example, to handle playback timing, there may be another buffer memory (515) inside the video decoder (510). If the receiver (531) receives data from a store / forward device with sufficient bandwidth and controllability, or from an isosynchronous network, the buffer memory (515) may not be necessary or may be small.For use in best-effort packet networks such as interframe networks, buffer memory (515) may be necessary, can be relatively large, and can be advantageously sized to be adaptable, and can be at least partially implemented in an external similar element (not shown) of the operating system or video decoder (510).

[0046] The video decoder (510) may include an analyzer (520) for reconstructing symbols (521) from the encoded video sequence. These categories of symbols include information used to manage the operation of the video decoder (510) and potential information for controlling rendering devices, such as a rendering device (512) (e.g., a display screen), which, while not an integral part of the electronic device (530), may be coupled to the electronic device (530) as shown in Figure 5. The rendering device control information may take the form of Supplemental Enhancement Information (SEI messages) or Visual Usability Information (VUI) parameter set fragments (not shown). The analyzer (520) can perform parsing / entropy decoding on the received, encoded video sequence. The encoding of the encoded video sequence may follow video coding techniques or standards and may follow various principles, including variable-length coding, Huffman coding, arithmetic coding with or without context sensitivity, etc. The analyzer (520) can extract from the encoded video sequence a set of at least one subgroup parameters of a subgroup of pixels in a video decoder, based on at least one parameter corresponding to a group. Subgroups can include groups of pictures (GOP), images, tiles, slices, macroblocks, coding units (CU), blocks, transform units (TU), prediction units (PU), and so on. The analyzer (520) can also extract information from the encoded video sequence such as transform coefficients, quantizer parameter values, and motion vectors.

[0047] The analyzer (520) can perform an entropy decoding / analysis operation on the video sequence received from the buffer memory (515) in order to create a symbol (521).

[0048] The reconstruction of the symbol (521) can relate to several different units, depending on the type of the encoded video image or parts thereof (e.g., interframe and intraframe images, interframe and intraframe blocks), and other factors. Which units it relates to and how it relates to them can be controlled by the analyzer (520) using subgroup control information analyzed from the encoded video sequence. The flow of such subgroup control information between the analyzer (520) and the following multiple units is not shown for clarity.

[0049] In addition to the functional blocks already mentioned, the video decoder (510) can be conceptually subdivided into several functional units, as described below. In actual embodiments operating under commercial constraints, many of these units may interact closely with each other and be integrated with each other at least partially. However, for the purpose of illustrating the disclosed subject matter, the following conceptual subdivision into functional units is appropriate.

[0050] The first unit is the scaler / inverse unit (551). The scaler / inverse unit (551) receives the quantized transformation coefficients as symbols (521) from the analyzer (520), along with control information including the transformation to be used, block size, quantization coefficients, and quantization scaling matrix. The scaler / inverse unit (551) can output a block containing sample values ​​that can be input to the aggregator (555).

[0051] In some cases, the output samples of the scaler / inverse unit (551) may belong to an in-frame coding block, i.e., a block that does not use prediction information from a previously reconstructed image but can use prediction information from a previously reconstructed portion of the current image. Such prediction information may be provided by an in-frame image prediction unit (552). In some cases, the in-frame image prediction unit (552) generates a block of the same size and shape as the block being reconstructed, using surrounding already reconstructed information extracted from the current image buffer (558). The current image buffer (558) buffers, for example, a partially reconstructed current image and / or a fully reconstructed current image. The aggregator (555) in some cases adds the prediction information generated by the in-frame prediction unit (552) to the output sample information provided by the scaler / inverse unit (551), on a sample-by-sample basis.

[0052] In other cases, the output samples of the scaler / inverse transform unit (551) may belong to interframe encoded blocks and potentially motion-compensated blocks. In such cases, the motion-compensated prediction unit (553) may access the reference image memory (557) to extract samples to be used for prediction. After the extracted samples have been motion-compensated based on symbols (521) associated with the blocks, these samples may be added by the aggregator (555) to the output of the scaler / inverse transform unit (551) (in this case, called residual samples or residual signals) to generate output sample information. The addresses in the reference image memory (557) when the motion-compensated prediction unit (553) extracts prediction samples may be controlled by motion vectors available to the motion-compensated prediction unit (553), for example, in the form of symbols (521) which may have X, Y, and reference image components. Motion compensation may also include interpolation of sample values ​​extracted from the reference image memory (557), motion vector prediction mechanisms, etc., when the exact motion vectors of subsamples are in use.

[0053] The output samples of the aggregator (555) may be subjected to various loop filtering techniques in the loop filter unit (556). The video compression technique may include in-loop filtering techniques controlled by parameters contained in the encoded video sequence (also called the encoded video bitstream) and made available to the loop filter unit (556) as symbols (521) from the analyzer (520), and may also respond to metadata obtained during the period of decoding the earlier portion (in decoding order) of the encoded image or encoded video sequence, and to previously reconstructed and loop-filtered sample values.

[0054] The output of the loop filter unit (556) can be a sample stream that can be output to the rendering device (512) or stored in the reference image memory (557) for use in future inter-image predictions.

[0055] A particular encoded image, once fully reconstructed, can be used as a reference image for future predictions. For example, once the encoded image corresponding to the current image is fully reconstructed and the encoded image is identified as a reference image (e.g., by the analyzer (520)), the current image buffer (558) can become part of the reference image memory (557) and can be reallocated before disclosing the reconstruction of subsequent encoded images.

[0056] The video decoder (510) can perform decoding operations according to a specified video compression technique in a standard such as ITU-T Rec.H.265. The encoded video sequence can conform to the syntax specified by the video compression technique or standard being used, in the sense that the encoded video sequence conforms to both the syntax of the video compression technique or standard and the profile documented in the video compression technique or standard. Specifically, a profile can select several tools from all the tools available in the video compression technique or standard as the only tools that can be used in that profile. Compliance also requires that the complexity of the encoded video sequence is within the range defined by the hierarchy of the video compression technique or standard. In some cases, the hierarchy limits the maximum image size, maximum frame rate, maximum reconstruction sample rate (e.g., measured in units of megasamples per second), maximum reference image size, etc. The limits set by the hierarchy may, in some cases, be further limited by the Hypthetical Reference Decoder (HRD) specification and metadata for HRD buffer management signaled in the encoded video sequence.

[0057] In one embodiment, the receiver (531) may receive additional (redundant) data along with the encoded video. The additional data may be included as part of the encoded video sequence. The additional data may be used by the video decoder (510) to properly decode the data and / or to more accurately reconstruct the original video data. The additional data may take the form of, for example, temporal, spatial, or signal-to-noise ratio (SNR) extension layers, redundant slices, redundant images, forward error correction codes, etc.

[0058] Figure 6 shows a block diagram of a video encoder (603) according to one embodiment of the present disclosure. The video encoder (603) is included in an electronic device (620). The electronic device (620) includes a transmitter (640) (e.g., a transmitting circuit). The video encoder (603) can be used in place of the video encoder (403) in the example of Figure 4.

[0059] The video encoder (603) can receive video samples from a video source (601) (not part of the electronic device (620) in the example in Figure 6) that captures video images to be encoded by the video encoder (603). In another example, the video source (601) is part of the electronic device (620).

[0060] A video source (601) can provide a source video sequence encoded by a video encoder (603) in the form of a digital video sample stream, the digital video sample stream can have any suitable bit depth (e.g., 8-bit, 10-bit, 12-bit, ...), any color space (e.g., BT.601 Y CrCB, RGB, ...), and any suitable sampling structure (e.g., Y CrCb 4:2:0, Y CrCb 4:4:4). In a media service system, the video source (601) may be a storage device that stores previously prepared video. In a video conferencing system, the video source (601) may be a camera that captures local image information as a video sequence. The video data may be provided as a series of separate images that give motion when viewed sequentially. The images themselves may be configured as a spatial pixel array, where each pixel may contain one or more samples, depending on the sampling structure, color space, etc., in use. Those skilled in the art will readily understand the relationship between pixels and samples. The following description focuses on samples.

[0061] According to one embodiment, the video encoder (603) can encode and compress images from a source video sequence into an encoded video sequence (643) in real time or under any other time constraints required by the application. Implementing an appropriate encoding rate is one function of the controller (650). In some embodiments, the controller (650) controls and is functionally coupled to other functional units, as described below. Such coupling is not illustrated for clarity. Parameters set by the controller (650) may include rate control-related parameters (image skip, quantizer, λ (lambda) value of rate distortion optimization technique, ...), image size, group of pictures (GOP) layout, maximum motion vector search range, etc. The controller (650) may be configured to have other appropriate functions related to the video encoder (603) optimized for a particular system design.

[0062] In some embodiments, the video encoder (603) is configured to operate in an encoding loop. For an overly simplified explanation, in one example, the encoding loop may include a source coder (630) (responsible for creating symbols, such as a symbol stream, based on, for example, the input image to be encoded and a reference image) and a (local) decoder (633) embedded in the video encoder (603). The decoder (633) creates sample data by reconstructing the symbols in a similar manner to how a (remote) decoder creates sample data (because any compression between the symbols and the encoded video bitstream is lossless in the video compression techniques considered in the disclosed subject). The reconstructed sample stream (sample data) is input to a reference image memory (634). Because decoding the symbol stream yields bit-accurate results regardless of the decoder's location (local or remote), the contents of the reference image memory (634) correspond bit-accurately between the local encoder and the remote encoder. In other words, the reference image sample "seen" by the encoder's prediction portion is exactly the same as the sample value "seen" by the decoder when using the prediction during the decoding period. This fundamental principle of reference image synchronization (and the drift that occurs when synchronization is not maintained due to, for example, channel errors) is also used in several related techniques.

[0063] The operation of the “local” decoder (633) may be the same as that of a “remote” decoder, such as the video decoder (510), which has already been described in detail above in relation to Figure 5. However, referring more briefly to Figure 5, since symbols may be available and the encoding and / or decoding of symbols to a video sequence encoded by the entropy coder (645) and analyzer (520) may be lossless, the entropy decoding portion of the video decoder (510), which includes the buffer memory (515) and analyzer (520), may not be fully performed by the local decoder (633).

[0064] At this point, it has been observed that any decoder techniques other than parsing / entropy decoding present in the decoder must necessarily be present in the corresponding encoder in substantially the same functional form. Therefore, the disclosed subject matter focuses on decoder operation. The description of encoder techniques can be omitted as it is the inverse of the comprehensively described decoder techniques. More detailed explanations are necessary only in specific areas and are provided below.

[0065] During operation, in some embodiments, the source coder (630) may perform motion-compensated predictive coding, which predictively codes the input image by referencing one or more previously coded images designated as “reference images” from the video sequence. In this way, the coding engine (632) codes the difference between the pixel blocks of the input image and the pixel blocks of the reference images that may be selected as predictive references for the input image.

[0066] The local video decoder (633) can decode encoded video data of an image that may be designated as a reference image based on symbols generated by the source coder (630). The operation of the encoding engine (632) may, advantageously, be a lossy process. When encoded video data is decoded by a video decoder (not shown in Figure 6), the reconstructed video sequence may typically be a replica of the source video sequence with some errors. The local video decoder (633) can copy the decoding process that may be performed by the video decoder on the reference image and store the reconstructed reference image in a reference image cache (634). In this way, the video encoder (603) can locally store a copy of the reconstructed reference image that has common content with the reconstructed reference image obtained by the far-end video decoder (where there are no transmission errors).

[0067] The predictor (635) can perform a predictive search against the encoding engine (632). That is, for a new image to be encoded, the predictor (635) can search the reference image memory (634) for sample data (as candidate reference pixel blocks) or specific metadata, such as reference image motion vectors, block shapes, etc., that can serve as appropriate predictive references for the new image. The predictor (635) can operate pixel block by pixel based on the sample blocks to find appropriate predictive references. In some cases, the input image may have predictive references drawn from multiple reference images stored in the reference image memory (634), as determined by the search results obtained by the predictor (635).

[0068] The controller (650) can manage the encoding operation of the source coder (630), including, for example, setting parameters and subgroup parameters used to encode and / or decode video data.

[0069] The outputs of all the above-mentioned functional units can be entropically coded by the entropy coder (645). The entropy coder (645) converts the symbols generated by the various functional units into coded video sequences by losslessly compressing the symbols, such as Huffman coding, variable-length coding, or arithmetic coding.

[0070] The transmitter (640) may buffer the encoded video sequence generated by the entropy coder (645) in preparation for transmission over a communication channel (660), which may be a hardware / software link to a storage device that stores the encoded video data. The transmitter (640) may merge the encoded video data from the video encoder (603) with other data being transmitted, such as encoded audio data and / or auxiliary data streams (sources not shown).

[0071] The controller (650) can manage the operation of the video encoder (603). During the encoding period, the controller (650) can assign a specific encoded image type to each encoded image, which may influence the encoding technique that can be applied to each image. For example, an image is often assigned as one of the following image types, namely, An in-frame image (I-image) may be one that can be encoded and decoded without using any other images in the sequence as a source of prediction. Some video codecs allow different types of in-frame images, such as Independent Decoder Refresh (IDR) images. Those skilled in the art will understand the variants of I-images and their applications and functions.

[0072] The predicted image (P-image) may be encoded and decoded using intra-frame or inter-frame prediction, which uses up to one motion vector and reference index to predict the sample values ​​for each block.

[0073] Bidirectional prediction images (B images) may be encoded and decoded using intra-frame or inter-frame predictions that predict the sample values ​​of each block using at most two motion vectors and reference indices. Similarly, multiple prediction images may use two or more reference images and associated metadata to reconstruct a single block.

[0074] A source image can typically be spatially subdivided into multiple sample blocks (e.g., blocks of 4x4, 8x8, 4x8, or 16x16 samples each), and each block can be encoded. These blocks can be predictively encoded by referencing other (already encoded) blocks, as determined by the encoding assignment applied to each image in the block. For example, blocks in image I may be non-predictively encoded, or they may be predictively encoded by referencing already encoded blocks in the same image (spatial prediction or intra-frame prediction). Pixel blocks in image P may be predictively encoded by referencing a previously encoded reference image via spatial prediction or temporal prediction. Blocks in image B may be predictively encoded by referencing a previously encoded reference image one or two times prior via spatial prediction or temporal prediction.

[0075] The video encoder (603) can perform encoding operations in accordance with a given video encoding technique or standard, such as ITU-T H.265. In this operation, the video encoder (603) can perform various compression operations, including predictive encoding operations that utilize temporal and spatial redundancy in the input video sequence. Thus, the encoded video data can conform to the syntax specified by the video encoding technique or standard used.

[0076] In one embodiment, the transmitter (640) may transmit additional data along with the encoded video. The source coder (630) may include such data as part of the encoded video sequence. The additional data may include temporal / spatial / SNR enhancement layers, other forms of redundant data such as redundant images and slices, SEI messages, VUI parameter set fragments, and the like.

[0077] Video can be captured as multiple source images (video images) in a time series. Intra-frame image prediction (often abbreviated as intra-frame prediction) utilizes spatial correlations in a given image, while inter-frame image prediction utilizes (temporal or other) correlations between images. In one example, a particular image being encoded and / or decoded, called the current image, is divided into blocks. If the blocks of the current image are analogous to reference blocks in previously encoded and still buffered reference images in the video, then the blocks of the current image may be encoded by a vector called a motion vector. The motion vector points to the reference blocks in the reference images and may have a third dimension to identify the reference images if multiple reference images are used.

[0078] In some embodiments, bidirectional prediction techniques can be used for interframe image prediction. According to bidirectional prediction techniques, two reference images are used, such as a first reference image and a second reference image, both of which are prior to the current image in the video in decoding order (but may be past and future, respectively, in display order). Blocks in the current image can be encoded by a first motion vector pointing to a first reference block in the first reference image and a second motion vector pointing to a second reference block in the second reference image. Blocks can be predicted by combinations of the first and second reference blocks.

[0079] Furthermore, to improve coding efficiency, merge mode techniques can be used in inter-frame image prediction.

[0080] According to some embodiments of this disclosure, predictions such as inter-frame image prediction and intra-frame image prediction are performed in units of blocks. For example, according to the HEVC standard, images in a sequence of video images are divided into coding tree units (CTUs) for compression, and the CTUs in an image have the same size, e.g., 64x64 pixels, 32x32 pixels, or 16x16 pixels. Generally, a CTU contains three coding tree blocks (CTBs), which are one luminance CTB and two chromaticity CTBs. Each CTU may be recursively divided into one or more coding units (CUs) in a quadtree. For example, a 64x64 pixel CTU may be divided into one 64x64 pixel CU, four 32x32 pixel CUs, or sixteen 16x16 pixel CUs. In one example, each CU is analyzed to determine a prediction type for the CU, such as an inter-frame prediction type or an intra-frame prediction type. The CUs are divided into one or more prediction units (PUs) depending on their temporal and / or spatial predictability. Typically, each PU includes a luminance prediction block (PB) and two chromaticity PBs. In one embodiment, the prediction operation in coding (encoding and / or decoding) is performed in units of prediction blocks. Using a luminance prediction block as an example of a prediction block, the prediction block includes a matrix of pixel values ​​(e.g., luminance values), such as 8x8 pixels, 16x16 pixels, 8x16 pixels, 16x8 pixels, etc.

[0081] Figure 7 shows a diagram of a video encoder (703) according to another embodiment of the present disclosure. The video encoder (703) is configured to receive a processing block (e.g., a prediction block) of sample values ​​in the current video image in a video image sequence and to encode the processing block into an encoded image which is part of the encoded video sequence. In one example, the video encoder (703) is used instead of the video encoder (403) in the example of Figure 4.

[0082] In the HEVC example, the video encoder (703) receives a matrix of sample values ​​for a processing block, such as a prediction block of 8x8 samples. The video encoder (703) determines whether the processing block is best encoded using, for example, rate-distortion optimization, in an in-frame mode, an inter-frame mode, or a bi-prediction mode. If the processing block is encoded in in-frame mode, the video encoder (703) can encode the processing block into an encoded image using an in-frame prediction technique. If the processing block is encoded in inter-frame mode or a bi-prediction mode, the video encoder (703) can encode the processing block into an encoded image using an inter-frame prediction or a bi-prediction technique, respectively. In certain video encoding techniques, the merge mode can be an inter-image prediction submode, where the motion vectors are derived from one or more motion vector predictors, but there is no benefit to the encoded motion vector component outside the predictors. In certain other video encoding techniques, there may be motion vector components applicable to the target block. In one example, the video encoder (703) includes other components, such as a mode determination module (not shown) for determining the mode of the processing block.

[0083] In the example shown in Figure 7, the video encoder (703) includes, as shown in Figure 7, an interframe encoder (730), an intraframe encoder (722), a residual calculator (723), a switch (726), a residual encoder (724), a general-purpose controller (721), and an entropy encoder (725), all coupled together.

[0084] The interframe encoder (730) is configured to receive a sample of the current block (e.g., a processing block), compare that block with one or more reference blocks in a reference image (e.g., blocks in the previous and subsequent images), generate interframe prediction information (e.g., redundant information explanation by interframe coding techniques, motion vectors, merge mode information), and use any appropriate technique to compute an interframe prediction result (e.g., predicted block) based on the interframe prediction information. In some examples, the reference image is a decoded reference image, which is decoded based on encoded video information.

[0085] The in-frame encoder (722) is configured to receive a sample of the current block (e.g., a processing block), and in some cases compare that block to a block already encoded in the same image, generate quantized coefficients after the transformation, and in some cases generate in-frame prediction information (e.g., in-frame prediction direction information by one or more in-frame encoding techniques). In one example, the in-frame encoder (722) also calculates an in-frame prediction result (e.g., a predicted block) based on the in-frame prediction information and a reference block in the same image.

[0086] The general-purpose controller (721) is configured to determine general-purpose control data and control other components of the video encoder (703) based on that data. For example, the general-purpose controller (721) determines the mode of a block and provides control signals to the switch (726) based on that mode. For example, if the mode is an in-frame mode, the general-purpose controller (721) controls the switch (726) to select the in-frame mode result to be used by the residual calculator (723), and controls the entropy encoder (725) to select the in-frame prediction information and include that in-frame prediction information in the code stream. Also, if the mode is an inter-frame mode, the general-purpose controller (721) controls the switch (726) to select the inter-frame prediction result to be used by the residual calculator (723), and controls the entropy encoder (725) to select the inter-frame prediction information and include that inter-frame prediction information in the code stream.

[0087] The residual calculator (723) is configured to calculate the difference (residual data) between the received block and the prediction result selected from the in-frame encoder (722) or the inter-frame encoder (730). The residual encoder (724) is configured to operate on the residual data and generate conversion coefficients by encoding the residual data. In one example, the residual encoder (724) is configured to convert the residual data from the spatial domain to the frequency domain and generate conversion coefficients. The conversion coefficients are then subjected to a quantization process to obtain quantized conversion coefficients. In various embodiments, the video encoder (703) also includes a residual decoder (728). The residual decoder (728) is configured to perform an inverse conversion and generate decoded residual data. The decoded residual data can be appropriately used by the in-frame encoder (722) and the inter-frame encoder (730). For example, an interframe encoder (730) can generate decoded blocks based on decoded residual data and interframe prediction information, and an intraframe encoder (722) can generate decoded blocks based on decoded residual data and intraframe prediction information. The decoded blocks are appropriately processed to generate a decoded image, and in some examples, the decoded image may be buffered in a memory circuit (not shown) and used as a reference image.

[0088] The entropy encoder (725) is configured to format the bitstream to include encoded blocks. The entropy encoder (725) is configured to include various information according to an appropriate standard such as the HEVC standard. For example, the entropy encoder (725) is configured to include general control data, selected prediction information (e.g., intra-frame prediction information or inter-frame prediction information), residual information, and other appropriate information in the bitstream. Note that, according to the disclosed subject, there is no residual information when encoding blocks in inter-frame mode or bidirectional prediction mode merge submode.

[0089] Figure 8 shows a diagram of a video decoder (810) according to another embodiment of the present disclosure. The video decoder (810) is configured to receive an encoded image which is part of an encoded video sequence, decode the encoded image, and produce a reconstructed image. In one example, the video decoder (810) is used instead of the video decoder (410) in the example of Figure 4.

[0090] In the example shown in Figure 8, the video decoder (810) includes an entropy decoder (871), an interframe decoder (880), a residual decoder (873), a reconstruction module (874), and an intraframe decoder (872), all coupled together as shown in Figure 8.

[0091] The entropy decoder (871) may be configured to reconstruct specific symbols from the encoded image that represent the syntactic elements that make up the encoded image. Such symbols may include, for example, a mode for encoding a block (e.g., an in-frame mode, an inter-frame mode, a bidirectional prediction mode, a merge submode of the latter two, or another submode), prediction information (e.g., in-frame prediction information or inter-frame prediction information) that can identify specific samples or metadata used for prediction by the in-frame decoder (872) or inter-frame decoder (880), respectively, and residual information, for example, in the form of quantized transformation coefficients. In one example, if the prediction mode is an inter-frame prediction mode or a bidirectional prediction mode, the inter-frame prediction information is provided to the inter-frame decoder (880). If the prediction type is an in-frame prediction type, the in-frame prediction information is provided to the in-frame decoder (872). The residual information may be inversely quantized and provided to the residual decoder (873).

[0092] The interframe decoder (880) is configured to receive interframe prediction information and generate interframe prediction results based on the interframe prediction information.

[0093] The in-frame decoder (872) is configured to receive in-frame prediction information and generate prediction results based on the in-frame prediction information.

[0094] The residual decoder (873) is configured to perform inverse quantization, extract the inversely quantized conversion coefficients, and process these inversely quantized conversion coefficients to convert the residual from the frequency domain to the spatial domain. The residual decoder (873) may also require certain control information (such as quantizer parameters (QP)), which may be provided by the entropy decoder (871) (the data path is not shown because this is only low-volume control information).

[0095] The reconstruction module (874) is configured to combine the residuals as output from the residual decoder (873) and the prediction results (potentially as output from the inter-frame prediction module or intra-frame prediction module) in the spatial domain to form a reconstructed block, which can be part of a reconstructed image, and the reconstructed image can then be part of a reconstructed video. It should be noted that it can perform other appropriate operations, such as deblocking operations, to improve visual quality.

[0096] It should be noted that the video encoders (403), (603), and (703) and the video decoders (410), (510), and (810) can be implemented using any suitable technology. In one embodiment, the video encoders (403), (603), and (703) and the video decoders (410), (510), and (810) can be implemented using one or more integrated circuits. In another embodiment, the video encoders (403), (603), and (703) and the video decoders (410), (510), and (810) can be implemented using one or more processors that execute software instructions.

[0097] Aspects of this disclosure relate to codec tools for partitioning video codecs, and concern methods for limiting the coding block (CB) size for purposes such as quad-tree (QT) partitioning. Furthermore, aspects of this disclosure include methods for deriving the minimum size of a chromatic coding block, the minimum size of a chromatic QT node, and so on.

[0098] An exemplary relationship between a source image and a decoded image given via a bitstream is described below. The video source represented by the bitstream may be a series of images in decoding order. Each of the source image and the decoded image may contain one or more sample arrays, for example, (1) luminance (Y) only (monochrome), (2) luminance and two chromaticities (e.g., YCbCr or YCgCo), (3) green, blue, and red (GBR, also called RGB), and (4) an array representing other unspecified monochrome or tristimulus color samplings (e.g., YZX, also called XYZ).

[0099] For the convenience of notation and terminology in this disclosure, the variables and terms associated with the above arrays may be referred to as luminance (or L or Y) and chromaticity, where the two chromaticity arrays may be referred to as Cb and Cr, regardless of the actual color representation used. The actual color representation used may be further indicated by syntax.

[0100] For example, if multiple sample arrays, such as arrays or blocks of luminance and chromaticity, are included in the source image and the decoded image, variables between the chromaticity blocks and the corresponding luminance blocks may be specified, such as horizontal chromaticity subsampling coefficients (e.g., SubWidthC) and vertical chromaticity subsampling coefficients (e.g., SubHeightC). The variables SubWidthC and SubHeightC (also called chromaticity subsampling ratios) may be specified in Table 1 (shown in Figure 9), depending on the chromaticity format sampling structure, which is specified, for example, by the chromaticity subsampling format (also called the chromaticity format, for example, specified by chroma_format_idc) and a flag (e.g., separate_colour_plane_flag) (optional). Other values ​​for chroma_format_idc, SubWidthC, and SubHeightC may be specified.

[0101] Referring to Figure 9, if the chromaticity format index (e.g., chroma_format_idc) is 0, the chromaticity subsampling format may be "monochrome," which corresponds to monosampling having only one sample array, nominally considered to be a luminance array.

[0102] If the chromaticity format index is 1, the chromaticity subsampling format may be 4:2:0 sampling. Each of the two chromaticity arrays has half the height and half the width of the corresponding luminance array.

[0103] If the chromaticity format index is 2, the chromaticity subsampling format may be 4:2:2 sampling. Each of the two chromaticity arrays has the same height as the luminance array and half the width of the luminance array.

[0104] If the chromaticity format index is 3, the chromaticity subsampling format may be 4:4:4 sampling, depending on the value of the individual color plane flag (e.g., separate_colour_plane_flag). The following applies: (i) if the individual color plane flag is equal to 0, each of the two chromaticity arrays has the same height and width as the luminance array; (ii) otherwise, if the individual color plane flag is equal to 1, the three color planes can be processed individually as monochrome sample images.

[0105] The number of bits used to represent each sample in the luminance and chromaticity arrays in a video sequence can range from 8 to 16 bits. The number of bits used in the luminance array may differ from the number of bits used in the chromaticity array.

[0106] Figures 10A–10C show the nominal vertical and horizontal relative positions of the corresponding luminance and chromaticity samples in each image according to embodiments of the present disclosure. Alternative chromaticity sample relative positions may be shown in the video usability information.

[0107] Referring to Figure 10A, a chromaticity format index (e.g., chroma_format_idc) value equal to 1 can indicate a 4:2:0 ratio. Figure 10A shows an example of the nominal vertical and horizontal positions of the corresponding luminance and chromaticity samples in the image.

[0108] Referring to Figure 10B, a chromaticity format index value equal to 2 can indicate a 4:2:2 ratio, and therefore the chromaticity sample is co-sited (or co-located) in the same position as the corresponding luminance sample in the image. Figure 10B shows examples of the nominal vertical and horizontal positions of the corresponding luminance and chromaticity samples in the image.

[0109] Referring to Figure 10C, if the chromaticity format index value is equal to 3, all array samples (e.g., samples from the luminance array and samples from two chromaticity arrays) can be placed in the same position (or jointly placed). Figure 10C shows examples of the nominal vertical and horizontal positions of corresponding luminance and chromaticity samples in an image.

[0110] The following describes examples of partitioning in VVCs and the like. In one embodiment, an image may be partitioned into CTUs. An image can be divided into a series of CTUs. For an image having three sample arrays, a CTU may contain N×N blocks of luminance samples (e.g., luminance blocks) along with two corresponding blocks of chromaticity samples (e.g., two chromaticity blocks). Figure 11 shows an example of an image (1100) divided into CTUs (1101) according to one embodiment of the present disclosure. In one example, the maximum allowable size of a luminance block in a CTU is specified as 128×128. In one example, the maximum size of a luminance conversion block is 64×64.

[0111] An image can be partitioned into slices, tiles, and / or bricks. An image may be divided into one or more tile rows and one or more tile columns. A tile may be a series of CTUs covering a rectangular area of ​​the image. A tile may be divided into one or more bricks, each brick may contain multiple rows of CTUs within that tile. A tile that is not partitioned into multiple bricks may also be called a brick. However, a brick that is a true subset of a tile is never called a tile.

[0112] A slice may contain multiple tiles in an image or multiple bricks within a tile. Two modes of slicing can be supported, for example, raster scan slicing mode and rectangular slicing mode. In raster scan slicing mode, a slice may contain a series of tiles in a tile raster scan of the image. In rectangular slicing mode, a slice may contain multiple bricks that can collectively form a rectangular region of the image. The bricks within a rectangular slice follow the order of the brick raster scan of that slice.

[0113] An image can be partitioned into tiles and raster scan slices. Figure 12 shows an example of raster scan slice partitioning of an image (1200) according to one embodiment of the present disclosure. The image (1200) may be divided into 12 tiles (1201) to (1212) (for example, 12 tiles in 3 columns (or tile columns) and 4 rows (or tile rows)) and 3 raster scan slices (1221) to (1223). For example, raster scan slice (1221) contains tiles (1201) to (1202), raster scan slice (1222) contains tiles (1203) to (1207), and raster scan slice (1223) contains tiles (1208) to (1212).

[0114] An image can be partitioned into tiles and rectangular slices. Figure 13 shows an example of rectangular slice partitioning of an image (1300) according to one embodiment of the present disclosure. The image (1300) may be divided into 24 tiles (1301) to (1324) (for example, 24 tiles in 6 columns (or tile columns) and 4 rows (or tile rows)) and 9 rectangular slices (1331) to (1339). For example, rectangular slice (1331) contains tiles (1301) to (1302), rectangular slice (1332) contains tiles (1303) to (1304), rectangular slice (1333) contains tiles (1305) to (1306), rectangular slice (1334) contains tiles (1307), (1308), (1313), and (1314), and rectangular slice (1335) contains tile (1309). Rectangular slice (1336) includes tiles (1311), (1312), (1317), and (1318), rectangular slice (1337) includes tiles (1319) to (1320), rectangular slice (1338) includes tiles (1321) to (1322), and rectangular slice (1339) includes tiles (1323) to (1324).

[0115] An image can be partitioned into tiles, bricks, and rectangular slices. Figure 14 shows an example of an image (1400) partitioned into tiles, bricks (1401) to (1411), and rectangular slices (1421) to (1424) according to one embodiment of the present disclosure. Image (1400) may be divided into four tiles (e.g., two tile columns and two tile rows), eleven bricks (1401) to (1411), and four rectangular slices (1421) to (1424). The top-left tile contains one brick (1401), the top-right tile contains five bricks (1402) to (1406), the bottom-left tile contains two bricks (1407) to (1408), and the bottom-right tile contains three bricks (1409) to (1411). Rectangular slice (1421) includes bricks (1401), (1407), and (1408); rectangular slice (1422) includes bricks (1402) and (1403); rectangular slice (1423) includes bricks (1404) through (1406); and rectangular slice (1424) includes bricks (1409) through (1411).

[0116] A CTU can be partitioned using a tree structure. In embodiments such as HEVC, a CTU can be partitioned into CUs (multiple) using a quadtree or QT structure, represented as a coding tree, to adapt to various local characteristics. The decision of whether or not to encode an image region may be made at the leaf CU level using inter-image (or temporal) or intra-image (or spatial) prediction. Each leaf CU can be further partitioned into one, two, or four PUs, depending on the PU partitioning type. Within each PU, the same prediction process may be applied, and relevant information may be sent to the decoder on a PU basis. After the residual blocks are obtained by applying the prediction process based on the PU partitioning type, the leaf CU can be partitioned into transform units (TUs) according to a QT structure similar to a coding tree for the CUs. In examples such as the HEVC structure, the CUs, PUs, and multiple partition units such as TUs may be different.

[0117] In embodiments such as VVC, a quad tree with nested multitype trees using binary and ternary partitioning segmentation structures can replace the concept of multiple partition unit types and thus eliminate the separation of CU, PU, ​​and TU concepts, and can support greater flexibility for CU partition shapes. In some examples, different sizes may be used for CU, PU, ​​and / or TU if the CU has a size that is too large for the maximum transformation length. In an encoding tree structure, the CU can be either square or rectangular in shape. The CTU can first be partitioned by a QT structure. Then, the QT leaf nodes can be further partitioned by a multitype tree (MTT) structure. Figure 15 shows exemplary partition types (1521) to (1524) in an MTT structure according to one embodiment of the present disclosure. Split types (1521) to (1524) may include vertical binary splitting (SPLIT_BT_VER)(1521), horizontal binary splitting (SPLIT_BT_HOR)(1522), vertical ternary splitting (SPLIT_TT_VER)(1523), and horizontal ternary splitting (SPLIT_TT_HOR)(1524). MTT leaf nodes may also be called CUs, and unless the CU is too large for the maximum transformation length, the segmentation (or CU) can be used for prediction and transformation processing without requiring any further partitioning. Thus, in most cases, CUs, PUs, and TUs may have the same block size in QT with a nested MTT coded block structure. One exception occurs if the maximum supported transformation length is smaller than the width or height of the color components of the CU.

[0118] Figure 16 shows an example of partition flag signaling for a QT having a nested MTT coding tree structure according to one embodiment of the present disclosure. Figure 16 shows an exemplary signaling mechanism for partition information in a QT having a nested MTT coding tree structure. For example, a node (1611), such as a CTU, may be treated as the root of the QT, and if the QT split flag (e.g., qt_split_flag) is true (e.g., value "1"), it may first be partitioned into QT nodes by the QT structure to generate QT nodes (1621). If the QT split flag (e.g., qt_split_flag) is false (e.g., value "0"), the node (1611) is not partitioned using QT splitting and may be called a QT leaf node (1611). Each QT leaf node (if it is large enough to allow it) may be further partitioned by the MTT structure and may be called an MTT node. Referring to Figure 16, a QT leaf node or MTT node (1611) can be further partitioned using MTT partitioning.

[0119] In an MTT structure, a first flag (e.g., a mtt_split_cu_flag) may be signaled to indicate whether or not a node (1611) is further partitioned. If a node (1611) is not partitioned (e.g., mtt_split_cu_flag is "0"), the node (1611) is called an MTT leaf node (1611). If a node (1611) is further partitioned (e.g., mtt_split_cu_flag is "1"), a second flag (e.g., a mtt_split_cu_vertical_flag) may be signaled to indicate the direction of the partition (horizontal or vertical), and then a third flag (e.g., mtt_split_cu_binary_flag) may be signaled to indicate whether the partition is binary or ternary. Therefore, MTT node (1651) is generated based on the vertical binary split of node (1611) (e.g., BT_VER_split), MTT node (1652) is generated based on the vertical ternary split of node (1611) (e.g., TT_VER_split), MTT node (1653) is generated based on the horizontal binary split of node (1611) (e.g., BT_HOR_split), and MTT node (1654) is generated based on the horizontal ternary split of node (1611) (e.g., TT_HOR_split).

[0120] Referring to Figure 17, the MTT splitting mode of the CU (e.g., MttSplitMode) may be derived based on the values ​​of the second flag (e.g., mtt_split_cu_vertical_flag) and the third flag (e.g., mtt_split_cu_binary_flag), as shown in Table 2. The MTT splitting modes may include vertical binary splitting (e.g., BT_VER_split or SPLIT_BT_VER), vertical ternary splitting (e.g., TT_VER_split or SPLIT_TT_VER), horizontal binary splitting (e.g., BT_HOR_split or SPLIT_BT_HOR), and horizontal ternary splitting (e.g., TT_HOR_split or SPLIT_TT_HOR).

[0121] Figure 18 shows an example of a QT having a nested MTT coding block structure according to one embodiment of the present disclosure. CTU(1800) may be divided into a QT and a plurality of CUs having a nested MTT coding block structure, where the thick block edges represent QT partitions and the remaining edges represent MTT partitions. A QT having nested MTT partitions can provide a content-adaptive coding tree structure including CUs. The size of the CUs may be any appropriate size. The size of the CUs may be as large as CTU(1800) or as small as 4×4 in units of luminance samples. In one example, for a 4:2:0 chromaticity format, the maximum chromaticity CB size may be 64×64 and the minimum chromaticity CB size may be 2×2.

[0122] For example, in the case of VVC, the maximum supported luminance conversion size is 64x64 and the maximum supported chromaticity conversion size is 32x32. If the width or height of a CB is greater than the maximum conversion width or height, the CB may be automatically divided horizontally and / or vertically to satisfy the conversion size limitations in each direction.

[0123] The following parameters may be defined and specified by syntactic elements of a sequence parameter set (SPS) for QT having a nested MTT coding tree scheme. These parameters may include (1) the CTU size, which is the root node size of the QT tree; (2) the MinQTSize, which is the minimum allowed QT leaf node size; (3) the MaxBtSize, which is the maximum allowed BT root node size; (4) the MaxTtSize, which is the maximum allowed TT root node size; (5) the MaxMttDepth, which is the maximum allowed hierarchy depth of the MTTs that are separated from the QT leaves; (6) the MinBtSize, which is the minimum allowed BT leaf node size; (7) the MinTtSize, which is the minimum allowed TT leaf node size; and so on.

[0124] In an example of QT with a nested MTT coding tree structure, the CTU size is set as a 128x128 luminance sample with two corresponding 64x64 blocks of 4:2:0 chromaticity samples, MinQTSize is set as 16x16, MaxBtSize is set as 128x128, MaxTtSize is set as 64x64, MinBtSize and MinTtSize (both width and height) are set as 4x4, and MaxMttDepth is set as 4. QT partitions can first be applied to the CTU to generate QT leaf nodes. QT leaf nodes can have sizes ranging from 16x16 (e.g., MinQTSize) to 128x128 (e.g., CTU size). In one example, if a QT leaf node is 128x128, the QT leaf node is not further partitioned by BT because its size exceeds MaxBtSize and MaxTtSize (e.g., 64x64). Otherwise, a QT leaf node can be further partitioned by an MTT. Thus, a QT leaf node can also be the root node for an MTT, and its MTT depth (e.g., MttDepth) can be set to 0. If the MTT depth reaches MaxMttDepth (e.g., 4), further partitioning is not considered. If the width of an MTT node is equal to MinBtSize and less than or equal to 2 × MinTtSize, further horizontal partitioning is not considered. Similarly, if the height of an MTT node is equal to MinBtSize and less than or equal to 2 × MinTtSize, further vertical partitioning is not considered.

[0125] In one embodiment, to allow 64x64 luminance blocks and 32x32 chromaticity pipeline designs in, for example, a VVC hardware decoder, TT splitting may be prohibited if either the width or height of a luminance coding block is greater than a first threshold (e.g., 64), as shown in Figure 19. Therefore, TT splitting is not applied to luminance coding blocks larger than 64, such as a 128x128 luminance coding block. TT splitting may also be prohibited if the width or height of a chromaticity coding block is greater than a second threshold (e.g., 32). Referring to Figure 19, the first threshold is 64, and the size of luminance coding blocks (1911) to (1915) is 128x128, so TT splitting is prohibited for luminance coding blocks (1911) to (1915). For example, luminance coding block (1911) is not split, and luminance coding blocks (1912) to (1913) are split using BT. The luminance coding blocks (1914) to (1915) are first divided into 64x64 blocks using the QT partitioning method. Subsequently, the TT partitioning can be applied to the luminance coding blocks (1921) to (1922), which have a size of 64x64.

[0126] In one embodiment, the coding tree scheme supports the ability for the luminance component and the corresponding chromaticity component to have separate block tree structures. In one example, for P and B slices, the luminance and chromaticity CTB in the CTU share the same coding tree structure (e.g., single tree). For I slices, the luminance and chromaticity CTB in the CTU may have separate block tree structures (e.g., dual tree). When separate block tree modes (e.g., dual tree) are applied, the luminance CTB may be partitioned into luminance CUs by a luminance coding tree structure (e.g., DUAL_TREE_LUMA), and the chromaticity CTB may be partitioned into chromaticity CUs by a chromaticity coding tree structure (e.g., DUAL_TREE_CHROMA). Thus, a CU in an I slice may contain coding blocks for the luminance component or coding blocks for two chromaticity components, and a CU in a P or B slice may contain coding blocks for all three color components, unless the video is monochrome.

[0127] CUs can be split at image boundaries (also called boundaries), as described below. For example, in HEVC, if part of a tree node block extends beyond the lower boundary or right-hand boundary of the image, the tree node block is forced to split until all samples of each encoded CU are located within the image boundary. In some examples, the following splitting rules may apply: If part of a tree node block extends beyond both the bottom boundary and the right boundary of the image, If a tree node block is a QT node and its size is greater than the minimum QT size, the tree node block is forcibly split in QT splitting mode.

[0128] Otherwise, the tree node block is forced to split in SPLIT_BT_HOR mode.

[0129] Otherwise, if a portion of a tree node block extends beyond the lower boundary of the image, and the tree node block is a QT node, and the size of the tree node block is greater than the minimum QT size and greater than the maximum BT size, the tree node block is forcibly split in QT splitting mode.

[0130] Otherwise, if a tree node block is a QT node and its size is greater than the minimum QT size and less than or equal to the maximum BT size, the tree node block is forcibly split in either QT split mode or SPLIT_BT_HOR mode.

[0131] Otherwise (if the tree node block is a BTT node, or if the size of the tree node block is less than or equal to the minimum QT size), the tree node block is forcibly split in SPLIT_BT_HOR mode.

[0132] Otherwise, if a portion of a tree node block extends beyond the right-hand boundary of the image, and the tree node block is a QT node, and its size is greater than the minimum QT size and greater than the maximum BT size, the tree node block is forcibly split in QT splitting mode.

[0133] Otherwise, if a tree node block is a QT node and its size is greater than the minimum QT size and less than or equal to the maximum BT size, the tree node block is forcibly split in either QT splitting mode or SPLIT_BT_VER mode.

[0134] Otherwise (if the tree node block is a BTT node, or if the size of the tree node block is less than or equal to the minimum QT size), the tree node block is forcibly split in SPLIT_BT_VER mode.

[0135] Restrictions on redundant CU partitioning may be applied. QT with nested MTT coded block structures can provide flexible block partitioning structures. Depending on the partitioning type supported by the MTT, different partitioning patterns may result in the same coded block structure. For example, in cases such as VVC, certain redundant partitioning patterns are not permitted.

[0136] Figure 20 shows an example of redundant partitioning patterns of BT partitioning and TT partitioning according to one embodiment of the present disclosure. Two consecutive levels of BT partitioning in a certain direction may have the same coded block structure as the TT partition after BT partitioning of the central partition. In the above case, BT partitioning for the central partition of the TT partitioning (in the specified direction) may be prevented (e.g., not allowed) by syntax, for example. In one example, the above restriction applies to CUs in each image.

[0137] In one example, the encoded block structure (2001) is generated by two consecutive levels of BT partitions in the vertical direction (e.g., a first-level BT partition (2011), followed by a second-level BT partition (2021) - (2022)). The encoded block structure (2002) is generated by a vertical TT partition (2012), followed by a vertical BT partition (2023) of the central partition of the vertical TT partition (2012). The encoded block structure (2001) may be identical to the encoded block structure (2002), and therefore the BT partition (2023) for the central partition of the TT partition (2012) is prevented (in the vertical direction) by, for example, syntax.

[0138] For example, the encoded block structure (2003) is generated by two levels of consecutive BT partitions in the horizontal direction (e.g., a first-level BT partition (2013), followed by a second-level BT partition (2024)-(2025)). The encoded block structure (2004) is generated by a horizontal TT partition (2014), followed by a horizontal BT partition (2026) of the central partition of the horizontal TT partition (2014). The encoded block structure (2003) may be identical to the encoded block structure (2004), and therefore the BT partition (2026) of the central partition of the TT partition (2014) (in the horizontal direction) is prevented, for example, by syntax.

[0139] If a split is prohibited as described above, the signaling of the corresponding syntactic element may be modified to resolve the prohibited situation. For example, referring to Figure 20, if a situation is identified where a BT split (2023) or (2026) is prohibited for a CU of the central partition, the syntactic element that specifies whether the split is a BT split or a TT split (e.g., mtt_split_cu_binary_flag) is not signaled and is inferred to be equal to 0 by the decoder. Therefore, a BT split is prohibited for the CU.

[0140] A virtual pipeline data unit (VPDU) can be defined as a non-overlapping unit in an image. In a hardware decoder, consecutive VPDUs can be processed simultaneously by multiple pipeline stages. Maintaining a relatively small VPDU size is important because the VPDU size can be approximately proportional to the buffer size in most pipeline stages. For example, in various examples such as most hardware decoders, the VPDU size can be set to the maximum translated block (TB) size. In some examples, such as VVC, TT and BT partitioning can lead to an increase in VPDU size. To maintain the VPDU size at a specific size, such as 64x64 luminance samples, the following normative partitioning restrictions (with exemplary syntactic signaling modifications) may be applied, as shown in Figure 21. Figure 21 shows an example of unauthorized TT and BT partitioning according to one embodiment of the present disclosure.

[0141] TT splitting is not permitted for CUs where the width, height, or both width and height are equal to 128. For example, TT splitting (2001), (2002), and (2005)~(2008) is not permitted.

[0142] Horizontal BT partitioning is not permitted for 128 × NCUs where N ≤ 64 (i.e., width equal to 128 and height less than 128). For example, horizontal BT partitioning (2004) is not permitted for 128 × 64 CUs.

[0143] Vertical BT partitioning is not permitted for N × 128 CUs where N ≤ 64 (i.e., height equal to 128 and width less than 128). For example, vertical BT partitioning (2003) is not permitted for 64 × 128 CUs.

[0144] The following describes in-frame chromaticity partitioning and prediction limits. A dual tree in an in-frame image allows for longer coding pipelines because it can apply different partitioning to the chromaticity coding tree compared to a luminance coding tree. The range of QTBT MinQTSizeC, MinBtSizeY, and MinTTSizeY values ​​in the chromaticity coding tree can allow for smaller chromaticity blocks, such as 2x2, 4x2, and 2x4. For example, MinQTSizeC refers to the minimum allowable chromaticity QT leaf node size. Therefore, practical decoder design can be challenging. Furthermore, multiplication may be used in certain prediction modes, such as the cross-component linear model (CCLM), planar mode, and angular mode. To mitigate the above challenges, small chromaticity block sizes (e.g., 2x2, 2x4, and / or 4x2) can be restricted as partitioning limits in the dual tree.

[0145] In various hardware video encoders and decoders, processing throughput may be reduced if an image has more small in-frame blocks, for example, due to the dependency of sample processing data between adjacent in-frame blocks. In generating in-frame block predictors, samples reconstructed at the top and left boundaries from adjacent blocks may be used. Therefore, in one example, in-frame predictions are processed sequentially, block by block.

[0146] For example, in some cases such as HEVC, the minimum in-frame CU is an 8x8 luminance sample. The luminance component of the minimum in-frame CU may be further divided into four 4x4 luminance in-frame PUs, while the chromaticity component of the minimum in-frame CU cannot be further divided. Therefore, in one example, processing a 4x4 chromaticity in-frame block or a 4x4 luminance in-frame block may reduce the hardware processing throughput. In some examples, to improve throughput, chromaticity in-frame CBs smaller than 16 chromaticity samples may not be allowed by restricting the partitioning of chromaticity in-frame CBs. In a single coding tree, the minimum chromaticity in-frame prediction unit (SCIPU) may be defined as a coding tree node with a chromaticity block size of 16 or more chromaticity samples and at least one child luminance block smaller than 64 luminance samples. In each SCIPU, all CBs are inter-frame predictions or non-inter-frame predictions (e.g., intra-frame predictions or intra-frame block copies (IBCs)). For non-interframe SCIPUs, in one example, the chromaticity CB of a non-interframe SCIPU is not further subdivided, and further subdivision of the luminance CB of the SCIPU is permitted. Therefore, the minimum chromatic in-frame CB size may be 16 chromatic samples, and thus 2×2, 2×4, and 4×2 chromatic CBs may be removed. Furthermore, in one example, chromatic scaling is not applied to non-interframe SCIPUs. Here, no additional syntax is indicated by the signal, and whether a SCIPU is a non-interframe prediction can be derived from the prediction mode of the first luminance CB in the SCIPU. If the current slice is an I slice, or if the SCIPU has a 4×4 luminance partition after being subdivided one more time, the type of SCIPU (interframe SCIPU or non-interframe SCIPU) may be inferred to be a non-interframe SCIPU (for example, since interframe 4x4 is not permitted in VVC), otherwise the type of SCIPU may be indicated by a flag before analyzing the CU in the SCIPU.Furthermore, by considering the image width and height as multiples of max(8, MinCBizeY), constraints on image size may be considered to avoid 2x2, 2x4, or 4x2 in-frame chromaticity blocks in the corners of the image.

[0147] Figure 22 shows an exemplary syntax (2200) associated with partitioning and block size in an SPS according to one embodiment of the present disclosure. Syntax (2200) may include an original byte sequence payload (RBSP) syntax. An RBSP can refer to a syntax structure containing an integer number of bytes, which is encapsulated in a network abstraction layer (NAL) unit and has the form of an empty or data bit sequence containing a syntax element followed by an RBSP stop bit and zero or more subsequent bits equal to 0. In one example, the RBSP stop bit is the last non-zero bit in the RBSP.

[0148] The following describes the correlational semantics of partitioning and block size associated with the syntax (2200) in Figure 22.

[0149] A qtbtt_dual_tree_intra_flag equal to 1 can specify that, for I-slice, each CTU is divided into CUs with 64x64 luminance samples using implicit QT partitioning, and that these CUs can be the roots of two separate coding_tree syntax structures for luminance and chromaticity. A qtbtt_dual_tree_intra_flag equal to 0 can specify that no separate coding_tree syntax structures are used for I-slice. If qtbtt_dual_tree_intra_flag does not exist, it can be inferred to be equal to 0.

[0150] The variable log2_min_luma_coding_block_size_minus2 plus 2 (i.e., log2_min_luma_coding_block_size_minus2+2) can specify the minimum luminance coding block size. The value of log2_min_luma_coding_block_size_minus2 can range from 0 to log2_ctu_size_minus5+3 (including the endpoint).

[0151] The variables MinCbLog2SizeY, MinCbSizeY, IbcBufWidthY, IbcBufWidthC, and VSize can be derived as follows: MinCbLog2SizeY=log2_min_luma_coding_block_size_minus2+2 (1) MinCbSizeY=1< <MinCbLog2SizeY (2) IbcBufWidthY=256*128 / CtbSizeY (3) IbcBufWidthC=IbcBufWidthY / SubWidthC (4) VSize = Min(64, CtbSizeY) (5) The value of MinCbSizeY can be less than or equal to VSize.

[0152] The variables CtbWidthC and CtbHeightC, which specify the width and height of the array for each chromaticity CTB, can be derived as follows: If chroma_format_idc is equal to 0 (monochrome) or separate_colour_plane_flag is equal to 1, then both CtbWidthC and CtbHeightC are equal to 0.

[0153] Otherwise, CtbWidthC and CtbHeightC can be derived as follows: CtbWidthC=CtbSizeY / SubWidthC (6) CtbHeightC=CtbSizeY / SubHeightC (7) For log2BlockWidth in the range from 0 to 4, and for log2BlockHeight in the range from 0 to 4 (endpoints included), 1<<log2BlockWidth and 1<<log2BlockHeight can be used as inputs to invoke the upper-right diagonal and raster scan order array initialization process, and the outputs can be assigned to DiagScanOrder[log2BlockWidth][log2BlockHeight] and Raster2DiagScanPos[log2BlockWidth][log2BlockHeight].

[0154] For log2BlockWidth in the range from 0 to 6, and for log2BlockHeight in the range from 0 to 6 (endpoints included), 1<<log2BlockWidth and 1<<log2BlockHeight can be used as inputs to invoke the horizontal and vertical traverse scan order array initialization process, and the outputs can be assigned to HorTravScanOrder[log2BlockWidth][log2BlockHeight] and VerTravScanOrder[log2BlockWidth][log2BlockHeight].

[0155] partition_constraints_override_enabled_flag equal to 1 may specify that partition_constraints_override_flag is present in the picture header (PH) that refers to the SPS. partition_constraints_override_enabled_flag equal to 0 may specify that partition_constraints_override_flag is not present in the PH that refers to the SPS.

[0156] sps_log2_diff_min_qt_min_cb_intra_slice_luma can specify the default difference between the base-2 logarithm of the minimum size in units of luminance samples of luminance leaf blocks resulting from the QT partitioning of the CTU in a slice with slice_type equal to 2 (indicating an I slice) that references the SPS, and the base-2 logarithm of the minimum encoded block size in units of luminance samples of the luminance CU. If partition_constraints_override_enabled_flag is equal to 1, the default difference may be overridden by pic_log2_diff_min_qt_min_cb_luma present in the PH referencing the SPS. The value of sps_log2_diff_min_qt_min_cb_intra_slice_luma can be within the range of 0 to CtbLog2SizeY–MinCbLog2SizeY (including endpoints). The base-2 logarithm of the minimum size, in units of luminance samples, of a luminance leaf block resulting from the QT partitioning of a CTU can be derived as follows: MinQtLog2SizeIntraY= sps_log2_diff_min_qt_min_cb_intra_slice_luma+MinCbLog2SizeY (8) sps_log2_diff_min_qt_min_cb_inter_slice can specify the default difference between the base-2 logarithm of the minimum size in units of luminance samples of luminance leaf blocks resulting from the QT partitioning of the CTU in a slice with slice_type equal to 0 (indicating a B slice) or 1 (indicating a P slice) that references the SPS, and the base-2 logarithm of the minimum luminance coded block size in units of luminance samples of the luminance CU. If partition_constraints_override_enabled_flag is equal to 1, the default difference may be overridden by pic_log2_diff_min_qt_min_cb_luma present in the PH that references the SPS. The value of sps_log2_diff_min_qt_min_cb_inter_slice can be in the range from 0 to CtbLog2SizeY–MinCbLog2SizeY (including endpoints). The base-2 logarithm of the minimum size, in units of luminance samples, of a luminance leaf block resulting from the QT partitioning of a CTU can be derived as follows: MinQtLog2SizeInterY= sps_log2_diff_min_qt_min_cb_inter_slice+MinCbLog2SizeY (9) sps_max_mtt_hierarchy_depth_inter_slice can specify the default maximum hierarchy depth for coding units resulting from MTT partitioning of QT leaves in slices with slice_type equal to 0 (indicating a B slice) or 1 (indicating a P slice) that reference the SPS. If partition_constraints_override_enabled_flag is equal to 1, the default maximum hierarchy depth may be overridden by pic_max_mtt_hierarchy_depth_inter_slice present in the PH that references the SPS. The value of sps_max_mtt_hierarchy_depth_inter_slice can be in the range of 0 to 2 × (CtbLog2SizeY - MinCbLog2SizeY) (including endpoints).

[0157] sps_max_mtt_hierarchy_depth_intra_slice_luma can specify the default maximum hierarchy depth for coding units resulting from MTT partitioning of QT leaves in slices with slice_type equal to 2 (indicating an I slice) that reference the SPS. If partition_constraints_override_enabled_flag is equal to 1, the default maximum hierarchy depth may be overridden by pic_max_mtt_hierarchy_depth_intra_slice_luma present in the PH referencing the SPS. The value of sps_max_mtt_hierarchy_depth_intra_slice_luma can range from 0 to 2 × (CtbLog2SizeY - MinCbLog2SizeY) (including endpoints).

[0158] sps_log2_diff_max_bt_min_qt_intra_slice_luma can specify the default difference between the base-2 logarithm of the maximum size (width or height) in units of luminance samples of luminance coding blocks that can be partitioned using binary partitioning in a slice with slice_type equal to 2 (indicating an I slice) that references the SPS, and the base-2 logarithm of the minimum size (width or height) in units of luminance samples of luminance leaf blocks resulting from the QT partitioning of the CTU. If partition_constraints_override_enabled_flag is equal to 1, the default difference may be overridden by pic_log2_diff_max_bt_min_qt_luma present in the PH referencing the SPS. The value of sps_log2_diff_max_bt_min_qt_intra_slice_luma can be within the range of 0 to CtbLog2SizeY-MinQtLog2SizeIntraY (including endpoints). If sps_log2_diff_max_bt_min_qt_intra_slice_luma does not exist, it can be inferred that the value of sps_log2_diff_max_bt_min_qt_intra_slice_luma is equal to 0.

[0159] sps_log2_diff_max_tt_min_qt_intra_slice_luma can specify the default difference between the base-2 logarithm of the maximum size (width or height) in units of luminance samples of luminance coding blocks that can be partitioned using terminally partitioning in a slice with slice_type equal to 2 (indicating an I slice) that references the SPS, and the base-2 logarithm of the minimum size (width or height) in units of luminance samples of luminance leaf blocks resulting from the QT partitioning of the CTU. If partition_constraints_override_enabled_flag is equal to 1, the default difference may be overridden by pic_log2_diff_max_tt_min_qt_luma present in the PH referencing the SPS. The value of sps_log2_diff_max_tt_min_qt_intra_slice_luma can be in the range from 0 to CtbLog2Size-YMinQtLog2SizeIntraY (including endpoints). If sps_log2_diff_max_tt_min_qt_intra_slice_luma does not exist, it can be inferred that the value of sps_log2_diff_max_tt_min_qt_intra_slice_luma is equal to 0.

[0160] sps_log2_diff_max_bt_min_qt_inter_slice can specify the default difference between the base-2 logarithm of the maximum size (width or height) in units of luminance samples of luminance coding blocks that can be partitioned using binary partitioning in slices with slice_type equal to 0 (indicating a B slice) or 1 (indicating a P slice) that reference the SPS, and the base-2 logarithm of the minimum size (width or height) in units of luminance samples of luminance leaf blocks resulting from the QT partitioning of the CTU. If partition_constraints_override_enabled_flag is equal to 1, the default difference may be overridden by pic_log2_diff_max_bt_min_qt_luma present in the PH that references the SPS. The value of sps_log2_diff_max_bt_min_qt_inter_slice can be in the range from 0 to CtbLog2SizeY–MinQtLog2SizeInterY (including endpoints). If sps_log2_diff_max_bt_min_qt_inter_slice does not exist, it can be inferred that the value of sps_log2_diff_max_bt_min_qt_inter_slice is equal to 0.

[0161] sps_log2_diff_max_tt_min_qt_inter_slice can specify the default difference between the base-2 logarithm of the maximum size (width or height) in units of luminance samples of luminance coding blocks that can be partitioned using terminally partitioning in slices with slice_type equal to 0 (indicating a B slice) or 1 (indicating a P slice) that reference the SPS, and the base-2 logarithm of the minimum size (width or height) in units of luminance samples of luminance leaf blocks resulting from the QT partitioning of the CTU. If partition_constraints_override_enabled_flag is equal to 1, the default difference may be overridden by pic_log2_diff_max_tt_min_qt_luma present in the PH that references the SPS. The value of sps_log2_diff_max_tt_min_qt_inter_slice can be in the range from 0 to CtbLog2SizeY–MinQtLog2SizeInterY (including endpoints). If sps_log2_diff_max_tt_min_qt_inter_slice does not exist, it can be inferred that the value of sps_log2_diff_max_tt_min_qt_inter_slice is equal to 0.

[0162] sps_log2_diff_min_qt_min_cb_intra_slice_chroma can specify the default difference between the base-2 logarithm of the minimum size in luminance samples of a chromaticity leaf block resulting from a quad-tree (quadrutree) partition of chromaticity CTU with treeType equal to DUAL_TREE_CHROMA in a slice with slice_type equal to 2 (indicating an I slice) that references the SPS, and the base-2 logarithm of the minimum encoded block size in luminance samples of chromaticity CU with treeType equal to DUAL_TREE_CHROMA. If partition_constraints_override_enabled_flag is equal to 1, the default difference may be overridden by pic_log2_diff_min_qt_min_cb_chroma present in the PH that references the SPS. The value of sps_log2_diff_min_qt_min_cb_intra_slice_chroma can be within the range of 0 to CtbLog2SizeY–MinCbLog2SizeY (including the endpoint). If sps_log2_diff_min_qt_min_cb_intra_slice_chroma does not exist, its value can be inferred to be equal to 0. The base-2 logarithm of the minimum size in units of luminance samples of a chromaticity leaf block resulting from a QT partition of a CTU with a treeType equal to DUAL_TREE_CHROMA can be derived as follows: that is, MinQtLog2SizeIntraC= sps_log2_diff_min_qt_min_cb_intra_slice_chroma+MinCbLog2SizeY (10) Sps_max_mtt_hierarchy_depth_intra_slice_chroma can specify the default maximum hierarchy depth for chromaticity coding units resulting from a multi-type tree partition of chromaticity quadtree leaves with treeType equal to DUAL_TREE_CHROMA in slices with slice_type equal to 2 (indicating an I slice) that reference the SPS. If partition_constraints_override_enabled_flag is equal to 1, the default maximum hierarchy depth may be overridden by pic_max_mtt_hierarchy_depth_chroma present in the PH that references the SPS. The value of Sps_max_mtt_hierarchy_depth_intra_slice_chroma can be in the range of 0 to 2 × (CtbLog2SizeY - MinCbLog2SizeY) (including endpoints). If Sps_max_mtt_hierarchy_depth_intra_slice_chroma does not exist, it can be inferred that the value of Sps_max_mtt_hierarchy_depth_intra_slice_chroma is equal to 0.

[0163] sps_log2_diff_max_bt_min_qt_intra_slice_chroma can specify the default difference between the base-2 logarithm of the maximum size (width or height) in units of luminance samples of chromaticity coding blocks that can be partitioned using binary partitioning in a slice with slice_type equal to 2 (indicating an I slice) that references the SPS, and the base-2 logarithm of the minimum size (width or height) in units of luminance samples of chromaticity leaf blocks resulting from QT partitioning of chromaticity CTUs with treeType equal to DUAL_TREE_CHROMA. If partition_constraints_override_enabled_flag is equal to 1, the default difference may be overridden by pic_log2_diff_max_bt_min_qt_chroma present in the PH that references the SPS. The value of sps_log2_diff_max_bt_min_qt_intra_slice_chroma can be within the range of 0 to CtbLog2SizeY–MinQtLog2SizeIntraC (including endpoints). If sps_log2_diff_max_bt_min_qt_intra_slice_chroma does not exist, its value can be inferred to be equal to 0.

[0164] sps_log2_diff_max_tt_min_qt_intra_slice_chroma can specify the default difference between the base-2 logarithm of the maximum size (width or height) in units of luminance samples of chromaticity coding blocks that can be partitioned using terminally partitioning in a slice with slice_type equal to 2 (indicating an I-slice) that references the SPS, and the base-2 logarithm of the minimum size (width or height) in units of luminance samples of chromaticity leaf blocks resulting from a quad-tree partition of chromaticity CTUs with treeType equal to DUAL_TREE_CHROMA. If partition_constraints_override_enabled_flag is equal to 1, the default difference may be overridden by pic_log2_diff_max_tt_min_qt_chroma present in the PH that references the SPS. The value of sps_log2_diff_max_tt_min_qt_intra_slice_chroma can be within the range of 0 to CtbLog2SizeY–MinQtLog2SizeIntra (including endpoints). If sps_log2_diff_max_tt_min_qt_intra_slice_chroma does not exist, its value can be inferred to be equal to 0.

[0165] A sps_max_luma_transform_size_64_flag value equal to 1 specifies that the maximum transformation size in units of luminance samples is equal to 64. A sps_max_luma_transform_size_64_flag value equal to 0 specifies that the maximum transformation size in units of luminance samples is equal to 32. If CtbSizeY is less than 64, the value of sps_max_luma_transform_size_64_flag can be set to equal to 0.

[0166] The variables MinTbLog2SizeY, MaxTbLog2SizeY, MinTbSizeY, and MaxTbSizeY can be derived as follows: MinTbLog2SizeY=2 (11) MaxTbLog2SizeY=sps_max_luma_transform_size_64_flag?6:5 (12) MinTbSizeY=1< <MinTbLog2SizeY (13) MaxTbSizeY=1< <MaxTbLog2SizeY (14) pic_log2_diff_min_qt_min_cb_intra_slice_chroma can specify the default difference between the base-2 logarithm of the minimum size in units of luminance samples of a chromatic leaf block resulting from a QT partition of chromaticity CTU with treeType equal to DUAL_TREE_CHROMA in a slice with slice_type equal to 2 (indicating an I slice) associated with the PH, and the base-2 logarithm of the minimum encoded block size in units of luminance samples for chromaticity CU with treeType equal to DUAL_TREE_CHROMA. The value of pic_log2_diff_min_qt_min_cb_intra_slice_chroma can be within the range of 0 to CtbLog2SizeY–MinCbLog2SizeY (including endpoints). If pic_log2_diff_min_qt_min_cb_intra_slice_chroma does not exist, it can be inferred that the value of pic_log2_diff_min_qt_min_cb_intra_slice_chroma is equal to 0.

[0167] The `slice_type` parameter can specify the coding type of the slice according to Table 3 in Figure 23. For example, `slice_type` values ​​from 0 to 2 correspond to B slices, P slices, and I slices, respectively.

[0168] If nal_unit_type is a value within the range of IDR_W_RADL to CRA_NUT (including endpoints), and the current image is the first image in the access unit, then slice_type may be equal to 2.

[0169] The variables MinQtLog2SizeY, MinQtLog2SizeC, MinQtSizeY, MinQtSizeC, MaxBtSizeY, MaxBtSizeC, MinBtSizeY, MaxTtSizeY, MaxTtSizeC, MinTtSizeY, MaxMttDepthY, and MaxMttDepthC can be derived as follows: MinQtSizeY=1< <MinQtLog2SizeY (15) MinQtSizeC=1< <MinQtLog2SizeC (16) MinBtSizeY=1< <MinCbLog2SizeY (17) MinTtSizeY=1< <MinCbLog2SizeY (18) If slice_type is equal to 2 (I slice), MinQtLog2SizeY=MinCbLog2SizeY+ pic_log2_diff_min_qt_min_cb_intra_slice_luma (19) MinQtLog2SizeC=MinCbLog2SizeC+ pic_log2_diff_min_qt_min_cb_intra_slice_chroma (20) MaxBtSizeY=1<<(MinQtLog2SizeY+ pic_log2_diff_max_bt_min_qt_intra_slice_luma) (21) MaxBtSizeC=1<<(MinQtLog2SizeC+ pic_log2_diff_max_bt_min_qt_intra_slice_chroma) (22) MaxTtSizeY=1<<(MinQtLog2SizeY+ pic_log2_diff_max_tt_min_qt_intra_slice_luma) (23) MaxTtSizeC=1<<(MinQtLog2SizeC+ pic_log2_diff_max_tt_min_qt_intra_slice_chroma) (24) MaxMttDepthY=pic_max_mtt_hierarchy_depth_intra_slice_luma (25) MaxMttDepthC=pic_max_mtt_hierarchy_depth_intra_slice_chromaa (26) CuQpDeltaSubdiv=pic_cu_qp_delta_subdiv_intra_slice (27) CuChromaQpOffsetSubdiv= pic_cu_chroma_qp_offset_subdiv_intra_slice (28) Otherwise (slice_type is equal to 0 (B slice) or 1 (P slice)), MinQtLog2SizeY=MinCbLog2SizeY+ pic_log2_diff_min_qt_min_cb_inter_slice (29) MinQtLog2SizeC=MinCbLog2SizeC+ pic_log2_diff_min_qt_min_cb_inter_slice (30) MaxBtSizeY=1<<(MinQtLog2SizeY+ pic_log2_diff_max_bt_min_qt_inter_slice) (31) MaxBtSizeC=1<<(MinQtLog2SizeC+ pic_log2_diff_max_bt_min_qt_inter_slice) (32) MaxTtSizeY=1<<(MinQtLog2SizeY+ pic_log2_diff_max_tt_min_qt_inter_slice) (33) MaxTtSizeC=1<<(MinQtLog2SizeC+ pic_log2_diff_max_tt_min_qt_inter_slice) (34) MaxMttDepthY=pic_max_mtt_hierarchy_depth_inter_slice (35) MaxMttDepthC=pic_max_mtt_hierarchy_depth_inter_slice (36) CuQpDeltaSubdiv=pic_cu_qp_delta_subdiv_inter_slice (37) CuChromaQpOffsetSubdiv= pic_cu_chroma_qp_offset_subdiv_inter_slice (38) Intra-frame chromaticity prediction can be disabled for specific chromaticity block sizes, such as 2×N.

[0170] In one embodiment, blocks within a 2×N chromaticity frame in both dual-tree and single-tree configurations may be removed as described below. In a dual-tree configuration, 2×N chromaticity within a frame may be limited by disabling certain partitions. For example, binary and ternary tree partitions are prohibited for blocks with widths of 4 and 8, respectively.

[0171] To eliminate 2×N in a single tree, two restrictions may be used: a restriction on the extension of local dual trees and a restriction on combined inter-frame merge / intra-frame prediction (CIIP) for 2×N chromaticity.

[0172] In the first restriction, if the partition width is 4 and the division is binary vertical division, or if the width is 8 and the division is ternary vertical division, the chromaticity component may be processed as SCIPU. According to the principle restrictions of SCIPU, the chromaticity component is not divided within a frame SCIPU (all luminance blocks are encoded using non-interframe mode, and undivided chromaticity blocks are encoded using intraframe mode). For interframe SCIPU (all luminance and chromaticity blocks are encoded using interframe mode), the division of the chromaticity component may be inherited from the luminance component.

[0173] In the second limitation, for example, for a 4×N CIIP block, the CIIP is used only for the luminance component. On the other hand, interframe prediction is used only for the chromaticity component.

[0174] The above limitation ensures that the width of the intraframe chromaticity block is 4 or greater, and therefore, intraframe processes of 2 × N pixels can be eliminated. This limitation makes the video codec implementation suitable for hardware implementation from a pipeline management perspective.

[0175] The following describes an example of a partition availability-related process in VVC.

[0176] In one embodiment, a permitted quad partitioning process will be described below. The inputs to the permitted quad partitioning process may include the following, namely, Encoded block size (or cbSize) in units of luminance samples, MTT depth (or mttDepth), The variable tree type (or treeType) specifies whether to use a single tree (or SINGLE_TREE) or a dual tree to partition the coding tree node, and if a dual tree is used, whether luminance (DUAL_TREE_LUMA) or chromaticity (DUAL_TREE_CHROMA) components are currently being processed. The variable mode type (also called the predictive mode type, e.g., modeType) specifies whether the coding units within the coding tree node can use in-frame mode (or in-frame predictive mode, MODE_INTRA), IBC mode (or MODE_IBC), and inter-frame coding modes (MODE_TYPE_ALL), or only in-frame and IBC coding modes (MODE_TYPE_INTRA), or only inter-frame coding modes (MODE_TYPE_INTER). For example, MODE_TYPE_ALL indicates that in-frame, IBC, and inter-frame coding modes can be used.

[0177] The coding block size (or cbSize) in units of luminance samples can represent the block size of a chromaticity coding block (or chromaticity block) that has luminance samples. Therefore, the block size of a chromaticity coding block in units of chromaticity samples can be determined based on the coding block size (or cbSize) in units of luminance samples and the corresponding chromaticity subsampling rate, for example, the chromaticity horizontal subsampling rate or the chromaticity subsampling rate in the horizontal direction (e.g., SubWidthC). For example, for a chromaticity format of 4:2:0, the coding block size (or cbSize) in units of luminance samples is 16, so when expressed using luminance samples as the unit, the block size of the chromaticity coding block is 16, and when expressed using chromaticity samples as the unit, the block size of the chromaticity coding block is 8.

[0178] In one example, the coding block size cbSize is set to be equal to the width of the coding block size in units of luminance samples (cbWidth). For example, for a chromaticity format of 4:2:2, the width of the coding block size in units of luminance samples is 16 luminance samples, and the chromaticity horizontal subsampling rate (SubWidthC) is 2. Therefore, the block size of the chromaticity coding block may be 16 in units of luminance samples, or 16 / 2 (or 8) in units of chromaticity samples. Furthermore, for a chromaticity format of 4:2:2, the height of the coding block size in units of luminance samples is 16 luminance samples, and the chromaticity vertical subsampling rate (SubHeightC) is 1. Therefore, the height of the chromaticity coding block may be 16 in units of luminance samples, or 16 in units of chromaticity samples.

[0179] The output of an allowed quad splitting process may include a variable `allowSplitQt` indicating whether QT splitting is allowed (e.g., `allowSplitQt` is true) or not (e.g., `allowSplitQt` is false). The variable `allowSplitQt` can be derived as follows: i.e., If one or more of the following conditions (also known as the conditions for QT splitting) are true, the variable allowSplitQt may be set to FALSE, and QT splitting is not allowed, i.e., (a) treeType is equal to SINGLE_TREE or DUAL_TREE_LUMA, and cbSize is less than or equal to MinQtSizeY.

[0180] (b) treeType is equal to DUAL_TREE_CHROMA and cbSize / SubWidthC is less than or equal to MinQtSizeC.

[0181] (c) mttDepth is not equal to 0.

[0182] (d) treeType is equal to DUAL_TREE_CHROMA and (cbSize / SubWidthC) is 4 or less.

[0183] (e) treeType is equal to DUAL_TREE_CHROMA and modeType is less than or equal to MODE_TYPE_INTRA.

[0184] In the exception of that case, allowSplitQt can be set to TRUE. Therefore, Qt splitting may be allowed.

[0185] In various examples, certain conditions such as (b), (d), and (e) above include the condition that treeType is equal to DUAL_TREE_CHROMA, and therefore conditions (b), (d), and (e) can be true when QT splitting is applied to chromaticity blocks, but cannot be true when QT splitting is applied to luminance blocks. Thus, conditions (b), (d), and (e) for QT splitting may be called conditions for chromatic QT splitting.

[0186] One or more of conditions (a) through (e) may be changed and / or omitted. Additional conditions may be added to conditions (a) through (e).

[0187] In one example, the coding tree semantics include a variable called allowSplitQt, which can be derived as follows: The allowed quad splitting process can be called using the coding block size cbSize (e.g., in units of luminance samples) set to cbWidth, the current multitype tree depth mttDepth, treeTypeCurr, and modeTypeCurr as inputs. The output can be assigned to allowSplitQt.

[0188] In one embodiment, the permitted binary partitioning process is described as follows. The input to the permitted binary partitioning process is: Binary split mode (or btSplit), The coded block width (or cbWidth) in units of luminance samples, The encoded block height (or cbHeight) in units of luminance samples, The position (x0, y0) of the top-left luminance sample of the considered encoded block relative to the top-left luminance sample of the image, Multitype tree depth (or mttDepth), The maximum multi-type tree depth (or maxMttDepth) with an offset, The maximum binary tree size (or maxBtSize), The minimum QT size (or minQtSize), Partition index (or partIdx), The variable tree type (or treeType) specifies whether to partition the encoding tree node using a single tree (SINGLE_TREE) or a dual tree, and if a dual tree is used, whether the luminance (DUAL_TREE_LUMA) or chromaticity (DUAL_TREE_CHROMA) component is currently processed. The encoding tree node may include a variable mode type (or modeType) that specifies whether the encoding unit can use in-frame (MODE_INTRA), IBC (MODE_IBC), and inter-frame coding modes (MODE_TYPE_ALL), or whether it can use only in-frame and IBC coding modes (MODE_TYPE_INTRA), or whether it can use only inter-frame coding mode (MODE_TYPE_INTER).

[0189] The output of an permitted binary splitting process may include the variable `allowBtSplit`.

[0190] In one example, the variables parallelTtSplit and cbSize are derived based on the variable btSplit, as shown in Table 4 (Figure 24).

[0191] The variable allowBtSplit can be derived as follows: The variable allowBtSplit may be set to FALSE if one or more of the following conditions are true: cbSize is less than or equal to MinBtSizeY.

[0192] cbWidth is greater than maxBtSize.

[0193] cbHeight is greater than maxBtSize.

[0194] mttDepth is greater than or equal to maxMttDepth.

[0195] The treeType is equal to DUAL_TREE_CHROMA, and (cbWidth / SubWidthC) × (cbHeight / SubHeightC) is 16 or less.

[0196] treeType is equal to DUAL_TREE_CHROMA, (cbWidth / SubWidthC) is equal to 4, and btSplit is equal to SPLIT_BT_VER.

[0197] treeType is equal to DUAL_TREE_CHROMA and modeType is equal to MODE_TYPE_INTRA.

[0198] cbWidth × cbHeight is equal to 32, and modeType is equal to MODE_TYPE_INTER.

[0199] Otherwise, the variable allowBtSplit may be set to FALSE if all of the following conditions are true: btSplit is equal to SPLIT_BT_VER.

[0200] y0+cbHeight is greater than pic_height_in_luma_samples.

[0201] Otherwise, the variable allowBtSplit can be set to FALSE if all of the following conditions are true, i.e., btSplit is equal to SPLIT_BT_VER.

[0202] cbHeight is greater than 64.

[0203] x0 + cbWidth is greater than pic_width_in_luma_samples

[0204] Otherwise, the variable allowBtSplit may be set to FALSE if all of the following conditions are true: btSplit is equal to SPLIT_BT_HOR.

[0205] cbWidth is greater than 64.

[0206] y0+cbHeight is greater than pic_height_in_luma_samples.

[0207] Otherwise, the variable allowBtSplit can be set to FALSE if all of the following conditions are true: x0 + cbWidth is greater than pic_width_in_luma_samples

[0208] y0+cbHeight is greater than pic_height_in_luma_samples.

[0209] cbWidth is greater than minQtSize.

[0210] Otherwise, the variable allowBtSplit may be set to FALSE if all of the following conditions are true: btSplit is equal to SPLIT_BT_HOR.

[0211] x0 + cbWidth is greater than pic_width_in_luma_samples

[0212] y0+cbHeight is less than or equal to pic_height_in_luma_samples.

[0213] Otherwise, the variable allowBtSplit may be set to FALSE if all of the following conditions are true: mttDepth is greater than 0.

[0214] partIdx is equal to 1.

[0215] MttSplitMode[x0][y0][mttDepth-1] is equal to parallelTtSplit

[0216] Otherwise, the variable allowBtSplit may be set to FALSE if all of the following conditions are true: btSplit is equal to SPLIT_BT_VER.

[0217] cbWidth is 64 or less.

[0218] cbHeight is greater than 64.

[0219] Otherwise, the variable allowBtSplit may be set to FALSE if all of the following conditions are true: btSplit is equal to SPLIT_BT_HOR.

[0220] cbWidth is greater than 64.

[0221] cbHeight is 64 or less.

[0222] Otherwise, the variable allowBtSplit can be set to TRUE.

[0223] In one embodiment, the permitted ternary partitioning process is described as follows: The input to the permitted ternary partitioning process is: Ternary split mode (or ttSplit), The coded block width (or cbWidth) in units of luminance samples, The encoded block height (or cbHeight) in units of luminance samples, The position (x0, y0) of the top-left luminance sample of the considered encoded block relative to the top-left luminance sample of the image, Multitype tree depth (or mttDepth), The maximum multi-type tree depth (or maxMttDepth) with an offset, The maximum ternary tree size (or maxTtSize), The variable tree type (or treeType) specifies whether to partition the encoding tree node using a single tree (SINGLE_TREE) or a dual tree, and if a dual tree is used, whether the luminance (DUAL_TREE_LUMA) or chromaticity (DUAL_TREE_CHROMA) component is currently processed. The encoding tree node may include a variable mode type (or modeType) that specifies whether the encoding unit can use in-frame (MODE_INTRA), IBC (MODE_IBC), and inter-frame coding modes (MODE_TYPE_ALL), or whether it can use only in-frame and IBC coding modes (MODE_TYPE_INTRA), or whether it can use only inter-frame coding mode (MODE_TYPE_INTER).

[0224] The output of an permitted ternary splitting process may include the variable `allowTtSplit`.

[0225] In one example, the variable cbSize is derived based on the variable ttSplit, as shown in Table 5 (Figure 25).

[0226] The variable allowTtSplit can be derived as follows: that is, The variable allowTtSplit may be set to FALSE if one or more of the following conditions are true: cbSize is less than or equal to 2 × MinTtSizeY.

[0227] cbWidth is greater than Min(64, maxTtSize).

[0228] cbHeight is greater than Min(64, maxTtSize).

[0229] mttDepth is greater than or equal to maxMttDepth.

[0230] x0 + cbWidth is greater than pic_width_in_luma_samples

[0231] y0+cbHeight is greater than pic_height_in_luma_samples.

[0232] The treeType is equal to DUAL_TREE_CHROMA, and (cbWidth / SubWidthC) × (cbHeight / SubHeightC) is 32 or less.

[0233] treeType is equal to DUAL_TREE_CHROMA, (cbWidth / SubWidthC) is equal to 8, and ttSplit is equal to SPLIT_TT_VER.

[0234] treeType is equal to DUAL_TREE_CHROMA, and modeType is equal to MODE_TYPE_INTRA.

[0235] cbWidth×cbHeight is equal to 64, and modeType is equal to MODE_TYPE_INTER.

[0236] In other cases, the variable allowTtSplit may be set to TRUE.

[0237] The derivation process for the availability of adjacent blocks can be described as follows.

[0238] Inputs to the derivation process for the availability of adjacent blocks may include the luma position (xCurr, yCurr) of the top-left sample of the current block relative to the top-left luma sample of the current image, the luma position (xNbY, yNbY) covered by the adjacent block relative to the top-left luma sample of the current image, the variable checkPredModeY that specifies whether the availability depends on the prediction mode, and the variable cIdx that specifies the color component of the current block.

[0239] The output of the derivation process may include the availability of the adjacent block covering the position (xNbY, yNbY), denoted as availableN. The availability of the adjacent block (or availableN) may be derived as follows, that is, If one or more of the following conditions are true, availableN may be set to FALSE, that is, xNbY is less than 0.

[0240] yNbY is less than 0.

[0241] xNbY is greater than or equal to pic_width_in_luma_samples.

[0242] yNbY is greater than or equal to pic_height_in_luma_samples.

[0243] IsAvailable[cIdx][xNbY][yNbY] is equal to FALSE.

[0244] The adjacent block is located in a different slice than the current block.

[0245] The adjacent block is located on a different tile than the current block.

[0246] entropy_coding_sync_enabled_flag is equal to 1, and (xNbY>>CtbLog2SizeY) is greater than or equal to (xCurr>>CtbLog2SizeY)+1.

[0247] Otherwise, the variable availableN can be set to TRUE.

[0248] The variable availableN can be set to FALSE if all of the following conditions are true, i.e., checkPredModeY is equal to TRUE.

[0249] CuPredMode[0][xNbY][yNbY] is not equal to CuPredMode[0][xCurr][yCurr].

[0250] As described above, one of the conditions for QT partitioning (i.e., condition (b)) includes a check to see if cbSize / SubWidthC is less than or equal to the minimum acceptable chromaticity QT leaf node size (e.g., MinQtSizeC). cbSize may be the encoded block size of the chromaticity block in units of luminance samples, and SubWidthC may be the horizontal chromaticity subsampling coefficient (or chromaticity subsampling coefficient in the horizontal direction). In some examples, cbSize / SubWidthC corresponds to the width of the chromaticity block in units of chromaticity samples. If the chromaticity format is 4:2:2, the horizontal and vertical subsampling may be different, so the width of the chromaticity block in units of chromaticity samples may be less than the height of the chromaticity block in units of chromaticity samples. Therefore, using cbSize / SubWidthC being less than or equal to MinQtSizeC as a condition to disable (or prohibit) QT partitioning may have a higher chance of disabling chromatic QT partitioning than cbSize being equal to MinQtSizeC, for example, in some cases, coding performance to the chromatic component may be reduced when cbSize is equal to MinQtSizeC.

[0251] To allow for more QT divisions, the above condition (b) for chromatic QT division may be modified. According to each aspect of the present disclosure, the modified condition (b) may compare the chromatic block height (or height of the chromatic block) with the minimum allowable chromatic QT leaf node size (also called the minimum allowable chromatic block size for QT division) (MinQtSizeC).

[0252] According to each aspect of this disclosure, the permitted quad partitioning process described above may be modified by modifying condition (b) without changing the other conditions (e.g., conditions (a), and (c) to (e)). The modified condition (e.g., expressed as condition (b')) may be described as follows: namely, (b') TreeType is equal to DUAL_TREE_CHROMA, and cbSize / SubHeightC is less than or equal to MinQtSizeC.

[0253] The input of the allowed quad split process may remain the same as described above, and the derivation of the output of the allowed quad split process (e.g., the variable allowSplitQt) may be updated as follows. That is, If one or more of the following conditions are true, the variable allowSplitQt may be set to FALSE. QT split is not allowed, that is, (a) treeType is equal to SINGLE_TREE or DUAL_TREE_LUMA, and cbSize is less than or equal to MinQtSizeY.

[0254] (b') treeType is equal to DUAL_TREE_CHROMA, and cbSize / SubHeightC is less than or equal to MinQtSizeC.

[0255] (c) mttDepth is not equal to 0.

[0256] (d) treeType is equal to DUAL_TREE_CHROMA, and (cbSize / SubWidthC) is less than or equal to 4.

[0257] (e) treeType is equal to DUAL_TREE_CHROMA, and modeType is equal to MODE_TYPE_INTRA.

[0258] Otherwise, allowSplitQt may be set to TRUE. Therefore, QT split may be allowed.

[0259] In one embodiment, the unit of the minimum allowed chroma QT leaf node size (e.g., MinQtSizeC) is in units of chroma samples.

[0260] According to each aspect of this disclosure, partition information can be decoded from an encoded video bitstream. The partition information can indicate, for example, that in a CTU, a separate encoded tree structure can be used to partition the chromaticity components (e.g., chromaticity CTBs) and the corresponding luminance components (e.g., luminance CTBs). The partition information can indicate that a dual tree is used, and that the chromaticity encoded tree structure in the dual tree (e.g., indicated by DUAL_TREE_CHROMA) can be applied to the chromaticity blocks in a CTU, for example. Thus, in one example, treeType is equal to DUAL_TREE_CHROMA. The partition information can further indicate the block size of the chromaticity blocks in units of luminance samples (e.g., cbSize), the chromaticity vertical subsampling coefficient (e.g., SubHeightC), and the minimum allowable chromaticity quadtree (QT) leaf node size (e.g., MinQtSizeC). Whether or not QT partitioning is permitted for a chromaticity block can be determined based on at least the block size of the chromaticity block in units of luminance samples, the chromaticity vertical subsampling coefficient, and the minimum allowable chromaticity QT leaf node size. In response to the disallowance of QT partitioning for a chromaticity block, it can be determined whether or not at least one of binary tree partitioning and ternary tree partitioning is permitted for the chromaticity block.

[0261] In one embodiment, the partition information may further indicate that the minimum permissible chromaticity QT leaf node size (e.g., MinQtSizeC) is in units of chromaticity samples. If the value obtained by dividing the block size of a chromaticity block in units of luminance samples by the chromaticity vertical subsampling coefficient is less than or equal to the minimum permissible chromaticity QT leaf node size in units of chromaticity samples (e.g., cbSize / SubHeightC is less than or equal to MinQtSizeC in units of chromaticity samples), it may be determined that QT partitioning is not permitted for the chromaticity block.

[0262] In one example, the block size of a chromaticity block in units of luminance samples divided by the vertical chromaticity subsampling coefficient is the height of the chromaticity block in units of chromaticity samples. In response to the height of the chromaticity block in units of chromaticity samples being less than or equal to the minimum allowable chromaticity QT leaf node size in units of chromaticity samples (e.g., cbSize / SubHeightC is less than or equal to MinQtSizeC in units of chromaticity samples), QT partitioning or QT partitioning for chromaticity blocks may not be permitted. Thus, in one example, the modified condition (b') may be used in a permitted quad partitioning process.

[0263] Other conditions (e.g., one or more of conditions (a), and (c)-(e)) may be further checked to determine whether QT partitioning is prohibited or permitted. In one embodiment, the partition information may further indicate one or more of the following: a horizontal chromaticity subsampling coefficient (e.g., SubWidthC), an MTT depth (e.g., mttDepth) indicating whether the chromaticity block is an MTT node from an MTT partition, and a predictive mode type (e.g., modeType) for the chromaticity block. Whether QT partitioning is permitted for a chromaticity block may be determined based on the block size of the chromaticity block in units of luminance samples, a vertical chromaticity subsampling coefficient, a minimum allowable chromaticity QT leaf node size in units of chromaticity samples, and one or more of the horizontal chromaticity subsampling coefficient, MTT depth, and predictive mode type.

[0264] For example, in response to the height of the chromaticity block in units of chromaticity samples, if, for instance, the value obtained by dividing the block size of the chromaticity block in units of luminance samples by the vertical chromaticity subsampling factor is greater than the minimum allowable chromaticity QT leaf node size in units of chromaticity samples, then one or more of the other conditions may be further checked in the permitted quad splitting process. Whether or not QT splitting is permitted for a chromaticity block may be determined based on one or more of the block size of the chromaticity block in units of luminance samples, the horizontal chromaticity subsampling factor, the MTT depth, and the prediction mode type.

[0265] In one example, the chromaticity coding tree structure in a dual tree (e.g., indicated by DUAL_TREE_CHROMA or by treeType equal to DUAL_TREE_CHROMA) is applied to a chromaticity block, and it is determined that the height of the chromaticity block in units of chromaticity samples is greater than the minimum allowable chromaticity QT leaf node size in units of chromaticity samples. Therefore, whether or not QT partitioning is permitted for a chromaticity block can be further determined based on the block size of the chromaticity block in units of luminance samples, the chromaticity horizontal subsampling coefficient, the MTT depth, and the prediction mode type. For example, QT splitting is not allowed for a chromaticity block (e.g., allowSplitQt is set to FALSE) if at least one of the following conditions is true: (c) the MTT depth is equal to 0 (e.g., indicating that the chromaticity block is an MTT node), (d') the width of the chromaticity block in units of chromaticity samples (e.g., cbSize / SubWidthC) is 4 or less, and (e') the prediction mode type (e.g., modeType) is MODE_TYPE_INTRA, indicating that in-frame prediction mode (or in-frame mode) and IBC mode are allowed. If conditions (c) and (d')~(e') are false, and the height of the chromaticity block in units of chromaticity samples is greater than the minimum allowable chromaticity QT leaf node size in units of chromaticity samples, then QT splitting may be determined to be allowed. treeType equal to conditions (d')~(e') and DUAL_TREE_CHROMA corresponds to conditions (d)~(e), respectively.

[0266] In general, partition size-related variables used in structures such as single trees (e.g., SINGLE_TREE for luminance and chromaticity components (multiple) (selectable)), luminance coding tree structures (e.g., dual tree for luminance components, or DUAL_TREE_LUMA), and / or chromaticity coding tree structures (e.g., dual tree for chromaticity components, or DUAL_TREE_CHROMA) may be specified using luminance samples or chromaticity samples, and it may not always be clear whether luminance samples or chromaticity samples are used to specify the partition size-related variables. It is advantageous to specify whether the chromaticity partition size-related variables have units in luminance samples or chromaticity samples.

[0267] In one embodiment, the unit of luminance samples may be used to describe chromaticity block size or chromaticity partition size related variables, for example, in a chromaticity coding tree structure (e.g., DUAL_TREE_CHROMA). For example, the minimum allowable chromaticity QT leaf node size (e.g., MinQtSizeC) can be described in units of luminance samples. The corresponding block size, in units of chromaticity samples, can be derived according to the chromaticity subsampling ratios (e.g., SubWidthC and SubHeightC) in Table 1.

[0268] For example, if the chromaticity format is 4:2:2, the variable MinQtSizeC (or minimum allowable chromaticity QT leaf node size), which is measured in luminance samples, corresponds to MinQtSizeC / SubWidthC (or MinQtSizeC / 2), which is measured in chromaticity samples, because SubWidthC is 2. Therefore, if the variable MinQtSizeC, which is measured in luminance samples, is 16 (luminance samples), then the minimum allowable chromaticity QT leaf node size is either 16 (luminance samples) or 8 (chromaticity samples).

[0269] When the chromaticity format is 4:4:4, the variable MinQtSizeC, which is measured in luminance samples, corresponds to MinQtSizeC / SubWidthC, which is measured in chromaticity samples. Since SubWidthC is 1, it is equal to MinQtSizeC measured in chromaticity samples.

[0270] In one embodiment, when an in-frame dual tree is used, the variable mode type (e.g., modeType) may be one or more of MODE_INTRA (indicating that an in-frame mode is available), MODE_IBC (indicating that an IBC mode is available), or MODE_TYPE_INTRA (indicating that both in-frame and IBC modes are available). In one example, when an in-frame dual tree is used, the variable mode type (e.g., modeType) may be any suitable non-inter-frame prediction mode.

[0271] The minimum acceptable chromaticity coding block size may be smaller than the minimum acceptable luminance coding block size. Partition information can indicate the minimum acceptable chromaticity coding block size in units of luminance samples, and the minimum acceptable luminance coding block size in units of luminance samples. The minimum acceptable chromaticity coding block size in units of luminance samples may be smaller than the minimum acceptable luminance coding block size in units of luminance samples.

[0272] The minimum allowable chromaticity QT leaf node size may be smaller than the minimum allowable luminance QT leaf node size. Partition information may indicate the minimum allowable luminance QT leaf node size in units of luminance samples. The minimum allowable chromaticity QT leaf node size in units of luminance samples for which QT partitioning of the CTU is permitted may be smaller than the minimum allowable luminance QT leaf node size in units of luminance samples (or the minimum luminance leaf block size resulting from the QT partitioning of the CTU).

[0273] According to each aspect of this disclosure, the chromaticity partitioning unit size, such as the minimum allowable chromaticity QT leaf node size (e.g., MinQtSizeC), may be described in units of luminance samples. The permitted quad partitioning process for the above chromaticity block may be modified by modifying condition (b) without changing the other conditions (e.g., conditions (a), and (c) to (e)). The modified condition (represented as condition (b'')) may be described as follows: namely, (b'')treeType is equal to DUAL_TREE_CHROMA and cbSize is less than or equal to MinQtSizeC.

[0274] Here, cbSize is the block size of the chromaticity block in units of luminance samples, and MinQtSizeC is also in units of luminance samples.

[0275] The inputs to the permitted quad split process may remain the same as above, and the derivation of the output of the permitted quad split process (e.g., the variable allowSplitQt) may be updated as follows: that is, The variable `allowSplitQt` may be set to `FALSE` if one or more of the following conditions are true, and Qt splitting is not allowed, i.e., (a) treeType is equal to SINGLE_TREE or DUAL_TREE_LUMA, and cbSize is less than or equal to MinQtSizeY.

[0276] (b'')treeType is equal to DUAL_TREE_CHROMA and cbSize is less than or equal to MinQtSizeC.

[0277] (c) mttDepth is not equal to 0.

[0278] (d) treeType is equal to DUAL_TREE_CHROMA and (cbSize / SubWidthC) is 4 or less.

[0279] (e) treeType is equal to DUAL_TREE_CHROMA and modeType is equal to MODE_TYPE_INTRA.

[0280] Otherwise, allowSplitQt can be set to TRUE. Therefore, Qt splitting may be allowed.

[0281] According to each aspect of the present disclosure, partition information can be decoded from an encoded video bitstream. The partition information may indicate that a chromaticity encoding tree structure in a dual tree (e.g., DUAL_TREE_CHROMA, or treeType equals DUAL_TREE_CHROMA) is applied to a chromaticity block. The partition information may further indicate the block size of the chromaticity block in units of luminance samples (e.g., cbSize) and the minimum allowable chromaticity QT leaf node size in units of luminance samples (e.g., MinQtSizeC). It may be determined whether the block size of the chromaticity block in units of luminance samples is less than or equal to the minimum allowable chromaticity QT leaf node size in units of luminance samples. In response to the block size of the chromaticity block in units of luminance samples being less than or equal to the minimum allowable chromaticity QT leaf node size in units of luminance samples, it may be determined that QT partitioning is not permitted for the chromaticity block.

[0282] For example, the partition information may further indicate the MTT depth (e.g., mttDepth) indicating whether the chromaticity block is an MTT node from an MTT partition, the chromaticity horizontal subsampling coefficient (e.g., SubWidthC), and the predicted mode type for the chromaticity block (e.g., modeType). If the block size of the chromaticity block in units of luminance samples is greater than the minimum allowable chromaticity QT leaf node size in units of luminance samples, it may be determined that QT partitioning is not allowed for the chromaticity block based on the following conditions being true: (c) the MTT depth is not equal to 0 (indicating that the chromaticity block is an MTT node), (d') the value obtained by dividing the block size of the chromaticity block in units of luminance samples by the chromaticity horizontal subsampling coefficient is 4 or less (or cbSize / SubWidthC ≤ 4), and (e') the predicted mode type (or modeType) is MODE_TYPE_INTRA (indicating that in-frame mode and IBC mode are allowed). In one example, it may be determined that QT partitioning is permitted based on the fact that conditions (c), (d'), and (e') are false.

[0283] According to each aspect of this disclosure, the chromaticity partitioning unit size, such as the minimum allowable chromaticity QT leaf node size (e.g., MinQtSizeC), may be described in units of luminance samples. The permitted quad partitioning process for the above chromaticity block may be modified by modifying condition (b) without changing the other conditions (e.g., conditions (a), and (c) to (e)). The modified condition (represented as condition (b''')) may be described as follows: namely, (b''')treeType is equal to DUAL_TREE_CHROMA, and cbSize is less than or equal to (MinQtSizeC × SubHeightC / SubWidthC).

[0284] The inputs to the allowed quad split process may remain the same as above, and the derivation of the output of the allowed quad split process (e.g., the variable allowSplitQt) may be updated as follows:

[0285] The variable `allowSplitQt` may be set to `FALSE` if one or more of the following conditions are true, and Qt splitting is not allowed, i.e., (a) treeType is equal to SINGLE_TREE or DUAL_TREE_LUMA, and cbSize is less than or equal to MinQtSizeY.

[0286] (b''')treeType is equal to DUAL_TREE_CHROMA, and cbSize is less than or equal to (MinQtSizeC × SubHeightC / SubWidthC).

[0287] (c) mttDepth is not equal to 0.

[0288] (d) treeType is equal to DUAL_TREE_CHROMA and (cbSize / SubWidthC) is 4 or less.

[0289] (e) treeType is equal to DUAL_TREE_CHROMA and modeType is equal to MODE_TYPE_INTRA.

[0290] Otherwise, allowSplitQt can be set to TRUE. Therefore, Qt splitting may be allowed.

[0291] The following describes the above modifications including condition (b'''). As described above, in one embodiment, partition information can be decoded from the encoded video bitstream. Partition information can indicate that a chromaticity encoding tree structure in a dual tree (e.g., indicated by DUAL_TREE_CHROMA) can be applied to a chromaticity block. Partition information can further indicate the block size of the chromaticity block in units of luminance samples (e.g., cbSize), the chromaticity vertical subsampling coefficient (e.g., SubHeightC), and the minimum acceptable chromaticity quad-tree (QT) leaf node size (e.g., MinQtSizeC). Whether QT partitioning is not permitted for a chromaticity block can be determined based on at least the block size of the chromaticity block in units of luminance samples, the chromaticity vertical subsampling coefficient, and the minimum acceptable chromaticity QT leaf node size. In response to QT partitioning not being permitted for a chromaticity block, it can be determined whether at least one of binary tree partitioning and ternary tree partitioning is not permitted for the chromaticity block. In one example, the partition information further indicates the horizontal chromaticity subsampling coefficient (e.g., SubWidthC) and the minimum acceptable chromaticity QT leaf node size (e.g., MinQtSizeC) in units of luminance samples. Therefore, it can be determined whether or not QT partitioning is permitted for a chromaticity block based on at least the block size of the chromaticity block in units of luminance samples, the vertical chromaticity subsampling coefficient, the horizontal chromaticity subsampling coefficient, and the minimum acceptable chromaticity QT leaf node size in units of luminance samples.

[0292] In one embodiment, a parameter equal to the value obtained by multiplying the minimum allowable chromaticity QT leaf node size in units of luminance samples (e.g., MinQtSizeC) by the vertical chromaticity subsampling coefficient (e.g., SubHeightC) and then dividing by the horizontal chromaticity subsampling coefficient (e.g., SubWidthC) may be determined. Therefore, this parameter is equal to MinQtSizeC × SubHeightC / SubWidthC. Furthermore, as described above, if the block size of a chromaticity block in units of luminance samples (e.g., cbSize) is less than or equal to this parameter, it may be determined that QT division is not permitted for the chromaticity block.

[0293] In one example, the partition information may further indicate the MTT depth (e.g., mttDepth) indicating whether or not it is an MTT node from an MTT partition, and the predictive mode type (e.g., modeType) for the chromaticity block. Therefore, whether or not a QT partition is permitted for a chromaticity block may be determined further based on the MTT depth and predictive mode type. For example, QT splitting may be deemed not permitted for a chromatic block if at least one of the following conditions is true: (b'''') the block size of the chromaticity block in units of luminance samples (e.g., cbSize) is less than or equal to the value obtained by multiplying the minimum allowable chromaticity QT leaf node size in units of luminance samples by the chromaticity vertical subsampling coefficient and then dividing by the chromaticity horizontal subsampling coefficient (or cbSize ≤ MinQtSizeC × SubHeightC / SubWidthC); (c) the MTT depth (e.g., mttDepth) is not equal to 0 (indicating that the chromaticity block is an MTT node); (d') the value obtained by dividing the block size of the chromaticity block in units of luminance samples by the chromaticity horizontal subsampling coefficient is 4 or less (or cbSize / SubWidthC ≤ 4); and (e') the prediction mode type (or modeType) is MODE_TYPE_INTRA (indicating that in-frame prediction mode and IBC mode can be used). If conditions (b''''), (c), (d'), and (e') are false, it may be determined that QT partitioning is permitted. A treeType equal to condition (b'''') and DUAL_TREE_CHROMA corresponds to condition (b'''). As above, treeTypes equal to conditions (d') to (e') and DUAL_TREE_CHROMA correspond to conditions (d) to (e), respectively. Therefore, if conditions (b'''), (c), (d), and (e) are false, it may be determined that QT partitioning is permitted.

[0294] The minimum chromaticity coding block size may be signaled separately from the minimum allowable luminance coding block size. The minimum chromaticity coding block size in units of luminance samples may be signaled separately from the minimum allowable luminance coding block size in units of luminance samples.

[0295] In some examples, variables related to the minimum chromaticity coding block size (e.g., MinCbLog2SizeC) are used, for example, in VVC. However, the method for deriving the minimum chromaticity coding block size does not need to be defined.

[0296] In one embodiment, the encoded video bitstream includes a chromaticity syntax element indicating the minimum acceptable chromaticity coding block size in units of luminance samples, and a luminance syntax element indicating the minimum acceptable luminance coding block size in units of luminance samples.

[0297] When an intra-frame dual tree is used, a syntax element (e.g., chromaticity syntax element, log2_min_chroma_coding_block_size_minus2) may be signaled in the encoded video bitstream to indicate the minimum chromaticity coding block size in units of luminance samples. A different syntax element (e.g., luminance syntax element) may be signaled to indicate the minimum allowable luminance coding block size in units of luminance samples. The minimum chromaticity coding block size in units of luminance samples may differ from the minimum allowable luminance coding block size in units of luminance samples. For example, the minimum chromaticity coding block size in units of luminance samples (e.g., MinCbSizeC) may be calculated as follows: i.e., MinCbLog2SizeC=log2_min_chroma_coding_block_size_minus2+2 (39) MinCbSizeC=1< <MinCbLog2SizeC (40) For example, to illustrate a syntactic element (e.g., log2_min_chroma_coding_block_size_minus2), as shown by box (2601), the syntactic element may be modified as shown in Table 6 (Figure 26).

[0298] The corresponding semantics can be described as follows: log2_min_chroma_coding_block_size_minus2 plus 2 can specify the minimum chromatic coding block size in units of luminance samples. The value of log2_min_chroma_coding_block_size_minus2 can be within the range of 0 to log2_ctu_size_minus5+3 (including the endpoint). The variables MinCbLog2SizeC and MinCbSizeC can be derived using equations 39-40.

[0299] The minimum chromatic coding block size per luminance sample (or the minimum acceptable chromatic coding block size per luminance sample) can be derived from the minimum luminance coding block size per luminance sample (or the minimum acceptable luminance coding block size per luminance sample). For example, MinCbLog2SizeC can be derived using the following formula:

[0300] MinCbLog2SizeC=MinCbLog2SizeY (41) In some embodiments, there is a fit constraint that MinQtLog2SizeIntraC is not less than max(2,MinCbLog2SizeY) or max(2,MinCbLog2SizeC).

[0301] Figure 27 shows a flowchart outlining process (2700) according to one embodiment of the present disclosure. Process (2700) may be used to reconstruct blocks (e.g., CBs) in an image of an encoded video sequence. Process (2700) may be used in block reconstruction to generate predictive blocks for the blocks being reconstructed. The term block may be interpreted as predictive block, CB, CU. In various embodiments, process (2700) is performed by processing circuits such as, for example, processing circuits in terminal devices (310), (320), (330), and (340), processing circuits performing the functions of a video encoder (403), processing circuits performing the functions of a video decoder (410), processing circuits performing the functions of a video decoder (510), and processing circuits performing the functions of a video encoder (603). In some embodiments, process (2700) is implemented by software instructions, so that when a processing circuit executes a software instruction, the processing circuit executes process (2700). The process starts at (S2701) and proceeds to (S2710). In one example, the block is a chromaticity block, such as chromaticity CB.

[0302] In (S2710), partition information can be decoded from the encoded video bitstream. Partition information can indicate that a chromaticity encoding tree structure in a dual tree (e.g., treeType is DUAL_TREE_CHROMA) is applied to the chromaticity block. Partition information can further indicate the block size of the chromaticity block in units of luminance samples (e.g., cbSize) and the minimum allowable chromaticity QT leaf node size in units of luminance samples (e.g., MinQtSizeC).

[0303] In (S2720), it can be determined whether the block size of the chromaticity block, based on luminance samples, is less than or equal to the minimum acceptable chromaticity QT leaf node size, based on luminance samples. If it is determined that the block size of the chromaticity block, based on luminance samples, is less than or equal to the minimum acceptable chromaticity QT leaf node size, the process proceeds to (S2730). Otherwise, the process proceeds to (S2740).

[0304] In (S2730), it can be determined that QT subdivision is not permitted for the chromaticity block. Process (2700) proceeds to (S2799) and terminates.

[0305] In (S2740), one or more other conditions may be checked to determine whether QT splitting is permitted. These other conditions include: the MTT depth indicating that the chromaticity block is an MTT node; the value obtained by dividing the block size of the chromaticity block in units of luminance samples by the chromaticity horizontal subsampling coefficient being 4 or less (or cbSize / SubWidthC≦4); and / or the prediction mode type (or modeType) being MODE_TYPE_INTRA (which indicates that in-frame prediction mode and IBC mode are permitted). If at least one of the one or more other conditions is true, it may be determined that QT splitting is not permitted for the chromaticity block (e.g., allowSplitQt is set to FALSE). If the other conditions are false and the height of the chromaticity block in units of chromaticity samples is greater than the minimum allowable chromaticity QT leaf node size in units of chromaticity samples, it may be determined that QT splitting is permitted. Process (2700) proceeds to (S2799) and terminates.

[0306] Process (2700) can be appropriately adjusted. Steps in process (2700) can be modified and / or omitted. Additional steps can be added. Any appropriate implementation order can be used.

[0307] Figure 28 shows a flowchart outlining process (2800) according to one embodiment of the present disclosure. Process (2800) may be used to reconstruct blocks (e.g., CBs) in an image of an encoded video sequence. Process (2800) may be used in block reconstruction to generate predictive blocks for the blocks being reconstructed. The term block may be interpreted as predictive block, CB, CU. In various embodiments, process (2800) is performed by processing circuits such as, for example, processing circuits in terminal devices (310), (320), (330), and (340), processing circuits performing the functions of a video encoder (403), processing circuits performing the functions of a video decoder (410), processing circuits performing the functions of a video decoder (510), and processing circuits performing the functions of a video encoder (603). In some embodiments, process (2800) is implemented by software instructions, so that when a processing circuit executes a software instruction, the processing circuit executes process (2800). The process starts at (S2801) and proceeds to (S2810). In one example, the block is a chromaticity block, such as chromaticity CB.

[0308] In (S2810), partition information can be decoded from the encoded video bitstream. Partition information can indicate that a chromaticity encoding tree structure in a dual tree (e.g., treeType is DUAL_TREE_CHROMA) is applied to the chromaticity block. Partition information can further indicate the block size of the chromaticity block in units of luminance samples (e.g., cbSize), the chromaticity vertical subsampling coefficient (e.g., SubHeightC), and the minimum allowable chromaticity QT leaf node size (e.g., MinQtSizeC).

[0309] In (S2820), as described above, it is possible to determine whether or not QT division is permitted for a chromaticity block based on at least the block size of the chromaticity block in units of luminance samples, the chromaticity vertical subsampling coefficient, and the minimum allowable chromaticity QT leaf node size.

[0310] In (S2830), if it is determined that QT partitioning is not permitted, it can be determined whether at least one of binary tree partitioning and ternary tree partitioning is not permitted for the chromaticity block. Process (2800) proceeds to (S2899) and terminates.

[0311] Process (2800) can be appropriately adjusted. Steps in process (2800) can be modified and / or omitted. Additional steps can be added. Any appropriate implementation order can be used.

[0312] The embodiments of this disclosure may be used separately or in any combination in any order. Furthermore, each of the methods (or embodiments), encoders, and decoders may be implemented by processing circuits (e.g., one or more processors or one or more integrated circuits). In one example, one or more processors execute a program stored on a non-temporary computer-readable medium.

[0313] The above technology can be implemented as computer software using computer-readable instructions and can also be stored physically on one or more computer-readable media. For example, Figure 29 shows a computer system (2900) suitable for implementing a particular embodiment of the disclosed subject matter.

[0314] Computer software can be encoded using any suitable machine code or computer language, which can be made into code containing instructions by an assembler, compile, link, or similar mechanism, and these instructions can be executed by one or more computer central processing units (CPUs), graphics processing units (GPUs), etc., either directly or through interpretation, microcode execution, etc.

[0315] Instructions may be executed on various types of computers or components, including, for example, personal computers, tablet computers, servers, smartphones, game devices, and internet of things devices.

[0316] The components of the computer system (2900) shown in Figure 29 are essentially illustrative and are not intended to imply any limitations on the scope or functionality of the computer software that enables embodiments of this disclosure. The configuration of the components should not be construed as having any dependencies or requirements relating to any one or combination of the components shown in the exemplary embodiment of the computer system (2900).

[0317] The computer system (2900) may include several human interface input devices. Such human interface input devices may respond to input from one or more users by tactile input (e.g., keystrokes, swipes, data glove movements), audio input (e.g., voices, applause), visual input (e.g., gestures), or olfactory input (not shown). The human interface devices may also be used to capture certain media that are not necessarily directly related to conscious human input, such as audio (e.g., voices, music, ambient sounds), images (e.g., scanned images, photographic images obtained from still image cameras), or video (e.g., 2D video, 3D video including stereoscopic video).

[0318] Human interface input devices may include one or more of the following: keyboard (2901), mouse (2902), trackpad (2903), touchscreen (2910), data glove (not shown), joystick (2905), microphone (2906), scanner (2907), and camera (2908) (only one of each is shown).

[0319] The computer system (2900) may also include several human interface output devices. Such human interface output devices may stimulate the senses of one or more users, for example, through tactile output, sound, light, and smell / taste. Such human interface output devices include haptic output devices (e.g., haptic feedback via a touchscreen (2910), data glove (not shown), or joystick (2905), but may also be haptic feedback devices that do not function as input devices), audio output devices (e.g., speakers (2909), headphones (not shown)), and visual output devices (e.g., touchscreen (2910) including CRT screens, LCD screens, plasma screens, and OLED screens, each of which may or may not have touchscreen input functionality, and each of which may or may not have haptic feedback functionality, and some of these can output two-dimensional or three-dimensional or more-dimensional visual output via, for example, stereographic output, virtual reality glasses (not shown), holographic displays and smoke tanks (not shown), and printers (not shown).

[0320] A computer system (2900) may include human-accessible storage devices and associated media, such as optical media or similar media (2921) including CD / DVD ROM / RW (2920) having CD / DVD, thumb drives (2922), removable hard drives or solid-state drives (2923), legacy magnetic media such as tapes and floppy disks (not shown), and special ROM / ASIC / PLD-based devices such as security dongles (not shown).

[0321] Those skilled in the art should also understand that the term “computer-readable medium” as used in connection with the subject matter disclosed herein does not include a transmission medium, carrier wave, or other transient signal.

[0322] The computer system (2900) may also include an interface (2954) to one or more communication networks (2955). The networks may be, for example, wireless, wired, or optical. The networks may further include local networks, wide-area networks, metropolitan networks, vehicle networks and industrial networks, real-time networks, delay-tolerant networks, etc. Examples of networks include LANs such as Ethernet®, wireless LANs, and cellular networks (GSM®, 3G, 4G, 5G, LTE, etc.), television cables or wireless wide-area digital networks (including wired television, satellite television, and terrestrial television), and vehicle and industrial networks (including CANBus). Some networks typically require an external network interface adapter connected to several general-purpose data ports or peripheral buses (2949) (e.g., USB ports on the computer system (2900)), while others are usually integrated into the core of the computer system (2900) by connecting to a system bus, as described below (e.g., an Ethernet interface to a PC computer system, or a cellular network interface to a smartphone computer system). Using any of these networks, a computer system (2900) can communicate with other entities. Such communication may be unidirectional (receive only, e.g., broadcast television), unidirectional (transmit only, e.g., from Canbus to a specific Canbus device), or bidirectional (e.g., communication to other computer systems using local or wide-area digital networks). As described above, specific protocols and protocol stacks may be used for each of these networks and network interfaces.

[0323] The above-mentioned human interface devices, human-accessible storage devices, and network interfaces may be connected to the core (2940) of the computer system (2900).

[0324] The core (2940) may include one or more central processing units (CPUs) (2941), graphics processing units (GPUs) (2942), dedicated programmable processing units in the form of field-programmable gate arrays (FPGAs) (2943), hardware accelerators for specific tasks (2944), graphics adapters (2950), and the like. These devices may be connected via a system bus (2948) along with read-only memory (ROM) (2945), random access memory (2946), internal mass storage such as internal non-user-accessible hard disk drives or SSDs (2947), and the like. In some computer systems, the system bus (2948) may be accessible in the form of one or more physical plugs to allow expansion with additional CPUs, GPUs, etc. Peripheral devices may be connected directly to the core's system bus (2948) or via a peripheral bus (2949). For example, a touchscreen (2910) may be connected to a graphics adapter (2950). The peripheral bus architecture includes external controller interfaces (PCI) and general-purpose serial buses (USB).

[0325] A CPU (2941), GPU (2942), FPGA (2943), and accelerator (2944) can execute several instructions, and these instructions can be combined to form the computer code described above. This computer code can be stored in ROM (2945) or RAM (2946). Temporary data can be stored in RAM (2946), while permanent data can be stored, for example, in internal mass storage (2947). Cache memory, which can be closely associated with one or more CPUs (2941), GPUs (2942), mass storage (2947), ROM (2945), RAM (2946), etc., enables high-speed storage and retrieval of any memory device.

[0326] Computer-readable media may have computer code on them for performing various computer operations. The media and computer code may be specifically designed and constructed for the purposes of this disclosure, or they may be of a type that is well known and available to those skilled in the computer software technology.

[0327] For example, but not limited to, a computer system having architecture (2900), in particular core (2940), can function as a processor (including CPU, GPU, FPGA, accelerator, etc.) that runs software embodied in one or more tangible, computer-readable media. Such computer-readable media are media related to the user-accessible mass storage described above, and may be specific storage having a non-volatile core (2940), such as core internal mass storage (2947) or ROM (2945). Software implementing various embodiments of the present disclosure may be stored in such devices and run by core (2940). The computer-readable media may include one or more memory devices or chips, depending on the specific needs. The software can cause core (2940), specifically the processor within it (including CPU, GPU, FPGA, etc.), to run specific processes or specific parts of specific processes described herein, including defining data structures stored in RAM (2946) and modifying such data structures according to processes defined by the software. In addition or alternatively, a computer system may provide functionality by being logic hardwired or otherwise incorporated into circuitry (e.g., an accelerator (2944)), which may operate in place of or in conjunction with software to perform specific processes or specific parts of the specific processes described herein. Where appropriate, a reference to software may include logic, and vice versa. Where appropriate, a reference to a computer-readable medium may include circuitry (such as an integrated circuit (IC)) that stores the software to be executed, circuitry that embodies the logic to be executed, or both. This disclosure encompasses any suitable combination of hardware and software.

[0328] Appendix A: Acronyms JEM: Joint Exploration Model VVC: versatile video coding BMS:benchmark set, benchmark set MV: Motion Vector HEVC: High Efficiency Video Coding MPM: Most likely mode WAIP: Wide-angle in-frame prediction SEI: Supplementary Enhancement Information VUI: Visual Usability Information GOPs: Groups of Pictures, Groups of Images TUs: Transform Units PUs: Prediction Units CTUs: Coding Tree Units CTBs: Coding Tree Blocks PBs: Prediction Blocks HRD: Hypothetical Reference Decoder SDR: Standard Dynamic Range SNR: Signal Noise Ratio CPUs: Central Processing Units GPUs: Graphics Processing Units CRT:Cathode Ray Tube LCD: Liquid-Crystal Display OLED: Organic Light-Emitting Diode CD: Compact Disc DVD: Digital Video Disc ROM: Read-Only Memory RAM: Random Access Memory ASIC: Application-Specific Integrated Circuit PLD: Programmable Logic Device LAN: Local Area Network GSM: Global System for Mobile communications LTE:Long-Term Evolution, long-term evolution CANBus: Controller Area Network Bus USB: Universal Serial Bus PCI: Peripheral Component Interconnect, External Controller Interface FPGA: Field Programmable Gate Arrays SSD: solid-state drive IC: Integrated Circuit CU: Coding Unit PDPC: Combination of location-dependent predictions ISP: In-frame subpartition SPS: Sequence Parameter Settings

[0329] While this disclosure describes several exemplary embodiments, there are various modifications, arrangements, and equivalent substitutions that fall within the scope of this disclosure. Therefore, those skilled in the art should understand that various systems and methods can be designed that are not expressly shown or described herein but embody the principles of this disclosure and thus fall within the spirit and scope of this disclosure.

Claims

1. A method performed by a decoder, comprising: decoding partition information from an encoded video bitstream, the partition information indicating a chrominance coding tree structure in a dual tree to be applied to a chrominance block, the partition information further indicating a block size of the chrominance block and a minimum allowable chrominance quadtree (QT) leaf node size; determining whether the block size of the chroma block divided by a chroma vertical subsampling factor is less than or equal to the minimum allowed chroma QT leaf node size; determining that QT division is not allowed for the chrominance block in response to the block size of the chrominance block divided by the chrominance vertical subsampling factor being less than or equal to the minimum allowed chrominance QT leaf node size; Including, The chrominance format is 4:2:0 sampling or 4:2:2 sampling; the block size of the chrominance block is expressed as a coding block size in units of luma samples. A method comprising:

2. The partition information further indicates a multi-type tree (MTT) depth indicating whether the chroma block is an MTT node from an MTT partition, a chroma horizontal subsampling factor, and a prediction mode type for the chroma block; and in response to the block size of the chroma block divided by the chroma vertical subsampling factor being greater than the minimum allowed chroma QT leaf node size; (i) the MTT depth, which indicates that the chromaticity block is the MTT node; (ii) the block size of the chrominance block divided by the chrominance horizontal subsampling factor is less than or equal to 4; and (iii) the prediction mode type indicating that an intra-frame prediction mode and an intra-frame block copy (IBC) mode are allowed; determining that the QT division is not permitted for the chromaticity block based on at least one of:

2. The method according to claim 1 .

3. The partition information further indicates a minimum allowable chrominance coding block size and a minimum allowable luma coding block size; and the minimum allowable chrominance coding block size is smaller than the minimum allowable luma coding block size; 2. The method according to claim 1 .

4. the encoded video bitstream includes a chroma syntax element indicating the minimum allowed chroma coding block size, and a luma syntax element indicating the minimum allowed luma coding block size.

4. The method according to claim 3 .

5. the minimum allowable chrominance coding block size is derived based on the minimum allowable luma coding block size.

4. The method according to claim 3 .

6. The partition information further indicates a minimum allowable luminance QT leaf node size; and the minimum allowable chromaticity QT leaf node size is less than the minimum allowable luma QT leaf node size; 2. The method according to claim 1 .

7. A method performed by a decoder, comprising: decoding partition information from an encoded video bitstream, the partition information indicating a chrominance coding tree structure in a dual tree to be applied to a chrominance block, the partition information further indicating a block size, a chrominance vertical subsampling factor, and a minimum allowed chrominance quadtree (QT) leaf node size for the chrominance block; determining whether QT division is not allowed for the chrominance block in response to whether the block size of the chrominance block divided by the chrominance vertical subsampling factor is less than or equal to the minimum allowed chrominance QT leaf node size; determining whether at least one of a binary tree partition and a ternary tree partition is not permitted for the chroma block in response to the QT partition being not permitted for the chroma block; Including, The chrominance format is 4:2:0 sampling or 4:2:2 sampling; the block size of the chrominance block is expressed in terms of a coding block size in units of luma samples; the minimum allowable chromaticity QT leaf node size is in units of chromaticity samples; The step of determining whether the QT division is not permitted comprises: determining that the QT division is not allowed for the chroma block based on the block size of the chroma block divided by the chroma vertical subsampling factor being less than or equal to the minimum allowed chroma QT leaf node size. A method comprising:

8. The partition information further indicates a minimum allowable chrominance coding block size and a minimum allowable luma coding block size; and the minimum allowable chrominance coding block size is smaller than the minimum allowable luma coding block size; 8. The method according to claim 7 .

9. the encoded video bitstream includes a chroma syntax element indicating the minimum allowed chroma coding block size, and a luma syntax element indicating the minimum allowed luma coding block size.

9. The method according to claim 8.

10. the minimum allowable chrominance coding block size is derived based on the minimum allowable luma coding block size.

9. The method according to claim 8.

11. The partition information further indicates a minimum allowable luminance QT leaf node size; and the minimum allowable chromaticity QT leaf node size is less than the minimum allowable luma QT leaf node size; 8. The method of claim 7.

12. 1. An apparatus for video decoding, comprising a processing circuit, The processing circuitry is configured to perform a method according to any one of claims 1 to 11. An apparatus comprising:

Citation Information

Patent Citations

  • Method of video coding using separate coding tree for luma and chroma

    WO2016074567A1