# US 2022/0046239 A1 · Method and Apparatus of Encoding or Decoding Video Blocks with Constraints during Block Partitioning

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0046239 A1
- Document ID: US20220046239A1
- Status: Published application
- Kind: A1
- Application number: 17/414,662
- Filed: 2019-12-10
- Published: 2022-02-10
- Earliest claimed: 2018-12-18
- Assignees: Mediatek Inc.
- Applicants: Mediatek Inc.
- Inventors: Zhi-Yi LIN; Tzu-Der CHUANG; Ching-Yeh CHEN; Chia-Ming TSAI
- Web page: https://patentgrep.com/patent/US20220046239A1

## CPC

- H04N 19/119: Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
- H04N 19/103: Selection of coding mode or of prediction mode
- H04N 19/105: Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
- H04N 19/132: Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
- H04N 19/136: Incoming video signal characteristics or properties
- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Video processing methods comprise receiving input data of a current block, checking whether the current block is a root block by considering one or more predefined criteria, applying a mode constraint, a chroma split constraint, or both the mode and chroma split constraints to the current block if the current block is set to be a root block, and encoding or decoding the current block. The mode constraint restricts all blocks split from the current block to be processed by a same prediction mode and the chroma split constraints prohibits chroma components of the current block to be further partitioned while allowing a luma component of the current block to be partitioned into smaller blocks.

## Claims

### Claim 1

A method of processing video data in a video coding system, comprising:
receiving input data associated with a current block in a current slice;
determining whether one or more components of the current block satisfy one or more predefined criteria during partitioning;
setting the current block to be a root block if the one or more components of the current block satisfies the one or more predefined criteria;
applying a mode constraint to the current block only if the current block is set to be a root block, wherein the mode constraint restricts all blocks within the current block to be processed by a same prediction mode when the current block is split into a plurality of blocks;
adaptively splitting the current block into one or more blocks; and
encoding or decoding the current block with the mode constraint when the current block is set as a root block or encoding or decoding the current block without the mode constraint when the current block is not set as a root block.

### Claim 2 (depends on 1)

The method of claim 1, wherein the same prediction mode corresponds to inter prediction modes or non-inter prediction modes, and the non-inter prediction modes comprise intra prediction modes or the non-inter prediction modes comprise intra prediction and Intra Block Copy (IBC) modes.

### Claim 3

(canceled)

### Claim 4

(canceled)

### Claim 5 (depends on 1)

The method of claim 1, wherein the mode constraint is applied to all luma and chroma components of the current block, the mode constraint is only applied to the luma component of the current block, or the mode constraint is only applied to the chroma components of the current block.

### Claim 6 (depends on 1)

The method of claim 1, wherein the predefined criteria are related to one or a combination of a size of the current block, a width of the current block, a height of the current block, a depth of the current block, an average depth of neighboring blocks of the current block, a splitting type for partitioning the current block, a size of one children block split from the current block, a width of one children block split from the current block, a height of one children block split from the current block, a depth of one children block split from the current block, and an average depth of neighboring blocks of one children block split from the current block, wherein the size, area, width and height correspond to a luma sample size, a luma sample area, a luma sample width and a luma sample height, or a chroma sample size, a chroma sample area, a chroma sample width and a chroma sample height.

### Claim 7 (depends on 1)

The method of claim 1, wherein the mode constraint is only applied to root blocks in the current slice if share-tree partitioning is used in the current slice.

### Claim 8 (depends on 1)

The method of claim 1, wherein the current block satisfies the one or more predefined criteria when a size or a width of the current block is equal to or larger than a predefined threshold and a size or a width of at least one split partition of the current block is less than the predefined threshold, the mode constraint restricts all blocks within the current block to be processed by the same prediction mode or the mode constraint restricts all blocks within the split partition with a size or a width less than the predefined threshold to be processed by the same prediction mode, wherein the size and width correspond to a luma sample size and a luma sample width, or a chroma sample size and a chroma sample width.

### Claim 9 (depends on 1)

The method of claim 1, wherein a luma component of the current block is allowed to be further partitioned into smaller blocks and chroma components of the current block are not allowed to be further partitioned if the current block is set to be a root block.

### Claim 10 (depends on 9)

The method of claim 9, wherein multiple luma blocks in the current block correspond to one chroma block in a corresponding root block when the luma component of the current block is further partitioned and the current block is set as a root block, and the chroma block in the corresponding root block is encoded or decoded according to a reference luma block in the current block.

### Claim 11 (depends on 10)

The method of claim 10, wherein the reference luma block is a luma block in the current block covering a center position, a first luma block in the current block, a last luma block in the current block, a luma block with a largest area in the current block, a luma block covering one of four corners of the current block, a first intra coded luma block in the current block, a first inter coded luma block in the current block, a first IBC coded luma block in the current block, or a last IBC coded luma block in the root block.

### Claim 12 (depends on 10)

