# US 2022/0353495 A1 · General Constraints Information for Video Coding

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

- Number: US 2022/0353495 A1
- Document ID: US20220353495A1
- Status: Published application
- Kind: A1
- Application number: 17/857,874
- Filed: 2022-07-05
- Published: 2022-11-03
- Earliest claimed: 2020-01-05
- Assignees: Beijing Bytedance Network Technology Co., Ltd.
- Applicants: Beijing Bytedance Network Technology Co., Ltd.
- Inventors: Weijia Zhu; Jizheng Xu; Li Zhang; Kai Zhang; Yue Wang
- Web page: https://patentgrep.com/patent/US20220353495A1

## CPC

- H04N 19/196: being specially adapted for the computation of encoding parameters, e.g. by averaging previously computed encoding parameters (processing of motion vectors H04N19/513)
- H04N 11/044: {involving transform coding}
- 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/12: Selection from among a plurality of transforms or standards, e.g. selection between discrete cosine transform [DCT] and sub-band transform or selection between H.263 and H.264
- H04N 19/126: Details of normalisation or weighting functions, e.g. normalisation matrices or variable uniform quantisers
- 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

A method for implementing an adaptive color transform (ACT) during image/video encoding and decoding, comprises determining, for a conversion between a video comprising a block and a bitstream of the video, that a size of the block is greater than a maximum allowed size for an ACT mode, and performing, based on the determining, the conversion, wherein, in response to the size of the block being greater than the maximum allowed size for the ACT mode, the block is partitioned into multiple sub-blocks, and wherein each of the multiple sub-blocks share a same prediction mode, and the ACT mode is enabled at a sub-block level.

## Claims

### Claim 1

A method of processing video data, comprising:
performing a conversion between a current video unit of a video and a bitstream of the video,
wherein the bitstream conforms to a format rule,
wherein the format rule specifies whether a first flag is included in the bitstream, the first flag comprising general constraints information for one or more pictures in a set of output layers of the video,
wherein the first flag indicates whether a second flag in a sequence parameter set (SPS) of the bitstream specifies that a resampling mode for the current video unit is disabled, and
wherein in response to the resampling mode being disabled, a current picture and a reference picture share same position offsets included in a picture parameter set (PPS), and the position offsets are used to calculate a scaling ratio.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first flag is denoted as no_ref_pic_resampling_constraint_flag, and wherein the second flag is denoted as ref_pic_resampling_enabled_flag.

### Claim 3 (depends on 1)

The method of claim 1, wherein the second flag is equal to zero due to the first flag is equal to one, wherein the second flag equaling zero specifies that the resampling mode is disabled for the current video unit.

### Claim 4 (depends on 1)

The method of claim 1, wherein the format rule further specifies whether a third flag is included in the bitstream, wherein the third flag comprises second general constraints information for the one or more pictures in the set of output layers of the video, and wherein the third flag indicates whether a fourth flag in the SPS specifies that a pulse code modulation mode for the current video unit is disabled.

### Claim 5 (depends on 4)

The method of claim 4, wherein the third flag is denoted as no_bdpcm_constraint_flag, and wherein the fourth flag is denoted as sps_bdpcm_enabled_flag.

### Claim 6 (depends on 4)

The method of claim 4, wherein the fourth flag is equal to zero due to the first flag is equal to one, wherein the fourth flag equaling zero specifies that the pulse code modulation mode is disabled for the current video unit.

### Claim 7 (depends on 4)

The method of claim 4, wherein the third flag indicates whether a fifth flag in the SPS specifies that the pulse code modulation mode for a chroma component of the current video unit is disabled.

### Claim 8 (depends on 1)

The method of claim 1, wherein the format rule further specifies whether a sixth flag is included in the bitstream, wherein the sixth flag comprises third general constraints information for the one or more pictures in the set of output layers of the video, and wherein the sixth flag indicates whether a seventh flag in the SPS specifies that a palette mode for the current video unit is disabled.

### Claim 9 (depends on 8)

