264 SPS/PPS员值义成含(转) (2011-01-06 09:03:39) 转载 标签: it 分类: 视频技术相关 一、sequence_parameter_set_rbsp_t 结构体内成员及用途 1
unsigned profile_idc: 它指的是码流对应的 profile
1 基线 profile(Baseline profile) 遵循基线 profile 的码流应该遵循以下的约束: a) 只有 I 和 P 切片存在 b) NAL 单元流不应该有范围在 2 到 4 的 nal_unit_type 值,包括 2 和 4
c) 序列参数集(sps)的 frame_mbs_only_fag(之后介绍)应该等于 1 d) 图象参数值(psp)的 weighted_pred_flag 和 weighted_bipred_idc 都应该为0 e) 图象参数值(psp)的 entropy_coding_mode_flag 应该等于 0 f) 图象参数值(psp)的 num_slice_groups_minus1 应该在 0 到 7 之间,包括 0 和7 g) 对于基线 profile 对应的 level 度应该满足
符合基线 profile 的码流的 profile_idc 被赋 66
符合一定 level 的基线Baseline 的解码器应该可以解码 所有的 profile_idc 等于 66 的码流或 constrained_set0_flag(等会介绍)为 1而且 level_idc(在 level 部 分介绍)少于或等于一个指定的 level 的码流
2 主 profile(Main profile) 符合主 profile 的码流应该遵循以下的约束: a) 只有 I,P,B 切片存在
b) NAL 单元流不包括 nal_unit_t