/external/libmpeg2/decoder/ |
impeg2d_bitstream.c | 59 void impeg2d_bit_stream_init(stream_t *ps_stream, 70 ps_stream->pv_bs_buf = pu1_byte_buf; 71 ps_stream->u4_offset = 0; 86 ps_stream->u4_offset = 8; 95 ps_stream->u4_offset = 16; 103 ps_stream->u4_offset = 24; 110 ps_stream->u4_offset = 0; 119 ps_stream->u4_buf = u4_temp2; 123 ps_stream->u4_buf_nxt = u4_temp2; 125 ps_stream->pu4_buf_aligned = pu4_word_buf 193 stream_t *ps_stream = (stream_t *)pv_ctxt; local 229 stream_t *ps_stream = (stream_t *)pv_ctxt; local [all...] |
impeg2d_dec_hdr.c | 60 stream_t *ps_stream; local 61 ps_stream = &ps_dec->s_bit_stream; 62 impeg2d_bit_stream_flush_to_byte_boundary(ps_stream); 64 while ((impeg2d_bit_stream_nxt(ps_stream,START_CODE_PREFIX_LEN) != START_CODE_PREFIX) 67 impeg2d_bit_stream_get(ps_stream,8); 83 stream_t *ps_stream; local 84 ps_stream = &ps_dec->s_bit_stream; 85 impeg2d_bit_stream_flush_to_byte_boundary(ps_stream); 87 while ((impeg2d_bit_stream_nxt(ps_stream,START_CODE_LEN) != u4_start_code_val) && 91 if (impeg2d_bit_stream_get(ps_stream,8) != 0 111 stream_t *ps_stream; local 135 stream_t *ps_stream; local 266 stream_t *ps_stream; local 356 stream_t *ps_stream; local 430 stream_t *ps_stream; local 482 stream_t *ps_stream; local 637 stream_t *ps_stream; local 707 stream_t *ps_stream; local 763 stream_t *ps_stream; local 1382 stream_t *ps_stream; local 1413 stream_t *ps_stream; local 1442 stream_t *ps_stream; local 1495 stream_t *ps_stream; local 1562 stream_t *ps_stream; local 1627 stream_t *ps_stream; local [all...] |
impeg2d_d_pic.c | 66 WORD16 impeg2d_get_luma_dc_diff(stream_t *ps_stream) 71 u2_dc_size = impeg2d_dec_vld_symbol(ps_stream,gai2_impeg2d_dct_dc_size[0], 76 i2_dc_diff = impeg2d_bit_stream_get(ps_stream,u2_dc_size); 112 WORD16 impeg2d_get_chroma_dc_diff(stream_t *ps_stream) 116 u2_dc_size = impeg2d_dec_vld_symbol(ps_stream,gai2_impeg2d_dct_dc_size[1], 121 i2_dc_diff = impeg2d_bit_stream_get(ps_stream,u2_dc_size); 146 stream_t *ps_stream = &ps_dec->s_bit_stream; local 175 while(impeg2d_bit_stream_nxt(ps_stream,MB_STUFFING_CODE_LEN) == MB_STUFFING_CODE && 176 ps_stream->u4_offset < ps_stream->u4_max_offset [all...] |
impeg2d_mv_dec.c | 63 INLINE void impeg2d_dec_1mv(stream_t *ps_stream, WORD16 ai2_pred_mv[], WORD16 ai2_mv[],UWORD16 au2_fCode[], 83 GET_TEMP_STREAM_DATA(u4_buf,u4_buf_nxt,u4_offset,pu4_buf_aligned,ps_stream) 159 PUT_TEMP_STREAM_DATA(u4_buf, u4_buf_nxt, u4_offset, pu4_buf_aligned, ps_stream) 177 e_field_t impeg2d_dec_mv(stream_t *ps_stream, WORD16 ai2_pred_mv[], WORD16 ai2_mv[],UWORD16 au2_f_code[], 183 e_fld = (e_field_t)impeg2d_bit_stream_get_bit(ps_stream); 190 impeg2d_dec_1mv(ps_stream,ai2_pred_mv,ai2_mv,au2_f_code,u2_shift,NULL); 207 stream_t *ps_stream; local 214 ps_stream = &ps_dec->s_bit_stream; 220 e_fld = impeg2d_dec_mv(ps_stream,ps_dec->ai2_pred_mv[e_ref_pic][FIRST],pi2_mv, 247 stream_t *ps_stream; local 287 stream_t *ps_stream; local 364 stream_t *ps_stream; local 422 stream_t *ps_stream; local 471 stream_t *ps_stream; local [all...] |
impeg2d_i_pic.c | 62 stream_t *ps_stream = &ps_dec->s_bit_stream; local 72 if(impeg2d_bit_stream_nxt(ps_stream,1) == 1) //Making sure the increment is one. 74 impeg2d_bit_stream_flush(ps_stream,1); 78 WORD32 i4_mb_add_inc = impeg2d_get_mb_addr_incr(ps_stream); 102 u2_next_bits = impeg2d_bit_stream_nxt(ps_stream,8); 140 impeg2d_bit_stream_flush(ps_stream,u2_bits_to_flush); 147 impeg2d_bit_stream_flush(ps_stream,1); 148 impeg2d_dec_mv(ps_stream,ps_dec->ai2_pred_mv[FORW][FIRST],ps_dec->ai2_mv[FORW][FIRST], 152 if(0 == (impeg2d_bit_stream_get(ps_stream,1)))
|
impeg2d_pnb_pic.c | 65 stream_t *ps_stream = &ps_dec->s_bit_stream; local 72 if(impeg2d_bit_stream_nxt(ps_stream,1) == 1) 74 impeg2d_bit_stream_flush(ps_stream,1); 79 u2_mb_addr_incr = impeg2d_get_mb_addr_incr(ps_stream); 113 u4_next_word = (UWORD16)impeg2d_bit_stream_nxt(ps_stream,16); 168 impeg2d_bit_stream_flush(ps_stream,u2_total_len); 219 cbpValue = gau2_impeg2d_cbp_code[impeg2d_bit_stream_nxt(ps_stream,MB_CBP_LEN)]; 221 impeg2d_bit_stream_flush(ps_stream,(cbpValue >> 8) & 0x0FF); 245 stream_t *ps_stream = &ps_dec->s_bit_stream; local 252 if(impeg2d_bit_stream_nxt(ps_stream,1) == 1 [all...] |
impeg2d_vld.c | 59 WORD16 impeg2d_dec_vld_symbol(stream_t *ps_stream,const WORD16 ai2_code_table[][2], UWORD16 u2_max_len) 67 u2_data = impeg2d_bit_stream_nxt(ps_stream,u2_max_len); 78 /* Flush the appropriate number of bits from the ps_stream */ 79 impeg2d_bit_stream_flush(ps_stream,(UWORD8)(u2_org_max_len - u2_max_len)); 96 WORD16 impeg2d_fast_dec_vld_symbol(stream_t *ps_stream, 111 u2_huffCode = impeg2d_bit_stream_nxt(ps_stream,u2_max_len); 129 impeg2d_bit_stream_flush(ps_stream,u2_len); 146 UWORD16 impeg2d_dec_ac_coeff_zero(stream_t *ps_stream, UWORD16* pu2_sym_len, UWORD16* pu2_sym_val) 152 u4_bits_read = (UWORD16)impeg2d_bit_stream_nxt(ps_stream,MPEG2_AC_COEFF_MAX_LEN); 222 UWORD16 impeg2d_dec_ac_coeff_one(stream_t *ps_stream, UWORD16* pu2_sym_len, UWORD16* pu2_sym_val 489 stream_t *ps_stream = &ps_dec->s_bit_stream; local [all...] |
impeg2d_decoder.c | 174 stream_t *ps_stream; local 186 ps_stream = &ps_dec->s_bit_stream; 189 impeg2d_bit_stream_init(ps_stream,ps_ip->s_ivd_video_decode_ip_t.pv_stream_buffer,u4_size);
|
impeg2d_pic_proc.c | 223 UWORD16 impeg2d_get_mb_addr_incr(stream_t *ps_stream) 226 while (impeg2d_bit_stream_nxt(ps_stream,MB_ESCAPE_CODE_LEN) == MB_ESCAPE_CODE && 227 ps_stream->u4_offset < ps_stream->u4_max_offset) 229 impeg2d_bit_stream_flush(ps_stream,MB_ESCAPE_CODE_LEN); 232 u2_mb_addr_incr += impeg2d_dec_vld_symbol(ps_stream,gai2_impeg2d_mb_addr_incr,MB_ADDR_INCR_LEN) +
|
impeg2d_mc.c | 447 stream_t *ps_stream; local 449 ps_stream = &ps_dec->s_bit_stream; 451 impeg2d_dec_mv(ps_stream,ps_dec->ai2_pred_mv[FORW][FIRST],ps_dec->ai2_mv[FORW][FIRST], 460 if(0 == (impeg2d_bit_stream_get(ps_stream,1))) [all...] |
/external/libavc/decoder/ |
ih264d_bitstrm.c | 63 UWORD8 ih264d_get_bit_h264(dec_bit_stream_t *ps_stream) 67 GETBIT(u4_code, ps_stream->u4_ofst, ps_stream->pu4_buffer);
|
ih264d_cabac.c | 314 dec_bit_stream_t * ps_stream) 334 ps_stream->u4_ofst += u4_clz; 348 pu4_buffer = ps_stream->pu4_buffer; 349 u4_offset = ps_stream->u4_ofst; 353 ps_stream->u4_ofst = u4_offset;
|
/external/libavc/encoder/ |
ih264e_cabac.c | 249 bitstrm_t *ps_stream = ps_cabac_ctxt->ps_bitstrm; local 253 UWORD8 *pu1_strm_buf = ps_stream->pu1_strm_buffer; 254 UWORD32 u4_strm_buf_offset = ps_stream->u4_strm_buf_offset; 255 WORD32 zero_run = ps_stream->i4_zero_bytes_run; 321 ps_stream->u4_strm_buf_offset = u4_strm_buf_offset; 322 ps_stream->i4_zero_bytes_run = 0; 324 ps_stream->u4_cur_word = 0; 325 ps_stream->i4_bits_left_in_cw = WORD_SIZE; 356 bitstrm_t *ps_stream = ps_cabac_ctxt->ps_bitstrm; local 390 UWORD8 *pu1_strm_buf = ps_stream->pu1_strm_buffer [all...] |