# US 11,909,991 B2 · Restrictions on picture width and height

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

- Number: US 11,909,991 B2
- Document ID: US11909991B2
- Status: Granted
- Kind: B2
- Application number: 16/999,445
- Filed: 2020-08-21
- Published: 2021-03-04
- Granted: 2024-02-20
- Earliest claimed: 2019-08-30
- Assignees: Tencent America LLC
- Applicants: Tencent America LLC
- Inventors: Liang Zhao; Xin Zhao; Xiang Li; Byeongdoo Choi; Shan Liu
- Web page: https://patentgrep.com/patent/US11909991B2

## CPC

- H04N 19/172: the region being a picture, frame or field
- H04N 19/30: using hierarchical techniques, e.g. scalability (H04N19/63 takes precedence)
- 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/157: Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/16: for a given display mode, e.g. for interlaced or progressive display mode
- 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, computer program, and computer system is provided for coding a video sequence. Video data comprising one or more luma samples is received. A YUV format associated with the received video data is determined. A height setting value and a width setting value corresponding to the one or more luma samples are restricted based on the determined YUV format. The YUV format may include a YUV4:4:4 format, a YUV4:2:2 format, a YUV4:2:0 format, and a YUV4:0:0 format.

## Claims

### Claim 1

A method of coding a video sequence, executable by a processor, comprising:
receiving video data comprising a chroma_format_idc indicator, a MinCBSizeY parameter, a pic_width_in_luma_samples parameter, a pic_width_in_luma_samples_divide_n parameter, a pic_height_in_luma_samples parameter, and a pic_height_in_luma_samples_divide_n parameter, wherein n is either 4 or 8;
determining a value of the chroma_format_idc indicator;
determining, in luma samples, a width and a height of a picture of the video data based on the value of the chroma_format_idc indicator such that:
when the value of the chroma_format_idc indicator is either 0 or 3:
the pic_width_in_luma_samples parameter and the pic_height_in_luma_samples parameter are both other than 0, and
the pic_width_in_luma_samples_divide_n parameter and the pic_height_in_luma_samples_divide_n are integer multiples of the MinCBSizeY parameter, and
when the value of the chroma_format_idc indicator is 1:
the pic_width_in_luma_samples parameter and the pic_height_in_luma_samples parameter are both other than 0, and
the pic_width_in_luma_samples_divide_n parameter and the pic_height_in_luma_samples_divide_n are integer multiples of a variable Max(8, MinCbSizeY) comprising the MinCBSizeY parameter, and
when the value of the chroma_format_idc indicator is 2:
the pic_width_in_luma_samples parameter and the pic_height_in_luma_samples parameter are both other than 0,
the pic_width_in_luma_samples_divide_n parameter is an integer multiple of the variable Max(8, MinCbSizeY), and
the pic_height_in_luma_samples_divide_n parameter is an integer multiple of the MinCbSizeY parameter.

### Claim 2 (depends on 1)

The method of claim 1, the video data comprises a YUV 4:4:4 format.

### Claim 3 (depends on 1)

The method of claim 1, wherein the video data comprises a YUV 4:0:0 format or a monochrome format.

### Claim 4 (depends on 1)

The method of claim 1, wherein the video data comprises a YUV 4:2:2 format.

### Claim 5 (depends on 1)

The method of claim 1, wherein n is 8.

### Claim 6 (depends on 1)

The method of claim 1, wherein the video data comprises a YUV format that is converted to an RGB format by:
determining a red component from a first set of Y, U, and V components;
determining a green component from a second set of Y, U, and V components; and
determining a blue component from a third set of Y, U, and V components.

### Claim 7 (depends on 6)

The method of claim 6, wherein a different restriction corresponding to picture height and picture width are used for a sampling ratio corresponding to the red, green, and blue components.

### Claim 8

