/external/libmpeg2/decoder/ |
D | impeg2d_bitstream.c | 149 UWORD32 u4_bit,u4_offset,u4_temp; in impeg2d_bit_stream_get_bit() local 170 u4_temp = *(ps_stream->pu4_buf_aligned)++; in impeg2d_bit_stream_get_bit() 171 CONV_LE_TO_BE(ps_stream->u4_buf_nxt,u4_temp) in impeg2d_bit_stream_get_bit() 262 UWORD32 u4_bits,u4_offset,u4_temp; in impeg2d_bit_stream_nxt() local 275 u4_temp = ps_stream->u4_buf_nxt; in impeg2d_bit_stream_nxt() 278 u4_temp = (u4_temp >> (BITS_IN_INT - 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() 337 size_t u4_temp; in impeg2d_bit_stream_num_bits_read() local 339 u4_temp = (size_t)(u4_no_of_bitsstream->pv_bs_buf); in impeg2d_bit_stream_num_bits_read() 340 u4_temp &= 0x3; in impeg2d_bit_stream_num_bits_read() [all …]
|
D | impeg2d_bitstream.h | 71 UWORD32 u4_temp; \ 77 u4_temp = *(pu4_buf_aligned)++; \ 79 CONV_LE_TO_BE(u4_buf_nxt,u4_temp) \ 106 UWORD32 u4_temp; \ 116 u4_temp = u4_buf_nxt; \ 119 u4_temp = (u4_temp >> (BITS_IN_INT - u4_bit_ptr)); \ 124 u4_bits = (u4_bits >> (32 - no_of_bits)) | u4_temp; \
|
/external/libavc/decoder/ |
D | ih264d_parse_headers.c | 280 UWORD32 u4_temp; in ih264d_parse_pps() local 293 u4_temp = ih264d_uev(pu4_bitstrm_ofst, pu4_bitstrm_buf); in ih264d_parse_pps() 294 if(u4_temp & MASK_ERR_PIC_SET_ID) in ih264d_parse_pps() 297 *ps_pps = ps_dec->ps_pps[u4_temp]; in ih264d_parse_pps() 298 ps_pps->u1_pic_parameter_set_id = (WORD8)u4_temp; in ih264d_parse_pps() 310 u4_temp = ih264d_uev(pu4_bitstrm_ofst, pu4_bitstrm_buf); in ih264d_parse_pps() 311 if(u4_temp & MASK_ERR_SEQ_SET_ID) in ih264d_parse_pps() 313 COPYTHECONTEXT("PPS: seq_parameter_set_id",u4_temp); in ih264d_parse_pps() 314 ps_sps = &ps_dec->ps_sps[u4_temp]; in ih264d_parse_pps() 580 UWORD32 u4_temp; in ih264d_parse_sps() local [all …]
|
D | ih264d_parse_islice.c | 94 UWORD32 u4_temp; in ih264d_parse_imb_cavlc() local 110 u4_temp = ps_dec->u1_mb_ngbr_availablity; in ih264d_parse_imb_cavlc() 111 ui_is_top_mb_available = BOOLEAN(u4_temp & TOP_MB_AVAILABLE_MASK); in ih264d_parse_imb_cavlc() 112 ui_is_left_mb_available = BOOLEAN(u4_temp & LEFT_MB_AVAILABLE_MASK); in ih264d_parse_imb_cavlc() 162 UWORD32 u4_word, u4_ldz, u4_temp; in ih264d_parse_imb_cavlc() local 179 u4_temp = ((1 << u4_ldz) + u4_word - 1); in ih264d_parse_imb_cavlc() 180 if(u4_temp > 3) in ih264d_parse_imb_cavlc() 184 ps_cur_mb_info->u1_chroma_pred_mode = u4_temp; in ih264d_parse_imb_cavlc() 298 u4_temp = ((1 << u4_ldz) + u4_word - 1); in ih264d_parse_imb_cavlc() 302 if(u4_temp > 3) in ih264d_parse_imb_cavlc() [all …]
|
D | ih264d_process_intra_mb.c | 118 UWORD32 u4_temp; in ih264d_read_intra_pred_modes() local 121 GETBIT(u4_temp, ps_bitstrm->u4_ofst, ps_bitstrm->pu4_buffer); in ih264d_read_intra_pred_modes() 122 *pu1_prev_intra4x4_pred_mode_flag = (UWORD8)u4_temp; 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() 127 *(pu1_rem_intra4x4_pred_mode) = (UWORD8)u4_temp; in ih264d_read_intra_pred_modes() 142 UWORD32 u4_temp; in ih264d_read_intra_pred_modes() local 143 GETBIT(u4_temp, ps_bitstrm->u4_ofst, ps_bitstrm->pu4_buffer); in ih264d_read_intra_pred_modes() 144 *pu1_prev_intra4x4_pred_mode_flag = (UWORD8)u4_temp; 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() 149 (*pu1_rem_intra4x4_pred_mode) = (UWORD8)u4_temp; in ih264d_read_intra_pred_modes() [all …]
|
D | ih264d_parse_slice.c | 97 UWORD32 u4_temp; in ih264d_form_pred_weight_matrix() local 138 u4_temp = (UWORD32)pui32_weight_offset_l0[0]; in ih264d_form_pred_weight_matrix() 139 pu4_mat_iwt_ofst[0] = u4_temp; in ih264d_form_pred_weight_matrix() 140 u4_temp = (UWORD32)pui32_weight_offset_l0[1]; in ih264d_form_pred_weight_matrix() 141 pu4_mat_iwt_ofst[2] = u4_temp; in ih264d_form_pred_weight_matrix() 142 u4_temp = (UWORD32)pui32_weight_offset_l0[2]; in ih264d_form_pred_weight_matrix() 143 pu4_mat_iwt_ofst[4] = u4_temp; in ih264d_form_pred_weight_matrix() 1094 UWORD32 u4_temp; in ih264d_parse_decode_slice() local 1118 u4_temp = ih264d_uev(pu4_bitstrm_ofst, pu4_bitstrm_buf); in ih264d_parse_decode_slice() 1120 if(u4_temp > 9) in ih264d_parse_decode_slice() [all …]
|
D | ih264d_parse_cavlc.c | 2517 UWORD32 u4_temp; in ih264d_parse_residual4x4_cavlc() local 2521 ps_cur_mb_info->u1_mb_field_decodingflag, &u4_temp); in ih264d_parse_residual4x4_cavlc() 2524 ui16_csbp = u4_temp; in ih264d_parse_residual4x4_cavlc() 2546 UWORD32 u4_temp = (u4_nbr_avl | 0x1); in ih264d_parse_residual4x4_cavlc() local 2547 ret = pf_cavlc_parse_8x8block[u4_temp]( in ih264d_parse_residual4x4_cavlc() 2551 ps_cur_mb_info->u1_mb_field_decodingflag, &u4_temp); in ih264d_parse_residual4x4_cavlc() 2554 ui16_csbp |= (u4_temp << 2); in ih264d_parse_residual4x4_cavlc() 2576 UWORD32 u4_temp = (u4_nbr_avl | 0x2); in ih264d_parse_residual4x4_cavlc() local 2577 ret = pf_cavlc_parse_8x8block[u4_temp]( in ih264d_parse_residual4x4_cavlc() 2580 ps_cur_mb_info->u1_mb_field_decodingflag, &u4_temp); in ih264d_parse_residual4x4_cavlc() [all …]
|
D | ih264d_parse_cabac.c | 1277 UWORD32 u4_temp = ih264d_cabac_parse_8x8block(pi2_coeff_block, in ih264d_parse_residual4x4_cabac() local 1282 ui16_csbp |= (u4_temp << 2); in ih264d_parse_residual4x4_cabac() 1296 UWORD32 u4_temp = ih264d_cabac_parse_8x8block( in ih264d_parse_residual4x4_cabac() local 1299 ui16_csbp |= (u4_temp << 8); in ih264d_parse_residual4x4_cabac() 1313 UWORD32 u4_temp = ih264d_cabac_parse_8x8block( in ih264d_parse_residual4x4_cabac() local 1316 ui16_csbp |= (u4_temp << 10); in ih264d_parse_residual4x4_cabac() 1580 UWORD32 u4_temp; in ih264d_parse_residual4x4_cabac() local 1593 u4_temp = ih264d_cabac_parse_8x8block(pi2_coeff_block, 2, in ih264d_parse_residual4x4_cabac() 1597 u2_chroma_csbp |= (u4_temp << 4); in ih264d_parse_residual4x4_cabac()
|
D | ih264d_parse_pslice.c | 1288 UWORD32 u4_word, u4_ldz, u4_temp; in ih264d_parse_inter_slice_data_cavlc() local 1305 u4_temp = ((1 << u4_ldz) + u4_word - 1); in ih264d_parse_inter_slice_data_cavlc() 1307 if(u4_temp > (UWORD32)(25 + u1_mb_threshold)) in ih264d_parse_inter_slice_data_cavlc() 1309 u1_mb_type = u4_temp; in ih264d_parse_inter_slice_data_cavlc() 1931 UWORD32 u4_temp; in ih264d_parse_pslice() local 2121 u4_temp = ih264d_uev(pu4_bitstrm_ofst, pu4_bitstrm_buf); in ih264d_parse_pslice() 2123 if(u4_temp > MAX_CABAC_INIT_IDC) in ih264d_parse_pslice() 2127 ps_cur_slice->u1_cabac_init_idc = u4_temp; in ih264d_parse_pslice() 2144 u4_temp = ih264d_uev(pu4_bitstrm_ofst, pu4_bitstrm_buf); in ih264d_parse_pslice() 2145 if(u4_temp > SLICE_BOUNDARY_DBLK_DISABLED) in ih264d_parse_pslice() [all …]
|
D | ih264d_process_pslice.c | 828 UWORD32 u4_temp; in ih264d_parse_pred_weight_table() local 831 u4_temp = ih264d_uev(pu4_bitstrm_ofst, pu4_bitstrm_buf); in ih264d_parse_pred_weight_table() 832 if(u4_temp > MAX_LOG2_WEIGHT_DENOM) in ih264d_parse_pred_weight_table() 836 uc_luma_log2_weight_denom = u4_temp; in ih264d_parse_pred_weight_table() 840 u4_temp = ih264d_uev(pu4_bitstrm_ofst, pu4_bitstrm_buf); in ih264d_parse_pred_weight_table() 841 if(u4_temp > MAX_LOG2_WEIGHT_DENOM) in ih264d_parse_pred_weight_table() 845 uc_chroma_log2_weight_denom = u4_temp; in ih264d_parse_pred_weight_table()
|
D | ih264d_parse_bslice.c | 1359 UWORD32 u4_temp, ui_temp1; in ih264d_parse_bslice() local 1595 u4_temp = ih264d_uev(pu4_bitstrm_ofst, pu4_bitstrm_buf); in ih264d_parse_bslice() 1596 if(u4_temp > MAX_CABAC_INIT_IDC) in ih264d_parse_bslice() 1600 ps_slice->u1_cabac_init_idc = u4_temp; in ih264d_parse_bslice() 1617 u4_temp = ih264d_uev(pu4_bitstrm_ofst, pu4_bitstrm_buf); in ih264d_parse_bslice() 1618 if(u4_temp > SLICE_BOUNDARY_DBLK_DISABLED) in ih264d_parse_bslice() 1621 } COPYTHECONTEXT("SH: disable_deblocking_filter_idc", u4_temp); in ih264d_parse_bslice() 1622 ps_slice->u1_disable_dblk_filter_idc = u4_temp; in ih264d_parse_bslice() 1623 if(u4_temp != 1) in ih264d_parse_bslice()
|
D | ih264d_compute_bs.c | 141 UWORD32 u4_reordered_vert_bs2_dec, u4_temp; in ih264d_fill_bs2_horz_vert() local 157 u4_temp = pu2_4x4_v2h_reorder[(u4_vert_bs2_dec >> 4) & 0xF]; in ih264d_fill_bs2_horz_vert() 158 u4_reordered_vert_bs2_dec |= (u4_temp << 1); in ih264d_fill_bs2_horz_vert() 159 u4_temp = pu2_4x4_v2h_reorder[(u4_vert_bs2_dec >> 8) & 0xF]; in ih264d_fill_bs2_horz_vert() 160 u4_reordered_vert_bs2_dec |= (u4_temp << 2); in ih264d_fill_bs2_horz_vert() 161 u4_temp = pu2_4x4_v2h_reorder[(u4_vert_bs2_dec >> 12) & 0xF]; in ih264d_fill_bs2_horz_vert() 162 u4_reordered_vert_bs2_dec |= (u4_temp << 3); in ih264d_fill_bs2_horz_vert()
|
/external/libhevc/decoder/ |
D | ihevcd_bitstream.c | 111 UWORD32 u4_temp; in ihevcd_bits_init() local 115 u4_temp = *pu4_buf++; in ihevcd_bits_init() 116 u4_cur_word = ITT_BIG_ENDIAN(u4_temp); in ihevcd_bits_init() 117 u4_temp = *pu4_buf++; in ihevcd_bits_init() 118 u4_nxt_word = ITT_BIG_ENDIAN(u4_temp); in ihevcd_bits_init()
|
/external/libavc/encoder/ |
D | ih264e_deblk.c | 187 UWORD32 u4_reordered_vert_bs_enc, u4_temp; in ih264e_fill_bs_1mv_1ref_non_mbaff() local 227 u4_temp = ih264e_gu2_4x4_v2h_reorder[(u4_vert_bs_enc >> 4) & 0xF]; in ih264e_fill_bs_1mv_1ref_non_mbaff() 228 u4_reordered_vert_bs_enc |= (u4_temp << 1); in ih264e_fill_bs_1mv_1ref_non_mbaff() 230 u4_temp = ih264e_gu2_4x4_v2h_reorder[(u4_vert_bs_enc >> 8) & 0xF]; in ih264e_fill_bs_1mv_1ref_non_mbaff() 231 u4_reordered_vert_bs_enc |= (u4_temp << 2); in ih264e_fill_bs_1mv_1ref_non_mbaff() 233 u4_temp = ih264e_gu2_4x4_v2h_reorder[(u4_vert_bs_enc >> 12) & 0xF]; in ih264e_fill_bs_1mv_1ref_non_mbaff() 234 u4_reordered_vert_bs_enc |= (u4_temp << 3); in ih264e_fill_bs_1mv_1ref_non_mbaff()
|
D | ih264e_cabac.h | 57 UWORD32 u4_temp = (u4_input); \ 63 ((u4_temp >> i) & 0x01); \
|