Restrictions on picture width and height
AssigneeTencent America LLC
InventorsLiang Zhao, Xin Zhao, Xiang Li, Byeongdoo Choi, Shan Liu
Life of this patent
Estimating the term…
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.
Claims20
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.
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.
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.
Dependencies are inferred from the claim text.