Home
last modified time | relevance | path

Searched refs:u4_temp (Results 1 – 15 of 15) sorted by relevance

/external/libavc/decoder/
Dih264d_parse_headers.c201 UWORD32 u4_temp; in ih264d_parse_pps() local
211 u4_temp = ih264d_uev(pu4_bitstrm_ofst, pu4_bitstrm_buf); in ih264d_parse_pps()
212 if(u4_temp & MASK_ERR_PIC_SET_ID) in ih264d_parse_pps()
215 *ps_pps = ps_dec->ps_pps[u4_temp]; in ih264d_parse_pps()
216 ps_pps->u1_pic_parameter_set_id = (WORD8)u4_temp; in ih264d_parse_pps()
228 u4_temp = ih264d_uev(pu4_bitstrm_ofst, pu4_bitstrm_buf); in ih264d_parse_pps()
229 if(u4_temp & MASK_ERR_SEQ_SET_ID) in ih264d_parse_pps()
231 COPYTHECONTEXT("PPS: seq_parameter_set_id",u4_temp); in ih264d_parse_pps()
232 ps_sps = &ps_dec->ps_sps[u4_temp]; in ih264d_parse_pps()
247 u4_temp = ih264d_uev(pu4_bitstrm_ofst, pu4_bitstrm_buf) + 1; in ih264d_parse_pps()
[all …]
Dih264d_parse_islice.c93 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 …]
Dih264d_process_intra_mb.c118 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 …]
Dih264d_parse_cavlc.c2504 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 …]
Dih264d_parse_slice.c97 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()
1084 UWORD32 u4_temp; in ih264d_parse_decode_slice() local
1108 u4_temp = ih264d_uev(pu4_bitstrm_ofst, pu4_bitstrm_buf); in ih264d_parse_decode_slice()
1110 if(u4_temp > 9) in ih264d_parse_decode_slice()
[all …]
Dih264d_parse_pslice.c1287 UWORD32 u4_word, u4_ldz, u4_temp; in ih264d_parse_inter_slice_data_cavlc() local
1304 u4_temp = ((1 << u4_ldz) + u4_word - 1); in ih264d_parse_inter_slice_data_cavlc()
1306 if(u4_temp > (UWORD32)(25 + u1_mb_threshold)) in ih264d_parse_inter_slice_data_cavlc()
1308 u1_mb_type = u4_temp; in ih264d_parse_inter_slice_data_cavlc()
1925 UWORD32 u4_temp; in ih264d_parse_pslice() local
1953 u4_temp = ps_dec->ps_cur_pps->u1_num_ref_idx_lx_active[0]; in ih264d_parse_pslice()
1956 u4_temp = ih264d_uev(pu4_bitstrm_ofst, pu4_bitstrm_buf) + 1; in ih264d_parse_pslice()
1964 if(u4_temp > u1_max_ref_idx || u4_temp < 1) in ih264d_parse_pslice()
1968 ps_cur_slice->u1_num_ref_idx_lx_active[0] = u4_temp; in ih264d_parse_pslice()
2118 u4_temp = ih264d_uev(pu4_bitstrm_ofst, pu4_bitstrm_buf); in ih264d_parse_pslice()
[all …]
Dih264d_parse_bslice.c1358 UWORD32 u4_temp, ui_temp1; in ih264d_parse_bslice() local
1384 u4_temp = ps_dec->ps_cur_pps->u1_num_ref_idx_lx_active[0]; in ih264d_parse_bslice()
1388 u4_temp = 1 + ih264d_uev(pu4_bitstrm_ofst, pu4_bitstrm_buf); in ih264d_parse_bslice()
1390 u4_temp - 1); in ih264d_parse_bslice()
1402 if((u4_temp > u1_max_ref_idx) || (ui_temp1 > u1_max_ref_idx) in ih264d_parse_bslice()
1403 || (u4_temp < 1) || (ui_temp1 < 1)) in ih264d_parse_bslice()
1407 ps_slice->u1_num_ref_idx_lx_active[0] = u4_temp; in ih264d_parse_bslice()
1594 u4_temp = ih264d_uev(pu4_bitstrm_ofst, pu4_bitstrm_buf); in ih264d_parse_bslice()
1595 if(u4_temp > MAX_CABAC_INIT_IDC) in ih264d_parse_bslice()
1599 ps_slice->u1_cabac_init_idc = u4_temp; in ih264d_parse_bslice()
[all …]
Dih264d_parse_cabac.c1277 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()
Dih264d_process_pslice.c828 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()
Dih264d_compute_bs.c141 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/
Dimpeg2d_bitstream.c149 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 …]
Dimpeg2d_bitstream.h71 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/
Dihevcd_bitstream.c111 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/
Dih264e_deblk.c187 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()
Dih264e_cabac.h57 UWORD32 u4_temp = (u4_input); \
63 ((u4_temp >> i) & 0x01); \