Lines Matching defs:vps
177 static void nal_hevc_rbsp_vps(struct rbsp *rbsp, struct nal_hevc_vps *vps)
182 rbsp_bits(rbsp, 4, &vps->video_parameter_set_id);
183 rbsp_bit(rbsp, &vps->base_layer_internal_flag);
184 rbsp_bit(rbsp, &vps->base_layer_available_flag);
185 rbsp_bits(rbsp, 6, &vps->max_layers_minus1);
186 rbsp_bits(rbsp, 3, &vps->max_sub_layers_minus1);
187 rbsp_bits(rbsp, 1, &vps->temporal_id_nesting_flag);
189 nal_hevc_rbsp_profile_tier_level(rbsp, &vps->profile_tier_level);
190 rbsp_bit(rbsp, &vps->sub_layer_ordering_info_present_flag);
191 for (i = vps->sub_layer_ordering_info_present_flag ? 0 : vps->max_sub_layers_minus1;
192 i <= vps->max_sub_layers_minus1; i++) {
193 rbsp_uev(rbsp, &vps->max_dec_pic_buffering_minus1[i]);
194 rbsp_uev(rbsp, &vps->max_num_reorder_pics[i]);
195 rbsp_uev(rbsp, &vps->max_latency_increase_plus1[i]);
197 rbsp_bits(rbsp, 6, &vps->max_layer_id);
198 rbsp_uev(rbsp, &vps->num_layer_sets_minus1);
199 for (i = 0; i <= vps->num_layer_sets_minus1; i++)
200 for (j = 0; j <= vps->max_layer_id; j++)
201 rbsp_bit(rbsp, &vps->layer_id_included_flag[i][j]);
202 rbsp_bit(rbsp, &vps->timing_info_present_flag);
203 if (vps->timing_info_present_flag)
205 rbsp_bit(rbsp, &vps->extension_flag);
206 if (vps->extension_flag)
510 * @vps: &struct nal_hevc_vps to convert to RBSP
512 * Convert @vps to RBSP data and write it into @dest.
520 void *dest, size_t n, struct nal_hevc_vps *vps)
541 nal_hevc_rbsp_vps(&rbsp, vps);
555 * @vps: the &struct nal_hevc_vps to fill from the RBSP data
559 * Read RBSP data from @src and use it to fill @vps.
564 struct nal_hevc_vps *vps, void *src, size_t n)
589 nal_hevc_rbsp_vps(&rbsp, vps);