A computer system for coding a video sequence, the computer system comprising:
one or more computer-readable non-transitory storage media configured to store computer program code; and
one or more computer processors configured to access said computer program code and operate as instructed by said computer program code to implement:
a chroma_format_idc indicator, a MinCBSizeY parameter, a pic_width_in_luma_samples parameter, a pic_width_in_luma_samples_divide_n parameter, a pic_height_in_luma_samples parameter, and a pic_height_in_luma_samples_divide_n parameter, wherein n is either 4 or 8;
determining a value of the chroma_format_idc indicator;
determining, in luma samples, a width and a height of a picture of the video data based on the value of the chroma_format_idc indicator such that:
when the value of the chroma_format_idc indicator is either 0 or 3:
the pic_width_in_luma_samples parameter and the pic_height_in_luma_samples parameter are both other than 0, and
the pic_width_in_luma_samples_divide_n parameter and the pic_height_in_luma_samples_divide_n are integer multiples of the MinCBSizeY parameter, and
when the value of the chroma_format_idc indicator is 1:
the pic_width_in_luma_samples parameter and the pic_height_in_luma_samples parameter are both other than 0, and
the pic_width_in_luma_samples_divide_n parameter and the pic_height_in_luma_samples_divide_n are integer multiples of a variable Max(8, MinCbSizeY) comprising the MinCBSizeY parameter, and
when the value of the chroma_format_idc indicator is 2:
the pic_width_in_luma_samples parameter and the pic_height_in_luma_samples parameter are both other than 0,
the pic_width_in_luma_samples_divide_n parameter is an integer multiple of the variable Max(8, MinCbSizeY), and
the pic_height_in_luma_samples_divide_n parameter is an integer multiple of the MinCbSizeY parameter.

### Claim 9 (depends on 8)

The computer system of claim 8, wherein the video data comprises a YUV 4:4:4 format.

### Claim 10 (depends on 8)

The computer system of claim 8, wherein the video data comprises a YUV 4:0:0 format or a monochrome format.

### Claim 11 (depends on 8)

The computer system of claim 8, wherein the video data comprises a YUV 4:2:2 format.

### Claim 12 (depends on 8)

The computer system of claim 8, wherein n is 8.

### Claim 13 (depends on 8)

The computer system of claim 8, wherein the video data comprises a YUV format that is converted to an RGB format by: determining a red component, a blue component, and a green component from respective first, second, and third sets of Y, U, and V components.

### Claim 14 (depends on 13)

The computer system of claim 13, wherein a different restriction corresponding to picture height and picture width are used for a sampling ratio corresponding to the red, green, and blue components.

### Claim 15

A non-transitory computer readable medium having stored thereon a computer program for coding a video sequence, the computer program configured to cause one or more computer processors to:
a chroma_format_idc indicator, a MinCBSizeY parameter, a pic_width_in_luma_samples parameter, a pic_width_in_luma_samples_divide_n parameter, a pic_height_in_luma_samples parameter, and a pic_height_in_luma_samples_divide_n parameter, wherein n is either 4 or 8;
determining a value of the chroma_format_idc indicator;
determining, in luma samples, a width and a height of a picture of the video data based on the value of the chroma_format_idc indicator such that:
when the value of the chroma_format_idc indicator is either 0 or 3:
the pic_width_in_luma_samples parameter and the pic_height_in_luma_samples parameter are both other than 0, and
the pic_width_in_luma_samples_divide_n parameter and the pic_height_in_luma_samples_divide_n are integer multiples of the MinCBSizeY parameter, and
when the value of the chroma_format_idc indicator is 1:
the pic_width_in_luma_samples parameter and the pic_height_in_luma_samples parameter are both other than 0, and
the pic_width_in_luma_samples_divide_n parameter and the pic_height_in_luma_samples_divide_n are integer multiples of a variable Max(8, MinCbSizeY) comprising the MinCBSizeY parameter, and
when the value of the chroma_format_idc indicator is 2:
the pic_width_in_luma_samples parameter and the pic_height_in_luma_samples parameter are both other than 0,
the pic_width_in_luma_samples_divide_n parameter is an integer multiple of the variable Max(8, MinCbSizeY), and
the pic_height_in_luma_samples_divide_n parameter is an integer multiple of the MinCbSizeY parameter.

### Claim 16 (depends on 15)

The computer readable medium of claim 15, wherein the video data comprises a YUV 4:4:4 format.

### Claim 17 (depends on 15)

The computer readable medium of claim 15, wherein video data comprises a YUV 4:0:0 format or a monochrome format.

### Claim 18 (depends on 15)

The computer readable medium of claim 15, wherein the video data comprises a YUV 4:2:2 format.

### Claim 19 (depends on 15)

The computer readable medium of claim 15, wherein n is 8.

### Claim 20 (depends on 15)

The computer readable medium of claim 15, wherein the video data comprises a YUV format is converted to an RGB format by: determining a red component, a blue component, and a green component from respective first, second, and third sets of Y, U, and V components.
