Home
last modified time | relevance | path

Searched refs:num_bits (Results 1 – 14 of 14) sorted by relevance

/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/
Dviddec_pm_parser_ops.c11 int32_t viddec_pm_get_bits(void *parent, uint32_t *data, uint32_t num_bits) in viddec_pm_get_bits() argument
17 ret = viddec_pm_utils_bstream_peekbits(&(cxt->getbits), data, num_bits, 1); in viddec_pm_get_bits()
24 int32_t viddec_pm_peek_bits(void *parent, uint32_t *data, uint32_t num_bits) in viddec_pm_peek_bits() argument
30 ret = viddec_pm_utils_bstream_peekbits(&(cxt->getbits), data, num_bits, 0); in viddec_pm_peek_bits()
34 int32_t viddec_pm_skip_bits(void *parent, uint32_t num_bits) in viddec_pm_skip_bits() argument
40 ret = viddec_pm_utils_bstream_skipbits(&(cxt->getbits), num_bits); in viddec_pm_skip_bits()
Dviddec_pm_utils_bstream.c368 int32_t viddec_pm_utils_bstream_skipbits(viddec_pm_utils_bstream_cxt_t *cxt, uint32_t num_bits) in viddec_pm_utils_bstream_skipbits() argument
376 if((num_bits <= 32) && (num_bits > 0) && (data_left != 0)) in viddec_pm_utils_bstream_skipbits()
380 bytes_required = (bstream->buf_bitoff + num_bits + 7)>>3; in viddec_pm_utils_bstream_skipbits()
388 total_bits=num_bits+bstream->buf_bitoff; in viddec_pm_utils_bstream_skipbits()
405 …stream_peekbits(viddec_pm_utils_bstream_cxt_t *cxt, uint32_t *out, uint32_t num_bits, uint8_t skip) in viddec_pm_utils_bstream_peekbits() argument
412 if((num_bits <= 32) && (num_bits > 0) && (data_left != 0)) in viddec_pm_utils_bstream_peekbits()
418 bytes_required = (bstream->buf_bitoff + num_bits + 7)>>3; in viddec_pm_utils_bstream_peekbits()
441 total_bits = num_bits+bstream->buf_bitoff; in viddec_pm_utils_bstream_peekbits()
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/include/
Dviddec_parser_ops.h48 int32_t viddec_pm_get_bits(void *parent, uint32_t *data, uint32_t num_bits);
52 int32_t viddec_pm_peek_bits(void *parent, uint32_t *data, uint32_t num_bits);
56 int32_t viddec_pm_skip_bits(void *parent, uint32_t num_bits);
Dviddec_pm_utils_bstream.h57 int32_t viddec_pm_utils_bstream_skipbits(viddec_pm_utils_bstream_cxt_t *cxt, uint32_t num_bits);
59 …tream_peekbits(viddec_pm_utils_bstream_cxt_t *cxt, uint32_t *out, uint32_t num_bits, uint8_t skip);
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/common/inc/
Dextra_data_handler.h70 OMX_U32 d_u(OMX_U32 num_bits);
75 OMX_U32 e_u(OMX_U32 symbol, OMX_U32 num_bits);
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/common/inc/
Dextra_data_handler.h69 OMX_U32 d_u(OMX_U32 num_bits);
74 OMX_U32 e_u(OMX_U32 symbol, OMX_U32 num_bits);
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/common/inc/
Dextra_data_handler.h89 OMX_U32 d_u(OMX_U32 num_bits);
94 OMX_U32 e_u(OMX_U32 symbol, OMX_U32 num_bits);
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/common/src/
Dextra_data_handler.cpp50 OMX_U32 extra_data_handler::d_u(OMX_U32 num_bits) in d_u() argument
52 OMX_U32 rem_bits = num_bits, bins = 0, shift = 0; in d_u()
82 … DEBUG_PRINT_LOW("In %s() bin/num_bits : %x/%u", __func__, (unsigned)bins, (unsigned int)num_bits); in d_u()
385 OMX_U32 extra_data_handler::e_u(OMX_U32 symbol, OMX_U32 num_bits) in e_u() argument
387 OMX_U32 rem_bits = num_bits, shift; in e_u()
389 DEBUG_PRINT_LOW("%s bin : %x/%u", __func__, (unsigned)symbol, (unsigned int)num_bits); in e_u()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/common/src/
Dextra_data_handler.cpp50 OMX_U32 extra_data_handler::d_u(OMX_U32 num_bits) in d_u() argument
52 OMX_U32 rem_bits = num_bits, bins = 0, shift = 0; in d_u()
82 … DEBUG_PRINT_LOW("In %s() bin/num_bits : %x/%u", __func__, (unsigned)bins, (unsigned int)num_bits); in d_u()
385 OMX_U32 extra_data_handler::e_u(OMX_U32 symbol, OMX_U32 num_bits) in e_u() argument
387 OMX_U32 rem_bits = num_bits, shift; in e_u()
389 DEBUG_PRINT_LOW("%s bin : %x/%u", __func__, (unsigned)symbol, (unsigned int)num_bits); in e_u()
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/common/src/
Dextra_data_handler.cpp48 OMX_U32 extra_data_handler::d_u(OMX_U32 num_bits) in d_u() argument
50 OMX_U32 rem_bits = num_bits, bins = 0, shift = 0; in d_u()
77 DEBUG_PRINT_LOW("\nIn %s() bin/num_bits : %x/%d", __func__, bins, num_bits); in d_u()
321 OMX_U32 extra_data_handler::e_u(OMX_U32 symbol, OMX_U32 num_bits) in e_u() argument
323 OMX_U32 rem_bits = num_bits, shift; in e_u()
325 DEBUG_PRINT_LOW("\n%s bin : %x/%d", __func__, symbol, num_bits); in e_u()
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/mp4/parser/
Dviddec_mp4_videoobjectlayer.c168 uint32_t num_bits=0; in mp4_pvt_count_number_of_bits() local
171 num_bits++; in mp4_pvt_count_number_of_bits()
173 return num_bits; in mp4_pvt_count_number_of_bits()
291 uint32_t num_bits=1; in mp4_Parse_VOL_notbinaryonly() local
292 if(vidObjLay->video_object_layer_verid != 1) num_bits=2; in mp4_Parse_VOL_notbinaryonly()
293 getbits = viddec_pm_get_bits(parent, &(code), num_bits); in mp4_Parse_VOL_notbinaryonly()
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/h264/include/
Dh264parse.h160 extern int32_t viddec_pm_get_bits(void *parent, uint32_t *data, uint32_t num_bits);
161 extern int32_t viddec_pm_peek_bits(void *parent, uint32_t *data, uint32_t num_bits);
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/h264/parser/
Dh264parse_sei.c40 int num_bits = 0; in h264_sei_buffering_period() local
47num_bits = pInfo->active_SPS.sps_disp.vui_seq_parameters.nal_hrd_initial_cpb_removal_delay_length_… in h264_sei_buffering_period()
51num_bits = pInfo->active_SPS.sps_disp.vui_seq_parameters.nal_hrd_initial_cpb_removal_delay_length_… in h264_sei_buffering_period()
67 viddec_pm_get_bits(parent, (uint32_t *)&sei_msg_ptr->initial_cpb_removal_delay_nal, num_bits); in h264_sei_buffering_period()
68 …ddec_pm_get_bits(parent, (uint32_t *)&sei_msg_ptr->initial_cpb_removal_delay_offset_nal, num_bits); in h264_sei_buffering_period()
79 viddec_pm_get_bits(parent, (uint32_t *)&sei_msg_ptr->initial_cpb_removal_delay_vcl, num_bits); in h264_sei_buffering_period()
80 …ddec_pm_get_bits(parent, (uint32_t *)&sei_msg_ptr->initial_cpb_removal_delay_offset_vcl, num_bits); in h264_sei_buffering_period()
Dh264parse.c223 viddec_pm_get_bits(void * parent,uint32_t * data,uint32_t num_bits)(parent, &code, 24); in h264_Parse_NAL_Unit()