2024年4月25日发(作者:)

有什么问题联系 黄晓伟,hxw02@

0.1.1 RBSP (原始字节序列层)和RBSP结束符语义

0.1.1.1 序列参数集RBSP语义

profile_idc and level_idc indicate the profile and level to which the bitstream conforms, as

specified in Annex A.

profile_idc 和 level_idc表示本码流所遵循的框架(profile)和级别(level)(参见附录A)

constraint_set0_flag equal to 1 indicates that the bitstream obeys all constraints specified in

subclause A.2.1. constraint_set0_flag equal to 0 indicates that the bitstream may or may not

obey all constraints specified in subclause A.2.1.

constraint_set0_flag为1表示本码流符合A.2.1节规定的所有限制条件。constraint_set0_flag

为0表示本码流可能符合也可能不符合A.2.1节规定的所有限制条件。

constraint_set1_flag equal to 1 indicates that the bitstream obeys all constraints specified in

subclause A.2.2. constraint_set1_flag equal to 0 indicates that the bitstream may or may not obey

all constraints specified in subclause A.2.2.

constraint_set1_flag为1表示本码流符合A.2.2节规定的所有限制条件。constraint_set1_flag

为0表示本码流可能符合也可能不符合A.2.2节规定的所有限制条件。

constraint_set2_flag equal to 1 indicates that the bitstream obeys all constraints specified in

subclause A.2.3. constraint_set2_flag equal to 0 indicates that the bitstream may or may not obey

all constraints specified in subclause A.2.3.

NOTE – When more than one of constraint_set0_flag, constraint_set1_flag, or constraint_set2_flag are equal

to 1, the bitstream obeys the constraints of all of the indicated subclauses of subclause A.2.

constraint_set2_flag为1表示本码流符合A.2.3节规定的所有限制条件。constraint_set1_flag

为0表示本码流可能符合也可能不符合A.2.3节规定的所有限制条件。

注:constraint_set0_flag, constraint_set1_flag, or constraint_set2_flag中有一个以上(不含一个)为1时,

本码流符合A.2节规定的所有限制。

reserved_zero_5bits shall be equal to 0 in bitstreams conforming to this Recommendation |

International Standard. Other values of reserved_zero_5bits may be specified in the future by

ITU-T | ISO/IEC. Decoders shall ignore the value of reserved_zero_5bits.

reserved_zero_5bits在本标准中为0。reserved_zero_5bits的其它值将来由ITU-T | ISO/IEC

规定。解码器应忽略reserved_zero_5bits的值。

seq_parameter_set_id identifies the sequence parameter set that is referred to by the picture

parameter set. The value of seq_parameter_set_id shall be in the range of 0 to 31, inclusive.

NOTE – When feasible, encoders should use distinct values of seq_parameter_set_id when the values of other

sequence parameter set syntax elements differ rather than changing the values of the syntax elements

associated with a specific value of seq_parameter_set_id.

seq_parameter_set_id用来标识序列参数集,图像参数集会用seq_parameter_set_id来索引序

列参数集。seq_parameter_set_id的取值范围为[0,31]。

注:如果可能,当一个序列参数集中的语法元素取值不同时,编码器最好用不同的

seq_parameter_set_id 值,

而不是改变与某个

seq_parameter_set_id的值相关联的语法元素的

值。

[译注:意思是用不同的参数集,而不要修改参数集中的某个语法元素。]

log2_max_frame_num_minus4 specifies the value of the variable MaxFrameNum that is used in

frame_num related derivations as follows:

MaxFrameNum = 2

( log2_max_frame_num_minus4 + 4 )

The value of log2_max_frame_num_minus4 shall be in the range of 0 to 12, inclusive.

log2_max_frame_num_minus4用来求出MaxFrameNum的值。生成frame_num时会用到

MaxFrameNum。

MaxFrameNum = 2

( log2_max_frame_num_minus4 + 4 )

log2_max_frame_num_minus4的取值范围为[0,12]。

pic_order_cnt_type specifies the method to decode picture order count (as specified in subclause

8.2.1). The value of pic_order_cnt_type shall be in the range of 0 to 2, inclusive.

pic_order_cnt_type shall not be equal to 2 in a coded video sequence that contains any of the

following

- an access unit containing a non-reference frame followed immediately by an access unit

containing a non-reference picture

- two access units each containing a field with the two fields together forming a

complementary non-reference field pair followed immediately by an access unit

containing a non-reference picture

- an access unit containing a non-reference field followed immediately by an access unit

containing another non-reference picture that does not form a complementary

non-reference field pair with the first of the two access units

pic_order_cnt_type表示解码图象顺序值(参见8.2.1节)时用到的方法。pic_order_cnt_type

的取值范围为[0,2]。

视频序列包含下面任意一种情况时,pic_order_cnt_type应不等于2。

- 一个访问单元包含一个非参考帧;紧接着的访问单元也包含一个非参考帧

- 两个访问单元每个包含一场图像,两场图像组成互补非参考场对;紧接着的访问单

元包含一个非参考图象。

- 一个访问单元包含一个非参考场;紧接着的访问单元包含另外一个非参考图像,这

个非参考图像不能和前面的访问单元中的非参考场组成互补非参考场对。

- [修改说明,对于POC我们在实现的时候可以假定为0,所以不需要特别注意]

- [hxw说明:编码中如果没有B帧,pic_order_cnt_type=2比较简单,不需要传输poc

的其它参数]

log2_max_pic_order_cnt_lsb_minus4 specifies the value of the variable MaxPicOrderCntLsb

that is used in the decoding process for picture order count as specified in subclause 8.2.1 as

follows:

MaxPicOrderCntLsb = 2

( log2_max_pic_order_cnt_lsb_minus4 + 4 )

The value of log2_max_pic_order_cnt_lsb_minus4 shall be in the range of 0 to 12, inclusive.

(7-1)

(7-1)

(7-2)