The method of claim 10, wherein intra mode of the chroma block in the corresponding root block is derived from intra mode of the reference luma block, or inter prediction mode information of the chroma block in the corresponding root block is derived from inter prediction mode information of the reference luma block.

### Claim 13 (depends on 9)

The method of claim 9, wherein the chroma components of the current block are not allowed to be further partitioned if the luma component of the current block is coded in non-inter prediction, and the chroma components of the current block is allowed to be further partitioned if the luma component of the current block is coded in inter prediction.

### Claim 14

(canceled)

### Claim 15

(canceled)

### Claim 16

(canceled)

### Claim 17

(canceled)

### Claim 18

A method of processing video data in a video coding system, comprising:
receiving input data associated with a current block in a current slice;
checking whether one or more components of the current block satisfy one or more predefined criteria during partitioning;
setting the current block to be a root block if the one or more components of the current block satisfy the one or more predefined criteria;
applying a chroma split constraint to the current block if the current block is set to be a root block, wherein the chroma split constraint prohibits chroma components of the current block to be further partitioned while a luma component of the current block is allowed to be further partitioned; and
encoding or decoding the current block.

### Claim 19 (depends on 18)

The method of claim 18, wherein the chroma split constraint is conditionally applied to the current block according to a prediction mode of the luma component of the current block when the current block is set to be a root block.

### Claim 20 (depends on 18)

The method of claim 18, wherein the chroma split constraint is only applied to root blocks in the current slice if share-tree partitioning is used in the current slice.

### Claim 21 (depends on 20)

The method of claim 20, wherein the chroma split constraint is applied to the current block when a constrained prediction mode of the root block is non-inter prediction, and the chroma split constraint is not applied to the current block when the constrained prediction mode of the root block is inter prediction.

### Claim 22 (depends on 21)

The method of claim 21, further comprising checking whether the luma and chroma components of the current block have different partitioning structures, and inferring the prediction mode of the chroma components of the current block to be intra prediction when the luma and chroma components of the current block have different partitioning structures.

### Claim 23 (depends on 18)

The method of claim 18, wherein multiple luma blocks in the current block correspond to one chroma block in a corresponding root block when the luma component of the current block is further partitioned and the current block is set as a root block, and the chroma block in the corresponding root block is encoded or decoded according to a reference luma block in the current block.

### Claim 24 (depends on 23)

The method of claim 23, wherein the reference luma block is a luma block in the current block covering a center position, a first luma block in the current block, a last luma block in the current block, a luma block with a largest area in the current block, a luma block covering one of four corners of the current block, a first intra coded luma block in the current block, a first inter coded luma block in the current block, a first IBC coded luma block in the current block, or a last IBC coded luma block in the root block.

### Claim 25 (depends on 23)

The method of claim 23, wherein a prediction intra mode of the chroma block in the corresponding root block is derived from a prediction intra mode of the reference luma block, or inter prediction mode information of the chroma block in the corresponding root block is derived from inter prediction mode information of the reference luma block.

### Claim 26 (depends on 18)

The method of claim 18, wherein one or more syntax elements of one or more luma blocks in the current block are first signaled or parsed, and then one or more syntax elements of one or more chroma blocks in the current block are signaled or parsed if the current block is set to be a root block and a constrained mode of the current block is non-inter prediction mode.

### Claim 27 (depends on 18)

The method of claim 18, wherein one or more syntax elements of each block in the current block, including the luma component and chroma components, are sequentially signaled or parsed if the current block is set to be a root block and a constrained mode of the current block is inter prediction mode, wherein block partitioning of the chroma components follows block partitioning of the luma component in the current block.

### Claim 28

An apparatus of processing video data in a video coding system, the apparatus comprising one or more electronic circuits configured for:
receiving input data associated with a current block in a current slice;
determining whether one or more components of the current block satisfy one or more predefined criteria during partitioning;
setting the current block to be a root block if the one or more components of the current block satisfy the one or more predefined criteria;
applying a mode constraint, a chroma split constraint, or both the mode and chroma split constraints to the current block only if the current block is set to be a root block, wherein the mode constraint restricts all blocks split from the current block to be processed by a same prediction mode and the chroma split constraint prohibits further partitioning chroma components of the current block; and
encoding or decoding the current block.

### Claim 29

A non-transitory computer readable medium storing program instruction causing a processing circuit of an apparatus to perform a video processing method for video data, and the method comprising:
receiving input data associated with a current block in a current slice;
determining whether one or more components of the current block satisfy one or more predefined criteria during partitioning;
setting the current block to be a root block if the one or more components of the current block satisfy the one or more predefined criteria;
applying a mode constraint, a chroma split constraint, or both the mode and chroma split constraints to the current block only if the current block is set to be a root block, wherein the mode constraint restricts all blocks split from the current block to be processed by a same prediction mode and the chroma split constraint prohibits further partitioning chroma components of the current block; and
encoding or decoding the current block.
