/external/libavc/decoder/ |
D | ih264d_parse_headers.c | 199 UWORD32 u4_temp; in ih264d_parse_pps() local 209 u4_temp = ih264d_uev(pu4_bitstrm_ofst, pu4_bitstrm_buf); in ih264d_parse_pps() 210 if(u4_temp & MASK_ERR_PIC_SET_ID) in ih264d_parse_pps() 213 *ps_pps = ps_dec->ps_pps[u4_temp]; in ih264d_parse_pps() 214 ps_pps->u1_pic_parameter_set_id = (WORD8)u4_temp; in ih264d_parse_pps() 226 u4_temp = ih264d_uev(pu4_bitstrm_ofst, pu4_bitstrm_buf); in ih264d_parse_pps() 227 if(u4_temp & MASK_ERR_SEQ_SET_ID) in ih264d_parse_pps() 229 COPYTHECONTEXT("PPS: seq_parameter_set_id",u4_temp); in ih264d_parse_pps() 230 ps_sps = &ps_dec->ps_sps[u4_temp]; in ih264d_parse_pps() 245 u4_temp = ih264d_uev(pu4_bitstrm_ofst, pu4_bitstrm_buf) + 1; in ih264d_parse_pps() [all …]
|
D | ih264d_parse_islice.c | 93 UWORD32 u4_temp; in ih264d_parse_imb_cavlc() local 109 u4_temp = ps_dec->u1_mb_ngbr_availablity; in ih264d_parse_imb_cavlc() 110 ui_is_top_mb_available = BOOLEAN(u4_temp & TOP_MB_AVAILABLE_MASK); in ih264d_parse_imb_cavlc() 111 ui_is_left_mb_available = BOOLEAN(u4_temp & LEFT_MB_AVAILABLE_MASK); in ih264d_parse_imb_cavlc() 161 UWORD32 u4_word, u4_ldz, u4_temp; in ih264d_parse_imb_cavlc() local 178 u4_temp = ((1 << u4_ldz) + u4_word - 1); in ih264d_parse_imb_cavlc() 179 if(u4_temp > 3) in ih264d_parse_imb_cavlc() 183 ps_cur_mb_info->u1_chroma_pred_mode = u4_temp; in ih264d_parse_imb_cavlc() 297 u4_temp = ((1 << u4_ldz) + u4_word - 1); in ih264d_parse_imb_cavlc() 301 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_cavlc.c | 2504 UWORD32 u4_temp; in ih264d_parse_residual4x4_cavlc() local 2508 ps_cur_mb_info->u1_mb_field_decodingflag, &u4_temp); in ih264d_parse_residual4x4_cavlc() 2511 ui16_csbp = u4_temp; in ih264d_parse_residual4x4_cavlc() 2533 UWORD32 u4_temp = (u4_nbr_avl | 0x1); in ih264d_parse_residual4x4_cavlc() local 2534 ret = pf_cavlc_parse_8x8block[u4_temp]( in ih264d_parse_residual4x4_cavlc() 2538 ps_cur_mb_info->u1_mb_field_decodingflag, &u4_temp); in ih264d_parse_residual4x4_cavlc() 2541 ui16_csbp |= (u4_temp << 2); in ih264d_parse_residual4x4_cavlc() 2563 UWORD32 u4_temp = (u4_nbr_avl | 0x2); in ih264d_parse_residual4x4_cavlc() local 2564 ret = pf_cavlc_parse_8x8block[u4_temp]( in ih264d_parse_residual4x4_cavlc() 2567 ps_cur_mb_info->u1_mb_field_decodingflag, &u4_temp); in ih264d_parse_residual4x4_cavlc() [all …]
|
D | ih264d_parse_slice.c | 96 UWORD32 u4_temp; in ih264d_form_pred_weight_matrix() local 137 u4_temp = (UWORD32)pui32_weight_offset_l0[0]; in ih264d_form_pred_weight_matrix() 138 pu4_mat_iwt_ofst[0] = u4_temp; in ih264d_form_pred_weight_matrix() 139 u4_temp = (UWORD32)pui32_weight_offset_l0[1]; in ih264d_form_pred_weight_matrix() 140 pu4_mat_iwt_ofst[2] = u4_temp; in ih264d_form_pred_weight_matrix() 141 u4_temp = (UWORD32)pui32_weight_offset_l0[2]; in ih264d_form_pred_weight_matrix() 142 pu4_mat_iwt_ofst[4] = u4_temp; in ih264d_form_pred_weight_matrix() 1042 UWORD32 u4_temp; in ih264d_parse_decode_slice() local 1067 u4_temp = ih264d_uev(pu4_bitstrm_ofst, pu4_bitstrm_buf); in ih264d_parse_decode_slice() 1069 if(u4_temp > 9) in ih264d_parse_decode_slice() [all …]
|
D | ih264d_parse_pslice.c | 1279 UWORD32 u4_word, u4_ldz, u4_temp; in ih264d_parse_inter_slice_data_cavlc() local 1296 u4_temp = ((1 << u4_ldz) + u4_word - 1); in ih264d_parse_inter_slice_data_cavlc() 1298 if(u4_temp > (UWORD32)(25 + u1_mb_threshold)) in ih264d_parse_inter_slice_data_cavlc() 1300 u1_mb_type = u4_temp; in ih264d_parse_inter_slice_data_cavlc() 1907 UWORD32 u4_temp; in ih264d_parse_pslice() local 1935 u4_temp = ps_dec->ps_cur_pps->u1_num_ref_idx_lx_active[0]; in ih264d_parse_pslice() 1938 u4_temp = ih264d_uev(pu4_bitstrm_ofst, pu4_bitstrm_buf) + 1; in ih264d_parse_pslice() 1946 if(u4_temp > u1_max_ref_idx) in ih264d_parse_pslice() 1950 ps_cur_slice->u1_num_ref_idx_lx_active[0] = u4_temp; in ih264d_parse_pslice() 2119 u4_temp = ih264d_uev(pu4_bitstrm_ofst, pu4_bitstrm_buf); in ih264d_parse_pslice() [all …]
|
D | ih264d_parse_bslice.c | 1357 UWORD32 u4_temp, ui_temp1; in ih264d_parse_bslice() local 1383 u4_temp = ps_dec->ps_cur_pps->u1_num_ref_idx_lx_active[0]; in ih264d_parse_bslice() 1387 u4_temp = 1 + ih264d_uev(pu4_bitstrm_ofst, pu4_bitstrm_buf); in ih264d_parse_bslice() 1389 u4_temp - 1); in ih264d_parse_bslice() 1401 if((u4_temp > u1_max_ref_idx) || (ui_temp1 > u1_max_ref_idx)) in ih264d_parse_bslice() 1405 ps_slice->u1_num_ref_idx_lx_active[0] = u4_temp; in ih264d_parse_bslice() 1608 u4_temp = ih264d_uev(pu4_bitstrm_ofst, pu4_bitstrm_buf); in ih264d_parse_bslice() 1609 if(u4_temp > MAX_CABAC_INIT_IDC) in ih264d_parse_bslice() 1613 ps_slice->u1_cabac_init_idc = u4_temp; in ih264d_parse_bslice() 1630 u4_temp = ih264d_uev(pu4_bitstrm_ofst, pu4_bitstrm_buf); in ih264d_parse_bslice() [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_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 & MASK_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 & MASK_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_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/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() 200 UWORD32 u4_temp; in impeg2d_bit_stream_flush() local 266 UWORD32 u4_bits,u4_offset,u4_temp; in impeg2d_bit_stream_nxt() local 279 u4_temp = ps_stream->u4_buf_nxt; in impeg2d_bit_stream_nxt() 282 u4_temp = (u4_temp >> (BITS_IN_INT - 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() 341 size_t u4_temp; in impeg2d_bit_stream_num_bits_read() local 343 u4_temp = (size_t)(u4_no_of_bitsstream->pv_bs_buf); 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/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); \
|