Home
last modified time | relevance | path

Searched refs:u4_bits (Results 1 – 13 of 13) 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()
152 if(u4_bits) in ih264d_parse_vui_parametres()
[all …]
Dih264d_sei.c331 UWORD32 u4_bits; in ih264d_parse_sei_message() local
338 u4_bits = ih264d_get_bits_h264(ps_bitstrm, 8); in ih264d_parse_sei_message()
339 while(0xff == u4_bits) in ih264d_parse_sei_message()
341 u4_bits = ih264d_get_bits_h264(ps_bitstrm, 8); in ih264d_parse_sei_message()
344 ui4_payload_type += u4_bits; in ih264d_parse_sei_message()
347 u4_bits = ih264d_get_bits_h264(ps_bitstrm, 8); in ih264d_parse_sei_message()
348 while(0xff == u4_bits) in ih264d_parse_sei_message()
350 u4_bits = ih264d_get_bits_h264(ps_bitstrm, 8); in ih264d_parse_sei_message()
353 ui4_payload_size += u4_bits; in ih264d_parse_sei_message()
368 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.c266 UWORD32 u4_bits,u4_offset,u4_temp; in impeg2d_bit_stream_nxt() local
273 u4_bits = ps_stream->u4_buf << u4_bit_ptr; in impeg2d_bit_stream_nxt()
287 u4_bits = (u4_bits >> (32 - i4_no_of_bits)) | u4_temp; in impeg2d_bit_stream_nxt()
291 u4_bits = (u4_bits >> (32 - i4_no_of_bits)); in impeg2d_bit_stream_nxt()
294 return (u4_bits); in impeg2d_bit_stream_nxt()
Dimpeg2d_dec_hdr.c1151 WORD32 u4_bits; in impeg2d_get_slice_pos() local
1189 u4_bits = impeg2d_bit_stream_nxt(&s_bitstrm,START_CODE_LEN); in impeg2d_get_slice_pos()
1191 i4_row = u4_bits & 0xFF; in impeg2d_get_slice_pos()
1194 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.c272 UWORD32 u4_bits; in ihevcd_cabac_decode_bin() local
279 BITS_GET(u4_bits, ps_bitstrm->pu4_buf, ps_bitstrm->u4_bit_ofst, in ihevcd_cabac_decode_bin()
283 u4_ofst |= u4_bits; in ihevcd_cabac_decode_bin()
322 UWORD32 u4_bits; in ihevcd_cabac_decode_bypass_bin() local
327 BIT_GET(u4_bits, ps_bitstrm->pu4_buf, ps_bitstrm->u4_bit_ofst, in ihevcd_cabac_decode_bypass_bin()
331 u4_ofst |= u4_bits; in ihevcd_cabac_decode_bypass_bin()
409 UWORD32 u4_bits; in ihevcd_cabac_decode_terminate() local
419 BITS_GET(u4_bits, ps_bitstrm->pu4_buf, ps_bitstrm->u4_bit_ofst, in ihevcd_cabac_decode_terminate()
423 u4_ofst |= u4_bits; in ihevcd_cabac_decode_terminate()
468 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/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.c1599 UWORD32 u4_bits) in irc_get_vbv_fulness_with_cur_bits() argument
1602 ps_rate_control_api->ps_vbr_storage_vbv, u4_bits)); in irc_get_vbv_fulness_with_cur_bits()