/external/libavc/decoder/ |
D | ih264d_vui.c | 128 UWORD8 u4_bits; in ih264d_parse_vui_parametres() local 133 u4_bits = ih264d_get_bits_h264(ps_bitstrm, 1); in ih264d_parse_vui_parametres() 134 if(u4_bits) in ih264d_parse_vui_parametres() 136 u4_bits = ih264d_get_bits_h264(ps_bitstrm, 8); in ih264d_parse_vui_parametres() 137 ps_vu4->u1_aspect_ratio_idc = (UWORD8)u4_bits; in ih264d_parse_vui_parametres() 138 if(VUI_EXTENDED_SAR == u4_bits) in ih264d_parse_vui_parametres() 145 u4_bits = ih264d_get_bits_h264(ps_bitstrm, 1); in ih264d_parse_vui_parametres() 146 if(u4_bits) in ih264d_parse_vui_parametres() 151 u4_bits = ih264d_get_bits_h264(ps_bitstrm, 1); in ih264d_parse_vui_parametres() 160 if(u4_bits) in ih264d_parse_vui_parametres() [all …]
|
D | ih264d_bitstrm.c | 120 UWORD32 u4_bits = pu4_bitstream[u4_word_off++] << u4_bit_off; in ih264d_next_bits_h264() local 128 u4_bits |= (pu4_bitstream[u4_word_off] >> (INT_IN_BITS - u4_bit_off)); in ih264d_next_bits_h264() 130 return ((u4_bits >> (INT_IN_BITS - u4_num_bits))); in ih264d_next_bits_h264()
|
D | ih264d_sei.c | 1045 UWORD32 u4_bits; in ih264d_parse_sei_message() local 1056 u4_bits = ih264d_get_bits_h264(ps_bitstrm, 8); in ih264d_parse_sei_message() 1057 while(0xff == u4_bits && CHECK_BITS_SUFFICIENT(ps_bitstrm, 8)) in ih264d_parse_sei_message() 1059 u4_bits = ih264d_get_bits_h264(ps_bitstrm, 8); in ih264d_parse_sei_message() 1062 ui4_payload_type += u4_bits; in ih264d_parse_sei_message() 1069 u4_bits = ih264d_get_bits_h264(ps_bitstrm, 8); in ih264d_parse_sei_message() 1070 while(0xff == u4_bits && CHECK_BITS_SUFFICIENT(ps_bitstrm, 8)) in ih264d_parse_sei_message() 1072 u4_bits = ih264d_get_bits_h264(ps_bitstrm, 8); in ih264d_parse_sei_message() 1075 ui4_payload_size += u4_bits; in ih264d_parse_sei_message() 1088 u4_bits = ih264d_get_bit_h264(ps_bitstrm); in ih264d_parse_sei_message() [all …]
|
/external/libmpeg2/decoder/ |
D | impeg2d_vld.c | 488 UWORD32 u4_bits; in impeg2d_vld_decode() local 529 IBITS_NXT(u4_buf,u4_buf_nxt,u4_offset,u4_bits,maxLen) in impeg2d_vld_decode() 534 m_iBit = (UWORD8)((u4_bits >> maxLen_tmp) & 0x1); in impeg2d_vld_decode() 550 UWORD32 u4_bits; in impeg2d_vld_decode() local 552 IBITS_GET(u4_buf,u4_buf_nxt,u4_offset,u4_bits,pu4_buf_aligned, dc_size) in impeg2d_vld_decode() 553 dc_diff = u4_bits; in impeg2d_vld_decode() 585 UWORD32 u4_bits; in impeg2d_vld_decode() local 587 IBITS_NXT(u4_buf,u4_buf_nxt,u4_offset,u4_bits,1) in impeg2d_vld_decode() 589 if(u4_bits == 1) in impeg2d_vld_decode() 593 IBITS_GET(u4_buf,u4_buf_nxt,u4_offset,u4_bits,pu4_buf_aligned, 1) in impeg2d_vld_decode() [all …]
|
D | impeg2d_bitstream.h | 103 #define IBITS_NXT(u4_buf, u4_buf_nxt, u4_offset, u4_bits, no_of_bits) \ argument 109 u4_bits = u4_buf << u4_bit_ptr; \ 124 u4_bits = (u4_bits >> (32 - no_of_bits)) | u4_temp; \ 128 u4_bits = (u4_bits >> (32 - no_of_bits)); \ 133 #define IBITS_GET(u4_buf,u4_buf_nxt,u4_offset,u4_bits,pu4_buf_aligned,no_of_bits) \ argument 135 IBITS_NXT(u4_buf, u4_buf_nxt, u4_offset, u4_bits, no_of_bits) \
|
D | impeg2d_bitstream.c | 262 UWORD32 u4_bits,u4_offset,u4_temp; in impeg2d_bit_stream_nxt() local 269 u4_bits = ps_stream->u4_buf << u4_bit_ptr; in impeg2d_bit_stream_nxt() 283 u4_bits = (u4_bits >> (32 - i4_no_of_bits)) | u4_temp; in impeg2d_bit_stream_nxt() 287 u4_bits = (u4_bits >> (32 - i4_no_of_bits)); in impeg2d_bit_stream_nxt() 290 return (u4_bits); in impeg2d_bit_stream_nxt()
|
D | impeg2d_dec_hdr.c | 1311 WORD32 u4_bits; in impeg2d_get_slice_pos() local 1349 u4_bits = impeg2d_bit_stream_nxt(&s_bitstrm,START_CODE_LEN); in impeg2d_get_slice_pos() 1351 i4_row = u4_bits & 0xFF; in impeg2d_get_slice_pos() 1354 i4_is_slice = (((u4_bits >> 8) == 0x01) && (i4_row) && (i4_row <= ps_dec->u2_num_vert_mb)); in impeg2d_get_slice_pos()
|
/external/libhevc/decoder/ |
D | ihevcd_cabac.c | 281 UWORD32 u4_bits; in ihevcd_cabac_decode_bin() local 288 BITS_GET(u4_bits, ps_bitstrm->pu4_buf, ps_bitstrm->u4_bit_ofst, in ihevcd_cabac_decode_bin() 292 u4_ofst |= u4_bits; in ihevcd_cabac_decode_bin() 331 UWORD32 u4_bits; in ihevcd_cabac_decode_bypass_bin() local 336 BIT_GET(u4_bits, ps_bitstrm->pu4_buf, ps_bitstrm->u4_bit_ofst, in ihevcd_cabac_decode_bypass_bin() 340 u4_ofst |= u4_bits; in ihevcd_cabac_decode_bypass_bin() 418 UWORD32 u4_bits; in ihevcd_cabac_decode_terminate() local 428 BITS_GET(u4_bits, ps_bitstrm->pu4_buf, ps_bitstrm->u4_bit_ofst, in ihevcd_cabac_decode_terminate() 432 u4_ofst |= u4_bits; in ihevcd_cabac_decode_terminate() 477 UWORD32 u4_bits; in ihevcd_cabac_decode_bypass_bins() local [all …]
|
D | ihevcd_cabac.h | 99 UWORD32 u4_bits; \ 103 BITS_GET(u4_bits, ps_bitstrm->pu4_buf, ps_bitstrm->u4_bit_ofst, \ 107 u4_ofst |= u4_bits; \ 127 UWORD32 u4_bits; \ 133 BIT_GET(u4_bits, ps_bitstrm->pu4_buf, ps_bitstrm->u4_bit_ofst, \ 137 u4_ofst |= u4_bits; \ 160 UWORD32 u4_bits; \ 171 BITS_GET(u4_bits, ps_bitstrm->pu4_buf, ps_bitstrm->u4_bit_ofst, \ 177 u4_bit = (u4_bits >> numbins_tmp) & 1; \
|
/external/libavc/encoder/svc/ |
D | isvce_sub_pic_rc.c | 323 UWORD32 u4_bits = 0; in isvce_sub_pic_rc_get_mb_pred_bits() local 330 u4_bits += in isvce_sub_pic_rc_get_mb_pred_bits() 343 u4_bits += 1; in isvce_sub_pic_rc_get_mb_pred_bits() 346 u4_bits += in isvce_sub_pic_rc_get_mb_pred_bits() 351 u4_bits += in isvce_sub_pic_rc_get_mb_pred_bits() 362 u4_bits += USE_ILP_MV_AS_MVP; in isvce_sub_pic_rc_get_mb_pred_bits() 367 u4_bits += 1; in isvce_sub_pic_rc_get_mb_pred_bits() 371 u4_bits += ps_sub_pic_rc_state->pu1_uev_codeword_to_bits_map in isvce_sub_pic_rc_get_mb_pred_bits() 384 u4_bits += ps_sub_pic_rc_state->pu1_sev_codeword_to_bits_map[s_mvd.i2_mvx]; in isvce_sub_pic_rc_get_mb_pred_bits() 385 u4_bits += ps_sub_pic_rc_state->pu1_sev_codeword_to_bits_map[s_mvd.i2_mvy]; in isvce_sub_pic_rc_get_mb_pred_bits() [all …]
|
/external/libhevc/encoder/ |
D | vbr_storage_vbv.c | 287 WORD32 get_vbv_buf_fullness(vbr_storage_vbv_t *ps_vbr_storage_vbv, UWORD32 u4_bits) in get_vbv_buf_fullness() argument 300 i4_cur_buf_size -= u4_bits; in get_vbv_buf_fullness()
|
D | vbr_storage_vbv.h | 115 WORD32 get_vbv_buf_fullness(vbr_storage_vbv_handle ps_vbr_storage_vbv, UWORD32 u4_bits);
|
D | rate_control_api.h | 383 WORD32 rc_get_vbv_fulness_with_cur_bits(rate_control_handle ps_rate_control_api, UWORD32 u4_bits);
|
D | ihevce_tu_tree_selector.c | 505 UWORD32 u4_bits = 0; in ihevce_cabac_bins2Bits_converter_and_state_updater() local 507 u4_bits += gau2_ihevce_cabac_bin_to_bits[pu1_cabac_ctxt[u1_cabac_state_idx] ^ u1_bin_value]; in ihevce_cabac_bins2Bits_converter_and_state_updater() 511 return u4_bits; in ihevce_cabac_bins2Bits_converter_and_state_updater()
|
D | rate_control_api.c | 3109 WORD32 rc_get_vbv_fulness_with_cur_bits(rate_control_api_t *ps_rate_control_api, UWORD32 u4_bits) in rc_get_vbv_fulness_with_cur_bits() argument 3111 return (get_vbv_buf_fullness(ps_rate_control_api->ps_vbr_storage_vbv, u4_bits)); in rc_get_vbv_fulness_with_cur_bits()
|
/external/libavc/encoder/ |
D | irc_vbr_storage_vbv.c | 263 UWORD32 u4_bits) in irc_vbv_get_vbv_buf_fullness() argument 279 i4_cur_buf_size -= u4_bits; in irc_vbv_get_vbv_buf_fullness()
|
D | irc_vbr_storage_vbv.h | 102 UWORD32 u4_bits);
|
D | irc_rate_control_api.h | 188 UWORD32 u4_bits);
|
D | irc_rate_control_api.c | 1609 UWORD32 u4_bits) in irc_get_vbv_fulness_with_cur_bits() argument 1612 ps_rate_control_api->ps_vbr_storage_vbv, u4_bits)); in irc_get_vbv_fulness_with_cur_bits()
|