/external/libhevc/decoder/ |
D | ihevcd_cabac.c | 151 BITS_GET(ps_cabac->u4_ofst, ps_bitstrm->pu4_buf, ps_bitstrm->u4_bit_ofst, in ihevcd_cabac_init() 156 BITS_GET(ps_cabac->u4_ofst, ps_bitstrm->pu4_buf, ps_bitstrm->u4_bit_ofst, in ihevcd_cabac_init() 165 DEBUG_RANGE_OFST("init", ps_cabac->u4_range, ps_cabac->u4_ofst); in ihevcd_cabac_init() 170 if(ps_cabac->u4_ofst >= ps_cabac->u4_range) in ihevcd_cabac_init() 191 BITS_GET(ps_cabac->u4_ofst, ps_bitstrm->pu4_buf, ps_bitstrm->u4_bit_ofst, in ihevcd_cabac_reset() 196 BITS_GET(ps_cabac->u4_ofst, ps_bitstrm->pu4_buf, ps_bitstrm->u4_bit_ofst, in ihevcd_cabac_reset() 236 UWORD32 u4_ofst = ps_cabac->u4_ofst; in ihevcd_cabac_decode_bin() local 267 if(u4_ofst >= u4_range) in ihevcd_cabac_decode_bin() 270 u4_ofst -= u4_range; in ihevcd_cabac_decode_bin() 291 u4_ofst <<= numbits; in ihevcd_cabac_decode_bin() [all …]
|
D | ihevcd_cabac.h | 62 UWORD32 u4_ofst = ps_cabac->u4_ofst; \ 85 if(u4_ofst >= u4_range) \ 88 u4_ofst -= u4_range; \ 106 u4_ofst <<= numbits; \ 107 u4_ofst |= u4_bits; \ 113 ps_cabac->u4_ofst = u4_ofst; \ 126 UWORD32 u4_ofst = ps_cabac->u4_ofst; \ 136 u4_ofst <<= 1; \ 137 u4_ofst |= u4_bits; \ 140 if(u4_ofst >= u4_range) \ [all …]
|
D | ihevcd_structs.h | 109 UWORD32 u4_ofst; member
|
/external/libavc/decoder/ |
D | ih264d_bitstrm.c | 67 GETBIT(u4_code, ps_stream->u4_ofst, ps_stream->pu4_buffer); in ih264d_get_bit_h264() 94 GETBITS(u4_code, ps_bitstrm->u4_ofst, ps_bitstrm->pu4_buffer, u4_num_bits); in ih264d_get_bits_h264() 117 UWORD32 u4_word_off = (ps_bitstrm->u4_ofst >> 5); in ih264d_next_bits_h264() 118 UWORD32 u4_bit_off = ps_bitstrm->u4_ofst & 0x1F; in ih264d_next_bits_h264() 152 ps_bitstrm->u4_ofst += u4_num_bits; in ih264d_flush_bits_h264() 154 if(ps_bitstrm->u4_ofst > ps_bitstrm->u4_max_ofst) in ih264d_flush_bits_h264() 177 if(ps_bitstrm->u4_ofst & 0x07) in ih264d_check_byte_aligned()
|
D | ih264d_cabac.c | 68 NEXTBITS(u4_code_int_val_ofst, ps_bitstrm->u4_ofst, ps_bitstrm->pu4_buffer, in ih264d_init_cabac_dec_envirnoment() 70 FLUSHBITS(ps_bitstrm->u4_ofst, 9) in ih264d_init_cabac_dec_envirnoment() 72 if(ps_bitstrm->u4_ofst > ps_bitstrm->u4_max_ofst) in ih264d_init_cabac_dec_envirnoment() 279 u4_offset = ps_bitstrm->u4_ofst; in ih264d_decode_bin() 284 ps_bitstrm->u4_ofst = u4_offset; in ih264d_decode_bin() 334 ps_stream->u4_ofst += u4_clz; in ih264d_decode_terminate() 349 u4_offset = ps_stream->u4_ofst; in ih264d_decode_terminate() 353 ps_stream->u4_ofst = u4_offset; in ih264d_decode_terminate() 637 u4_offset = ps_bitstrm->u4_ofst; in ih264d_decode_bypass_bins_unary() 641 ps_bitstrm->u4_ofst = u4_offset; in ih264d_decode_bypass_bins_unary() [all …]
|
D | ih264d_parse_cavlc.c | 232 ps_bitstrm->u4_ofst = *pi_bitstrm_ofst; in ih264d_uvlc() 258 ps_bitstrm->u4_ofst = *pi_bitstrm_ofst; in ih264d_uvlc() 266 ps_bitstrm->u4_ofst = *pi_bitstrm_ofst; in ih264d_uvlc() 308 UWORD32 u4_bitstream_offset = ps_bitstrm->u4_ofst; in ih264d_cavlc_4x4res_block_totalcoeff_1() 407 ps_bitstrm->u4_ofst = u4_bitstream_offset; in ih264d_cavlc_4x4res_block_totalcoeff_1() 443 UWORD32 u4_bitstream_offset = ps_bitstrm->u4_ofst; in ih264d_cavlc_4x4res_block_totalcoeff_2to10() 689 ps_bitstrm->u4_ofst = u4_bitstream_offset; in ih264d_cavlc_4x4res_block_totalcoeff_2to10() 725 UWORD32 u4_bitstream_offset = ps_bitstrm->u4_ofst; in ih264d_cavlc_4x4res_block_totalcoeff_11to16() 970 ps_bitstrm->u4_ofst = u4_bitstream_offset; in ih264d_cavlc_4x4res_block_totalcoeff_11to16() 1001 UWORD32 u4_bitstream_offset = ps_bitstrm->u4_ofst; in ih264d_rest_of_residual_cav_chroma_dc_block() [all …]
|
D | ih264d_sei.c | 78 UWORD32 *pu4_bitstrm_ofst = &ps_bitstrm->u4_ofst; in ih264d_parse_buffering_period() 185 u4_start_offset = ps_bitstrm->u4_ofst; in ih264d_parse_pic_timing() 199 u4_bits_consumed = ps_bitstrm->u4_ofst - u4_start_offset; in ih264d_parse_pic_timing() 233 UWORD32 *pu4_bitstrm_ofst = &ps_bitstrm->u4_ofst; in ih264d_parse_recovery_point() 384 while(ps_bitstrm->u4_ofst < ps_bitstrm->u4_max_ofst); in ih264d_parse_sei_message()
|
D | ih264d_bitstrm.h | 58 UWORD32 u4_ofst; /* Offset in the buffer for the current bit */ member 92 (ps_bitstrm->u4_ofst < ps_bitstrm->u4_max_ofst) 94 (ps_bitstrm->u4_ofst > ps_bitstrm->u4_max_ofst)
|
D | ih264d_parse_islice.c | 102 UWORD32 *pu4_bitstrm_ofst = &ps_bitstrm->u4_ofst; in ih264d_parse_imb_cavlc() 762 UWORD32 *pu4_bitstrm_ofst = &ps_bitstrm->u4_ofst; in ih264d_parse_islice_data_cavlc() 996 if(ps_bitstrm->u4_ofst & 0x07) in ih264d_parse_islice_data_cabac() 998 ps_bitstrm->u4_ofst += 8; in ih264d_parse_islice_data_cabac() 999 ps_bitstrm->u4_ofst &= 0xFFFFFFF8; in ih264d_parse_islice_data_cabac() 1229 if(ps_bitstrm->u4_ofst & 0x07) in ih264d_parse_ipcm_mb() 1231 ps_bitstrm->u4_ofst += 8; in ih264d_parse_ipcm_mb() 1232 ps_bitstrm->u4_ofst &= 0xFFFFFFF8; in ih264d_parse_ipcm_mb() 1375 UWORD32 *pu4_bitstrm_ofst = &ps_dec->ps_bitstrm->u4_ofst; in ih264d_parse_islice() 1397 ps_dec->ps_bitstrm->u4_ofst += ps_dec->u4_bitoffset; in ih264d_parse_islice()
|
D | ih264d_vui.c | 72 UWORD32 *pu4_bitstrm_ofst = &ps_bitstrm->u4_ofst; in ih264d_parse_hrd_parametres() 129 UWORD32 *pu4_bitstrm_ofst = &ps_bitstrm->u4_ofst; in ih264d_parse_vui_parametres()
|
D | ih264d_cabac.h | 254 u4_offset = p_DecBitStream_m->u4_ofst; \ 262 p_DecBitStream_m->u4_ofst = u4_offset; \
|
D | ih264d_utils.c | 1016 buf += ps_dec->disp_bufs[i].u4_ofst[0]; in ih264d_get_next_display_field() 1021 buf += ps_dec->disp_bufs[i].u4_ofst[1]; in ih264d_get_next_display_field() 1027 buf += ps_dec->disp_bufs[i].u4_ofst[2]; in ih264d_get_next_display_field() 1053 buf += ps_dec->disp_bufs[i].u4_ofst[0]; in ih264d_get_next_display_field() 1058 buf += ps_dec->disp_bufs[i].u4_ofst[1]; in ih264d_get_next_display_field() 1064 buf += ps_dec->disp_bufs[i].u4_ofst[2]; in ih264d_get_next_display_field() 1728 ps_dec->disp_bufs[i].u4_ofst[0] = u4_offset; in ih264d_create_pic_buffers() 1740 ps_dec->disp_bufs[i].u4_ofst[1] = u4_offset; in ih264d_create_pic_buffers() 1741 ps_dec->disp_bufs[i].u4_ofst[2] = u4_offset; in ih264d_create_pic_buffers() 1756 ps_dec->disp_bufs[i].u4_ofst[1] = u4_offset; in ih264d_create_pic_buffers() [all …]
|
D | ih264d_parse_pslice.c | 91 UWORD32 *pu4_bitstrm_ofst = &ps_bitstrm->u4_ofst; in ih264d_parse_pmb_cavlc() 858 if(ps_bitstrm->u4_ofst & 0x07) in ih264d_parse_inter_slice_data_cabac() 860 ps_bitstrm->u4_ofst += 8; in ih264d_parse_inter_slice_data_cabac() 861 ps_bitstrm->u4_ofst &= 0xFFFFFFF8; in ih264d_parse_inter_slice_data_cabac() 1144 UWORD32 *pu4_bitstrm_ofst = &ps_bitstrm->u4_ofst; in ih264d_parse_inter_slice_data_cavlc() 1460 UWORD32 *pu4_bitstrm_ofst = &ps_bitstrm->u4_ofst; in ih264d_mark_err_slice_skip() 1921 UWORD32 *pu4_bitstrm_ofst = &ps_bitstrm->u4_ofst; in ih264d_parse_pslice() 2111 ps_bitstrm->u4_ofst += ps_dec->u4_bitoffset; in ih264d_parse_pslice()
|
D | ih264d_parse_headers.c | 198 UWORD32 *pu4_bitstrm_ofst = &ps_dec->ps_bitstrm->u4_ofst; in ih264d_parse_pps() 377 if(ps_bitstrm->u4_ofst > ps_bitstrm->u4_max_ofst + 8) in ih264d_parse_pps() 487 UWORD32 *pu4_bitstrm_ofst = &ps_bitstrm->u4_ofst; in ih264d_parse_sps() 996 if (ps_bitstrm->u4_ofst > ps_bitstrm->u4_max_ofst) in ih264d_parse_sps()
|
D | ih264d_parse_mb_header.c | 811 u4_offset = ps_bitstrm->u4_ofst; in ih264d_parse_ctx_cbp_cabac() 1091 ps_bitstrm->u4_ofst = u4_offset; in ih264d_parse_ctx_cbp_cabac() 1334 u4_offset = ps_bitstrm->u4_ofst; in ih264d_parse_mvd_cabac() 1338 ps_bitstrm->u4_ofst = u4_offset; in ih264d_parse_mvd_cabac()
|
D | ih264d_parse_cabac.c | 85 u4_offset = ps_bitstrm->u4_ofst; in ih264d_read_coeff4x4_cabac() 566 ps_bitstrm->u4_ofst = u4_offset; in ih264d_read_coeff4x4_cabac() 633 u4_offset = ps_bitstrm->u4_ofst; in ih264d_read_coeff8x8_cabac() 1024 ps_bitstrm->u4_ofst = u4_offset; in ih264d_read_coeff8x8_cabac()
|
D | ih264d_quant_scaling.c | 54 UWORD32 *pu4_bitstrm_ofst = &ps_bitstrm->u4_ofst; in ih264d_scaling_list()
|
D | ih264d_nal.c | 346 ps_bitstrm->u4_ofst = 0; in ih264d_process_nal_unit()
|
D | ih264d_process_intra_mb.c | 121 GETBIT(u4_temp, ps_bitstrm->u4_ofst, ps_bitstrm->pu4_buffer); in ih264d_read_intra_pred_modes() 125 GETBITS(u4_temp, ps_bitstrm->u4_ofst, ps_bitstrm->pu4_buffer, 3); in ih264d_read_intra_pred_modes() 143 GETBIT(u4_temp, ps_bitstrm->u4_ofst, ps_bitstrm->pu4_buffer); in ih264d_read_intra_pred_modes() 147 GETBITS(u4_temp, ps_bitstrm->u4_ofst, ps_bitstrm->pu4_buffer, 3); in ih264d_read_intra_pred_modes()
|
D | ih264d_dpb_mgr.c | 731 UWORD32 *pu4_bitstrm_ofst = &ps_dec->ps_bitstrm->u4_ofst; in ih264d_ref_idx_reordering() 853 UWORD32 *pu4_bitstrm_ofst = &ps_bitstrm->u4_ofst; in ih264d_read_mmco_commands() 854 UWORD32 u4_bit_ofst = ps_dec->ps_bitstrm->u4_ofst; in ih264d_read_mmco_commands() 961 u4_bit_ofst = ps_dec->ps_bitstrm->u4_ofst - u4_bit_ofst; in ih264d_read_mmco_commands()
|
D | ih264d_parse_bslice.c | 81 UWORD32 *pu4_bitstrm_ofst = &ps_bitstrm->u4_ofst; in ih264d_parse_bmb_non_direct_cavlc() 753 UWORD32 *pu4_bitstrm_ofst = &ps_bitstrm->u4_ofst; in ih264d_parse_bmb_cavlc() 1356 UWORD32 *pu4_bitstrm_ofst = &ps_bitstrm->u4_ofst; in ih264d_parse_bslice() 1588 ps_bitstrm->u4_ofst += ps_dec->u4_bitoffset; in ih264d_parse_bslice()
|
D | ih264d_process_pslice.c | 817 UWORD32 *pu4_bitstrm_ofst = &ps_bitstrm->u4_ofst; in ih264d_parse_pred_weight_table()
|
D | ih264d_structs.h | 662 UWORD32 u4_ofst[3]; member
|
D | ih264d_parse_slice.c | 1076 UWORD32 *pu4_bitstrm_ofst = &ps_bitstrm->u4_ofst; in ih264d_parse_decode_slice()
|