Lines Matching refs:vps
177 static void nal_hevc_rbsp_vps(struct rbsp *rbsp, struct nal_hevc_vps *vps) in nal_hevc_rbsp_vps() argument
182 rbsp_bits(rbsp, 4, &vps->video_parameter_set_id); in nal_hevc_rbsp_vps()
183 rbsp_bit(rbsp, &vps->base_layer_internal_flag); in nal_hevc_rbsp_vps()
184 rbsp_bit(rbsp, &vps->base_layer_available_flag); in nal_hevc_rbsp_vps()
185 rbsp_bits(rbsp, 6, &vps->max_layers_minus1); in nal_hevc_rbsp_vps()
186 rbsp_bits(rbsp, 3, &vps->max_sub_layers_minus1); in nal_hevc_rbsp_vps()
187 rbsp_bits(rbsp, 1, &vps->temporal_id_nesting_flag); in nal_hevc_rbsp_vps()
189 nal_hevc_rbsp_profile_tier_level(rbsp, &vps->profile_tier_level); in nal_hevc_rbsp_vps()
190 rbsp_bit(rbsp, &vps->sub_layer_ordering_info_present_flag); in nal_hevc_rbsp_vps()
191 for (i = vps->sub_layer_ordering_info_present_flag ? 0 : vps->max_sub_layers_minus1; in nal_hevc_rbsp_vps()
192 i <= vps->max_sub_layers_minus1; i++) { in nal_hevc_rbsp_vps()
193 rbsp_uev(rbsp, &vps->max_dec_pic_buffering_minus1[i]); in nal_hevc_rbsp_vps()
194 rbsp_uev(rbsp, &vps->max_num_reorder_pics[i]); in nal_hevc_rbsp_vps()
195 rbsp_uev(rbsp, &vps->max_latency_increase_plus1[i]); in nal_hevc_rbsp_vps()
197 rbsp_bits(rbsp, 6, &vps->max_layer_id); in nal_hevc_rbsp_vps()
198 rbsp_uev(rbsp, &vps->num_layer_sets_minus1); in nal_hevc_rbsp_vps()
199 for (i = 0; i <= vps->num_layer_sets_minus1; i++) in nal_hevc_rbsp_vps()
200 for (j = 0; j <= vps->max_layer_id; j++) in nal_hevc_rbsp_vps()
201 rbsp_bit(rbsp, &vps->layer_id_included_flag[i][j]); in nal_hevc_rbsp_vps()
202 rbsp_bit(rbsp, &vps->timing_info_present_flag); in nal_hevc_rbsp_vps()
203 if (vps->timing_info_present_flag) in nal_hevc_rbsp_vps()
205 rbsp_bit(rbsp, &vps->extension_flag); in nal_hevc_rbsp_vps()
206 if (vps->extension_flag) in nal_hevc_rbsp_vps()
520 void *dest, size_t n, struct nal_hevc_vps *vps) in nal_hevc_write_vps() argument
541 nal_hevc_rbsp_vps(&rbsp, vps); in nal_hevc_write_vps()
564 struct nal_hevc_vps *vps, void *src, size_t n) in nal_hevc_read_vps() argument
589 nal_hevc_rbsp_vps(&rbsp, vps); in nal_hevc_read_vps()