The method of claim 8, wherein the sixth flag is denoted as no_palette_constraint_flag, and wherein the seventh flag is denoted as sps_palette_enabled_flag.

### Claim 10 (depends on 8)

The method of claim 8, wherein the seventh flag is equal to zero due to the sixth flag is equal to one, and wherein the seventh flag equaling zero specifies that the palette mode is disabled for the current video unit.

### Claim 11 (depends on 1)

The method of claim 1, wherein the format rule further specifies whether an eighth flag is included in the bitstream, wherein the eighth flag comprises fourth general constraints information for the one or more pictures in the set of output layers of the video, wherein the eighth flag indicates whether a ninth flag in the SPS specifies that a color transform mode for the current video unit is disabled, and wherein in the color transform mode
for an encoding operation, visual signals are converted from a first color domain to a second color domain, or
for a decoding operation, the visual signals are converted from the second color domain to the first color domain.

### Claim 12 (depends on 11)

The method of claim 11, wherein the eighth flag is denoted as no_act_constraint_flag, and wherein the ninth flag is denoted as sps_act_enabled_flag.

### Claim 13 (depends on 11)

The method of claim 11, wherein the ninth flag is equal to zero due to the eighth flag is equal to one, wherein the ninth flag equaling zero specifies that the color transform mode is disabled for the current video unit.

### Claim 14 (depends on 1)

The method of claim 1, wherein the format rule further specifies whether the first flag is conditionally signaled in the bitstream.

### Claim 15 (depends on 1)

The method of claim 1, wherein the conversion includes encoding the video into the bitstream.

### Claim 16 (depends on 1)

The method of claim 1, wherein the conversion includes decoding the video from the bitstream.

### Claim 17

An apparatus for processing video data comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor, cause the processor to:
perform a conversion between a current video unit of a video and a bitstream of the video,
wherein the bitstream conforms to a format rule,
wherein the format rule specifies whether a first flag is included in the bitstream, the first flag comprising general constraints information for one or more pictures in a set of output layers of the video, and
wherein the first flag indicates whether a second flag in a sequence parameter set (SPS) of the bitstream specifies that a resampling mode for the current video unit is disabled, and
wherein in response to the resampling mode being disabled, a current picture and a reference picture share same position offsets included in a picture parameter set (PPS), and the position offsets are used to calculate a scaling ratio.

### Claim 18 (depends on 17)

The apparatus of claim 17, wherein the first flag is denoted as no_ref_pic_resampling_constraint_flag, wherein the second flag is denoted as ref_pic_resampling_enabled_flag, wherein the second flag is equal to zero due to the first flag is equal to one, and wherein the second flag equaling zero specifies that the resampling mode is disabled for the current video unit.

### Claim 19

A non-transitory computer-readable storage medium storing instructions that cause a processor to:
perform a conversion between a current video unit of a video and a bitstream of the video,
wherein the bitstream conforms to a format rule,
wherein the format rule specifies whether a first flag is included in the bitstream, the first flag comprising general constraints information for one or more pictures in a set of output layers of the video,
wherein the first flag indicates whether a second flag in a sequence parameter set (SPS) of the bitstream specifies that a resampling mode for the current video unit is disabled, and
wherein in response to the resampling mode being disabled, a current picture and a reference picture share same position offsets included in a picture parameter set (PPS), and the position offsets are used to calculate a scaling ratio.

### Claim 20

A non-transitory computer-readable recording medium storing a bitstream of a video which is generated by a method performed by a video processing apparatus, wherein the method comprises:
generating a bitstream for a current video unit of a video,
wherein the bitstream conforms to a format rule,
wherein the format rule specifies whether a first flag is included in the bitstream, the first flag comprising general constraints information for one or more pictures in a set of output layers of the video,
wherein the first flag indicates whether a second flag in a sequence parameter set (SPS) of the bitstream specifies that a resampling mode for the current video unit is disabled, and
wherein in response to the resampling mode being disabled, a current picture and a reference picture share same position offsets included in a picture parameter set (PPS), and the position offsets are used to calculate a scaling ratio.
