Home
last modified time | relevance | path

Searched refs:rbsp (Results 1 - 9 of 9) sorted by relevance

/third_party/mesa3d/src/gallium/frontends/omx/bellagio/
H A Dvid_dec_h265.c143 static void profile_tier(struct vl_rbsp *rbsp) in profile_tier() argument
148 vl_rbsp_u(rbsp, 2); in profile_tier()
151 vl_rbsp_u(rbsp, 1); in profile_tier()
154 vl_rbsp_u(rbsp, 5); in profile_tier()
158 vl_rbsp_u(rbsp, 1); in profile_tier()
161 vl_rbsp_u(rbsp, 1); in profile_tier()
164 vl_rbsp_u(rbsp, 1); in profile_tier()
167 vl_rbsp_u(rbsp, 1); in profile_tier()
170 vl_rbsp_u(rbsp, 1); in profile_tier()
173 vl_rbsp_u(rbsp, 1 in profile_tier()
178 profile_tier_level(struct vl_rbsp *rbsp, int max_sublayers_minus1) profile_tier_level() argument
213 scaling_list_data(vid_dec_PrivateType *priv, struct vl_rbsp *rbsp, struct pipe_h265_sps *sps) scaling_list_data() argument
289 st_ref_pic_set(vid_dec_PrivateType *priv, struct vl_rbsp *rbsp, struct ref_pic_set *rps, struct pipe_h265_sps *sps, unsigned idx) st_ref_pic_set() argument
395 seq_parameter_set_id(vid_dec_PrivateType *priv, struct vl_rbsp *rbsp) seq_parameter_set_id() argument
406 seq_parameter_set(vid_dec_PrivateType *priv, struct vl_rbsp *rbsp) seq_parameter_set() argument
518 pic_parameter_set_id(vid_dec_PrivateType *priv, struct vl_rbsp *rbsp) pic_parameter_set_id() argument
529 picture_parameter_set(vid_dec_PrivateType *priv, struct vl_rbsp *rbsp) picture_parameter_set() argument
758 slice_header(vid_dec_PrivateType *priv, struct vl_rbsp *rbsp, unsigned nal_unit_type) slice_header() argument
959 struct vl_rbsp rbsp; vid_dec_h265_Decode() local
965 struct vl_rbsp rbsp; vid_dec_h265_Decode() local
973 struct vl_rbsp rbsp; vid_dec_h265_Decode() local
[all...]
/third_party/mesa3d/src/gallium/frontends/omx/
H A Dvid_dec_h264_common.c154 static void vui_parameters(struct vl_rbsp *rbsp) in vui_parameters() argument
159 static void scaling_list(struct vl_rbsp *rbsp, uint8_t *scalingList, unsigned sizeOfScalingList, in scaling_list() argument
167 if (!vl_rbsp_u(rbsp, 1)) { in scaling_list()
177 signed delta_scale = vl_rbsp_se(rbsp); in scaling_list()
189 static struct pipe_h264_sps *seq_parameter_set_id(vid_dec_PrivateType *priv, struct vl_rbsp *rbsp) in seq_parameter_set_id() argument
191 unsigned id = vl_rbsp_ue(rbsp); in seq_parameter_set_id()
198 static void seq_parameter_set(vid_dec_PrivateType *priv, struct vl_rbsp *rbsp) in seq_parameter_set() argument
205 profile_idc = vl_rbsp_u(rbsp, 8); in seq_parameter_set()
208 vl_rbsp_u(rbsp, 1); in seq_parameter_set()
211 vl_rbsp_u(rbsp, in seq_parameter_set()
361 pic_parameter_set_id(vid_dec_PrivateType *priv, struct vl_rbsp *rbsp) pic_parameter_set_id() argument
370 picture_parameter_set(vid_dec_PrivateType *priv, struct vl_rbsp *rbsp) picture_parameter_set() argument
485 ref_pic_list_mvc_modification(vid_dec_PrivateType *priv, struct vl_rbsp *rbsp) ref_pic_list_mvc_modification() argument
491 ref_pic_list_modification(vid_dec_PrivateType *priv, struct vl_rbsp *rbsp, enum pipe_h264_slice_type slice_type) ref_pic_list_modification() argument
529 pred_weight_table(vid_dec_PrivateType *priv, struct vl_rbsp *rbsp, struct pipe_h264_sps *sps, enum pipe_h264_slice_type slice_type) pred_weight_table() argument
587 dec_ref_pic_marking(vid_dec_PrivateType *priv, struct vl_rbsp *rbsp, bool IdrPicFlag) dec_ref_pic_marking() argument
625 slice_header(vid_dec_PrivateType *priv, struct vl_rbsp *rbsp, unsigned nal_ref_idc, unsigned nal_unit_type) slice_header() argument
1004 struct vl_rbsp rbsp; vid_dec_h264_Decode() local
1012 struct vl_rbsp rbsp; vid_dec_h264_Decode() local
1020 struct vl_rbsp rbsp; vid_dec_h264_Decode() local
[all...]
/third_party/mesa3d/src/util/
H A Dvl_rbsp.h51 static inline void vl_rbsp_init(struct vl_rbsp *rbsp, struct vl_vlc *nal, unsigned num_bits) in vl_rbsp_init() argument
57 rbsp->nal = *nal; in vl_rbsp_init()
63 vl_vlc_limit(&rbsp->nal, bits_left - vl_vlc_bits_left(nal)); in vl_rbsp_init()
69 valid = vl_vlc_valid_bits(&rbsp->nal); in vl_rbsp_init()
72 if ((vl_vlc_peekbits(&rbsp->nal, i) & 0xffffff) == 0x3) { in vl_rbsp_init()
73 vl_vlc_removebits(&rbsp->nal, i - 8, 8); in vl_rbsp_init()
78 valid = vl_vlc_valid_bits(&rbsp->nal); in vl_rbsp_init()
80 rbsp->escaped = (valid >= 16) ? 16 : ((valid >= 8) ? 8 : 0); in vl_rbsp_init()
86 static inline void vl_rbsp_fillbits(struct vl_rbsp *rbsp) in vl_rbsp_fillbits() argument
88 unsigned valid = vl_vlc_valid_bits(&rbsp in vl_rbsp_fillbits()
123 vl_rbsp_u(struct vl_rbsp *rbsp, unsigned n) vl_rbsp_u() argument
135 vl_rbsp_ue(struct vl_rbsp *rbsp) vl_rbsp_ue() argument
149 vl_rbsp_se(struct vl_rbsp *rbsp) vl_rbsp_se() argument
161 vl_rbsp_more_data(struct vl_rbsp *rbsp) vl_rbsp_more_data() argument
[all...]
/third_party/mesa3d/src/gallium/frontends/va/
H A Dpicture_hevc_enc.c200 static void profile_tier(struct vl_rbsp *rbsp) in profile_tier() argument
202 vl_rbsp_u(rbsp, 2); /* general_profile_space */ in profile_tier()
203 vl_rbsp_u(rbsp, 1); /* general_tier_flag */ in profile_tier()
204 vl_rbsp_u(rbsp, 5); /* general_profile_idc */ in profile_tier()
208 vl_rbsp_u(rbsp, 1); in profile_tier()
210 vl_rbsp_u(rbsp, 1); /* general_progressive_source_flag */ in profile_tier()
211 vl_rbsp_u(rbsp, 1); /* general_interlaced_source_flag */ in profile_tier()
212 vl_rbsp_u(rbsp, 1); /* general_non_packed_constraint_flag */ in profile_tier()
213 vl_rbsp_u(rbsp, 1); /* general_frame_only_constraint_flag */ in profile_tier()
216 vl_rbsp_u(rbsp, 1 in profile_tier()
221 profile_tier_level(struct vl_rbsp *rbsp, int max_sublayers_minus1) profile_tier_level() argument
252 parseEncSpsParamsH265(vlVaContext *context, struct vl_rbsp *rbsp) parseEncSpsParamsH265() argument
305 struct vl_rbsp rbsp; vlVaHandleVAEncPackedHeaderDataBufferTypeHEVC() local
[all...]
/third_party/ffmpeg/libavcodec/
H A Dh2645_parse.c35 H2645RBSP *rbsp, H2645NAL *nal, int small_padding) in ff_h2645_extract_rbsp()
95 dst = &rbsp->rbsp_buffer[rbsp->rbsp_buffer_size]; in ff_h2645_extract_rbsp()
143 rbsp->rbsp_buffer_size += si; in ff_h2645_extract_rbsp()
349 static void alloc_rbsp_buffer(H2645RBSP *rbsp, unsigned int size, int use_ref) in alloc_rbsp_buffer() argument
357 if (rbsp->rbsp_buffer_alloc_size >= size && in alloc_rbsp_buffer()
358 (!rbsp->rbsp_buffer_ref || av_buffer_is_writable(rbsp->rbsp_buffer_ref))) { in alloc_rbsp_buffer()
359 av_assert0(rbsp->rbsp_buffer); in alloc_rbsp_buffer()
360 memset(rbsp in alloc_rbsp_buffer()
34 ff_h2645_extract_rbsp(const uint8_t *src, int length, H2645RBSP *rbsp, H2645NAL *nal, int small_padding) ff_h2645_extract_rbsp() argument
[all...]
H A Dh264_parser.c261 H2645RBSP rbsp = { NULL }; in parse_nal_units() local
283 av_fast_padded_malloc(&rbsp.rbsp_buffer, &rbsp.rbsp_buffer_alloc_size, buf_size); in parse_nal_units()
284 if (!rbsp.rbsp_buffer) in parse_nal_units()
324 consumed = ff_h2645_extract_rbsp(buf + buf_index, src_length, &rbsp, &nal, 1); in parse_nal_units()
574 av_freep(&rbsp.rbsp_buffer); in parse_nal_units()
579 av_freep(&rbsp.rbsp_buffer); in parse_nal_units()
585 av_freep(&rbsp.rbsp_buffer); in parse_nal_units()
H A Dh2645_parse.h84 H2645RBSP rbsp; member
93 int ff_h2645_extract_rbsp(const uint8_t *src, int length, H2645RBSP *rbsp,
H A Dcbs_h2645.c492 : packet->rbsp.rbsp_buffer_ref; in cbs_h2645_fragment_add_nals()
/third_party/mesa3d/src/gallium/drivers/d3d12/
H A Dd3d12_video_encoder_nalu_writer_h264.cpp242 d3d12_video_encoder_bitstream rbsp, nalu; in sps_to_nalu_bytes() local
244 if (!rbsp.create_bitstream(MAX_COMPRESSED_SPS)) { in sps_to_nalu_bytes()
245 debug_printf("rbsp.create_bitstream(MAX_COMPRESSED_SPS) failed\n"); in sps_to_nalu_bytes()
254 rbsp.set_start_code_prevention(TRUE); in sps_to_nalu_bytes()
255 if (write_sps_bytes(&rbsp, pSPS) <= 0u) { in sps_to_nalu_bytes()
256 debug_printf("write_sps_bytes(&rbsp, pSPS) didn't write any bytes.\n"); in sps_to_nalu_bytes()
260 if (wrap_sps_nalu(&nalu, &rbsp) <= 0u) { in sps_to_nalu_bytes()
261 debug_printf("wrap_sps_nalu(&nalu, &rbsp) didn't write any bytes.\n"); in sps_to_nalu_bytes()
288 d3d12_video_encoder_bitstream rbsp, nalu; in pps_to_nalu_bytes() local
289 if (!rbsp in pps_to_nalu_bytes()
331 d3d12_video_encoder_bitstream rbsp, nalu; write_end_of_stream_nalu() local
368 d3d12_video_encoder_bitstream rbsp, nalu; write_end_of_sequence_nalu() local
[all...]

Completed in 7 milliseconds