Lines Matching refs:sps
49 if(h->sps.nal_hrd_parameters_present_flag || h->sps.vcl_hrd_parameters_present_flag){
50 h->sei_cpb_removal_delay = get_bits(&s->gb, h->sps.cpb_removal_delay_length);
51 h->sei_dpb_output_delay = get_bits(&s->gb, h->sps.dpb_output_delay_length);
53 if(h->sps.pic_struct_present_flag){
87 if(h->sps.time_offset_length > 0)
88 skip_bits(&s->gb, h->sps.time_offset_length); /* time_offset */
137 SPS *sps;
144 sps = h->sps_buffers[sps_id];
147 if (sps->nal_hrd_parameters_present_flag) {
148 for (sched_sel_idx = 0; sched_sel_idx < sps->cpb_cnt; sched_sel_idx++) {
149 h->initial_cpb_removal_delay[sched_sel_idx] = get_bits(&s->gb, sps->initial_cpb_removal_delay_length);
150 skip_bits(&s->gb, sps->initial_cpb_removal_delay_length); // initial_cpb_removal_delay_offset
153 if (sps->vcl_hrd_parameters_present_flag) {
154 for (sched_sel_idx = 0; sched_sel_idx < sps->cpb_cnt; sched_sel_idx++) {
155 h->initial_cpb_removal_delay[sched_sel_idx] = get_bits(&s->gb, sps->initial_cpb_removal_delay_length);
156 skip_bits(&s->gb, sps->initial_cpb_removal_delay_length); // initial_cpb_removal_delay_offset