CPC H04N 19/30 (2014.11) [H04N 19/132 (2014.11); H04N 19/136 (2014.11); H04N 19/186 (2014.11)] | 20 Claims |
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.
|