Lines Matching refs:sps
112 H264RawVUI *current, H264RawSPS *sps) in FUNC()
205 if ((sps->profile_idc == 44 || sps->profile_idc == 86 || in FUNC()
206 sps->profile_idc == 100 || sps->profile_idc == 110 || in FUNC()
207 sps->profile_idc == 122 || sps->profile_idc == 244) && in FUNC()
208 sps->constraint_set3_flag) { in FUNC()
222 H264RawSPS *sps) in FUNC()
246 if ((sps->profile_idc == 44 || sps->profile_idc == 86 || in FUNC()
247 sps->profile_idc == 100 || sps->profile_idc == 110 || in FUNC()
248 sps->profile_idc == 122 || sps->profile_idc == 244) && in FUNC()
249 sps->constraint_set3_flag) { in FUNC()
260 static int FUNC(sps)(CodedBitstreamContext *ctx, RWContext *rw, in FUNC() argument
408 const H264RawSPS *sps; in FUNC() local
419 sps = h264->sps[current->seq_parameter_set_id]; in FUNC()
420 if (!sps) { in FUNC()
434 pic_size = (sps->pic_width_in_mbs_minus1 + 1) * in FUNC()
435 (sps->pic_height_in_map_units_minus1 + 1); in FUNC()
471 se(pic_init_qp_minus26, -26 - 6 * sps->bit_depth_luma_minus8, +25); in FUNC()
485 for (i = 0; i < 6 + (((sps->chroma_format_idc != 3) ? 2 : 6) * in FUNC()
518 const H264RawSPS *sps; in FUNC() local
525 sps = h264->sps[current->seq_parameter_set_id]; in FUNC()
526 if (!sps) { in FUNC()
531 h264->active_sps = sps; in FUNC()
533 if (sps->vui.nal_hrd_parameters_present_flag) { in FUNC()
534 for (i = 0; i <= sps->vui.nal_hrd_parameters.cpb_cnt_minus1; i++) { in FUNC()
535 length = sps->vui.nal_hrd_parameters.initial_cpb_removal_delay_length_minus1 + 1; in FUNC()
545 if (sps->vui.vcl_hrd_parameters_present_flag) { in FUNC()
546 for (i = 0; i <= sps->vui.vcl_hrd_parameters.cpb_cnt_minus1; i++) { in FUNC()
547 length = sps->vui.vcl_hrd_parameters.initial_cpb_removal_delay_length_minus1 + 1; in FUNC()
562 const H264RawSPS *sps) in FUNC()
592 if (sps->vui.nal_hrd_parameters_present_flag) in FUNC()
593 time_offset_length = sps->vui.nal_hrd_parameters.time_offset_length; in FUNC()
594 else if (sps->vui.vcl_hrd_parameters_present_flag) in FUNC()
595 time_offset_length = sps->vui.vcl_hrd_parameters.time_offset_length; in FUNC()
612 const H264RawSPS *sps; in FUNC() local
617 sps = h264->active_sps; in FUNC()
618 if (!sps) { in FUNC()
623 if (h264->sps[i]) { in FUNC()
632 sps = h264->sps[k]; in FUNC()
634 if (!sps) { in FUNC()
640 if (sps->vui.nal_hrd_parameters_present_flag || in FUNC()
641 sps->vui.vcl_hrd_parameters_present_flag) { in FUNC()
644 if (sps->vui.nal_hrd_parameters_present_flag) in FUNC()
645 hrd = &sps->vui.nal_hrd_parameters; in FUNC()
646 else if (sps->vui.vcl_hrd_parameters_present_flag) in FUNC()
647 hrd = &sps->vui.vcl_hrd_parameters; in FUNC()
658 if (sps->vui.pic_struct_present_flag) { in FUNC()
672 ¤t->timestamp[i], sps)); in FUNC()
780 const H264RawSPS *sps = h264->active_sps; in FUNC() local
799 (1 << (sps->log2_max_frame_num_minus4 + 4)), 0); in FUNC()
803 0, sps->max_num_ref_frames - 1, 0); in FUNC()
823 (1 << (sps->log2_max_frame_num_minus4 + 4)), 0); in FUNC()
827 0, sps->max_num_ref_frames - 1, 0); in FUNC()
839 const H264RawSPS *sps = h264->active_sps; in FUNC() local
845 chroma = !sps->separate_colour_plane_flag && sps->chroma_format_idc != 0; in FUNC()
892 const H264RawSPS *sps = h264->active_sps; in FUNC() local
918 0, sps->max_num_ref_frames - 1, 0); in FUNC()
922 0, sps->max_num_ref_frames - 1, 0); in FUNC()
926 0, sps->max_num_ref_frames, 0); in FUNC()
943 const H264RawSPS *sps; in FUNC() local
994 sps = h264->sps[pps->seq_parameter_set_id]; in FUNC()
995 if (!sps) { in FUNC()
1000 h264->active_sps = sps; in FUNC()
1002 if (sps->separate_colour_plane_flag) in FUNC()
1005 ub(sps->log2_max_frame_num_minus4 + 4, frame_num); in FUNC()
1007 if (!sps->frame_mbs_only_flag) { in FUNC()
1021 if (sps->pic_order_cnt_type == 0) { in FUNC()
1022 ub(sps->log2_max_pic_order_cnt_lsb_minus4 + 4, pic_order_cnt_lsb); in FUNC()
1027 } else if (sps->pic_order_cnt_type == 1) { in FUNC()
1028 if (!sps->delta_pic_order_always_zero_flag) { in FUNC()
1090 se(slice_qp_delta, - 51 - 6 * sps->bit_depth_luma_minus8, in FUNC()
1091 + 51 + 6 * sps->bit_depth_luma_minus8); in FUNC()
1118 pic_size = (sps->pic_width_in_mbs_minus1 + 1) * in FUNC()
1119 (sps->pic_height_in_map_units_minus1 + 1); in FUNC()