Home
last modified time | relevance | path

Searched refs:u4_bits (Results 1 – 18 of 18) sorted by relevance

/external/libavc/decoder/
Dih264d_vui.c128 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 …]
Dih264d_sei.c755 UWORD32 u4_bits; in ih264d_parse_sei_message() local
766 u4_bits = ih264d_get_bits_h264(ps_bitstrm, 8); in ih264d_parse_sei_message()
767 while(0xff == u4_bits && CHECK_BITS_SUFFICIENT(ps_bitstrm, 8)) in ih264d_parse_sei_message()
769 u4_bits = ih264d_get_bits_h264(ps_bitstrm, 8); in ih264d_parse_sei_message()
772 ui4_payload_type += u4_bits; in ih264d_parse_sei_message()
779 u4_bits = ih264d_get_bits_h264(ps_bitstrm, 8); in ih264d_parse_sei_message()
780 while(0xff == u4_bits && CHECK_BITS_SUFFICIENT(ps_bitstrm, 8)) in ih264d_parse_sei_message()
782 u4_bits = ih264d_get_bits_h264(ps_bitstrm, 8); in ih264d_parse_sei_message()
785 ui4_payload_size += u4_bits; in ih264d_parse_sei_message()
798 u4_bits = ih264d_get_bit_h264(ps_bitstrm); in ih264d_parse_sei_message()
[all …]
Dih264d_bitstrm.c120 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()
/external/libmpeg2/decoder/
Dimpeg2d_vld.c488 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 …]
Dimpeg2d_bitstream.h103 #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) \
Dimpeg2d_bitstream.c262 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()
Dimpeg2d_dec_hdr.c1264 WORD32 u4_bits; in impeg2d_get_slice_pos() local
1302 u4_bits = impeg2d_bit_stream_nxt(&s_bitstrm,START_CODE_LEN); in impeg2d_get_slice_pos()
1304 i4_row = u4_bits & 0xFF; in impeg2d_get_slice_pos()
1307 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/
Dihevcd_cabac.c281 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 …]
Dihevcd_cabac.h99 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/libhevc/encoder/
Dvbr_storage_vbv.c287 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()
Dvbr_storage_vbv.h115 WORD32 get_vbv_buf_fullness(vbr_storage_vbv_handle ps_vbr_storage_vbv, UWORD32 u4_bits);
Drate_control_api.h383 WORD32 rc_get_vbv_fulness_with_cur_bits(rate_control_handle ps_rate_control_api, UWORD32 u4_bits);
Dihevce_tu_tree_selector.c505 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()
Drate_control_api.c3109 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/
Dirc_vbr_storage_vbv.c263 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()
Dirc_vbr_storage_vbv.h102 UWORD32 u4_bits);
Dirc_rate_control_api.h188 UWORD32 u4_bits);
Dirc_rate_control_api.c1609 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()