Home
last modified time | relevance | path

Searched refs:ps_cur_mb_info (Results 1 – 25 of 29) sorted by relevance

12

/external/libavc/decoder/
Dih264d_parse_islice.c88 dec_mb_info_t * ps_cur_mb_info, in ih264d_parse_imb_cavlc() argument
104 ps_cur_mb_info->u1_tran_form8x8 = 0; in ih264d_parse_imb_cavlc()
105 ps_cur_mb_info->ps_curmb->u1_tran_form8x8 = 0; in ih264d_parse_imb_cavlc()
107 ps_cur_mb_info->u1_yuv_dc_block_flag = 0; in ih264d_parse_imb_cavlc()
117 ps_cur_mb_info->ps_curmb->u1_mb_type = I_4x4_MB; in ih264d_parse_imb_cavlc()
125 ps_cur_mb_info->u1_tran_form8x8 = ih264d_get_bit_h264(ps_bitstrm); in ih264d_parse_imb_cavlc()
126 COPYTHECONTEXT("transform_size_8x8_flag", ps_cur_mb_info->u1_tran_form8x8); in ih264d_parse_imb_cavlc()
127 ps_cur_mb_info->ps_curmb->u1_tran_form8x8 = ps_cur_mb_info->u1_tran_form8x8; in ih264d_parse_imb_cavlc()
133 if (!ps_cur_mb_info->u1_tran_form8x8) in ih264d_parse_imb_cavlc()
139 ps_cur_mb_info->u1_tran_form8x8); in ih264d_parse_imb_cavlc()
[all …]
Dih264d_process_pslice.c79 dec_mb_info_t * ps_cur_mb_info; in ih264d_mv_pred_ref_tfr_nby2_pmb() local
102 ps_cur_mb_info = ps_dec->ps_nmb_info + i; in ih264d_mv_pred_ref_tfr_nby2_pmb()
103 u1_field = ps_cur_mb_info->u1_mb_field_decodingflag; in ih264d_mv_pred_ref_tfr_nby2_pmb()
108 ps_dec->u2_mbx = ps_cur_mb_info->u2_mbx; in ih264d_mv_pred_ref_tfr_nby2_pmb()
109 ps_dec->u2_mby = ps_cur_mb_info->u2_mby; in ih264d_mv_pred_ref_tfr_nby2_pmb()
136 ps_cur_mb_info->u4_pred_info_pkd_idx = ps_dec->u4_pred_info_pkd_idx; in ih264d_mv_pred_ref_tfr_nby2_pmb()
137 ps_cur_mb_info->u1_num_pred_parts = 0; in ih264d_mv_pred_ref_tfr_nby2_pmb()
146 u4_bot_mb = 1 - ps_cur_mb_info->u1_topmb; in ih264d_mv_pred_ref_tfr_nby2_pmb()
190 ps_dec->pf_mvpred(ps_dec, ps_cur_mb_info, ps_mv_nmb_start, in ih264d_mv_pred_ref_tfr_nby2_pmb()
208 ps_cur_mb_info->u1_num_pred_parts++; in ih264d_mv_pred_ref_tfr_nby2_pmb()
[all …]
Dih264d_mb_utils.c82 dec_mb_info_t * ps_cur_mb_info, in ih264d_get_mb_info_cavlc_nonmbaff() argument
151 ps_cur_mb_info->u1_topleft_mbtype = ps_dec->u1_topleft_mbtype; in ih264d_get_mb_info_cavlc_nonmbaff()
153 ps_cur_mb_info->ps_curmb = ps_cur_mb_row + mb_x; in ih264d_get_mb_info_cavlc_nonmbaff()
154 ps_cur_mb_info->ps_left_mb = ps_cur_mb_row + mb_x - 1; in ih264d_get_mb_info_cavlc_nonmbaff()
155 ps_cur_mb_info->ps_top_mb = ps_top_mb_row + mb_x; in ih264d_get_mb_info_cavlc_nonmbaff()
156 ps_cur_mb_info->ps_top_right_mb = ps_top_mb_row + mb_x + 1; in ih264d_get_mb_info_cavlc_nonmbaff()
159 ps_dec->u1_topleft_mbtype = ps_cur_mb_info->ps_top_mb->u1_mb_type; in ih264d_get_mb_info_cavlc_nonmbaff()
164 ps_cur_mb_info->u2_mbx = mb_x; in ih264d_get_mb_info_cavlc_nonmbaff()
165 ps_cur_mb_info->u2_mby = mb_y; in ih264d_get_mb_info_cavlc_nonmbaff()
166 ps_cur_mb_info->u1_topmb = 1; in ih264d_get_mb_info_cavlc_nonmbaff()
[all …]
Dih264d_process_intra_mb.c197 dec_mb_info_t * ps_cur_mb_info, in ih264d_unpack_coeff4x4_8x8blk() argument
202 UWORD8 u1_mb_field_decoding_flag = ps_cur_mb_info->u1_mb_field_decodingflag; in ih264d_unpack_coeff4x4_8x8blk()
203 UWORD8 u1_field_coding_flag = ps_cur_mb_info->ps_curmb->u1_mb_fld; in ih264d_unpack_coeff4x4_8x8blk()
263 dec_mb_info_t * ps_cur_mb_info, in ih264d_unpack_coeff8x8_8x8blk_cavlc() argument
268 UWORD8 u1_mb_field_decoding_flag = ps_cur_mb_info->u1_mb_field_decodingflag; in ih264d_unpack_coeff8x8_8x8blk_cavlc()
269 UWORD8 u1_field_coding_flag = ps_cur_mb_info->ps_curmb->u1_mb_fld; in ih264d_unpack_coeff8x8_8x8blk_cavlc()
355 dec_mb_info_t * ps_cur_mb_info, in ih264d_unpack_coeff4x4_8x8blk_chroma() argument
360 UWORD8 u1_mb_field_decoding_flag = ps_cur_mb_info->u1_mb_field_decodingflag; in ih264d_unpack_coeff4x4_8x8blk_chroma()
361 UWORD8 u1_field_coding_flag = ps_cur_mb_info->ps_curmb->u1_mb_fld; in ih264d_unpack_coeff4x4_8x8blk_chroma()
408 dec_mb_info_t * ps_cur_mb_info, in ih264d_unpack_luma_coeff4x4_mb() argument
[all …]
Dih264d_parse_pslice.c68 dec_mb_info_t *ps_cur_mb_info,
83 dec_mb_info_t * ps_cur_mb_info, in ih264d_parse_pmb_cavlc() argument
100 UWORD32 u1_mb_type = ps_cur_mb_info->u1_mb_type; in ih264d_parse_pmb_cavlc()
105 ps_cur_mb_info->u1_tran_form8x8 = 0; in ih264d_parse_pmb_cavlc()
106 ps_cur_mb_info->ps_curmb->u1_tran_form8x8 = 0; in ih264d_parse_pmb_cavlc()
108 ps_cur_mb_info->u1_yuv_dc_block_flag = 0; in ih264d_parse_pmb_cavlc()
110 ps_cur_mb_info->u1_mb_mc_mode = u1_mb_type; in ih264d_parse_pmb_cavlc()
181 UWORD8 uc_field = ps_cur_mb_info->u1_mb_field_decodingflag; in ih264d_parse_pmb_cavlc()
347 ps_cur_mb_info->u1_cbp = u4_cbp; in ih264d_parse_pmb_cavlc()
353 ps_cur_mb_info->u1_tran_form8x8 = ih264d_get_bit_h264(ps_bitstrm); in ih264d_parse_pmb_cavlc()
[all …]
Dih264d_parse_islice.h46 dec_mb_info_t *ps_cur_mb_info,
49 dec_mb_info_t *ps_cur_mb_info,
52 dec_mb_info_t * ps_cur_mb_info,
56 dec_mb_info_t * ps_cur_mb_info,
66 dec_mb_info_t * ps_cur_mb_info,
70 dec_mb_info_t * ps_cur_mb_info,
75 dec_mb_info_t * ps_cur_mb_info,
80 dec_mb_info_t * ps_cur_mb_info,
85 dec_mb_info_t * ps_cur_mb_info,
90 dec_mb_info_t * ps_cur_mb_info,
[all …]
Dih264d_thread_parse_decode.c55 dec_mb_info_t *ps_cur_mb_info,
59 dec_mb_info_t *ps_cur_mb_info,
206 dec_mb_info_t * ps_cur_mb_info; in ih264d_decode_recon_tfr_nmb_thread() local
284 ps_cur_mb_info = &ps_dec->ps_frm_mb_info[u2_cur_dec_mb_num]; in ih264d_decode_recon_tfr_nmb_thread()
289 if(ps_cur_mb_info->u1_mb_type <= u1_skip_th) in ih264d_decode_recon_tfr_nmb_thread()
296 u4_pred_info_pkd_idx = ps_cur_mb_info->u4_pred_info_pkd_idx; in ih264d_decode_recon_tfr_nmb_thread()
298 while(pred_cnt < ps_cur_mb_info->u1_num_pred_parts) in ih264d_decode_recon_tfr_nmb_thread()
303 ps_cur_mb_info->u2_mbx, in ih264d_decode_recon_tfr_nmb_thread()
304 ps_cur_mb_info->u2_mby, in ih264d_decode_recon_tfr_nmb_thread()
306 ps_cur_mb_info); in ih264d_decode_recon_tfr_nmb_thread()
[all …]
Dih264d_thread_compute_bs.c62 dec_mb_info_t *ps_cur_mb_info,
90 dec_mb_info_t * ps_cur_mb_info, in ih264d_compute_bs_non_mbaff_thread() argument
112 const UWORD32 u2_mbx = ps_cur_mb_info->u2_mbx; in ih264d_compute_bs_non_mbaff_thread()
113 const UWORD32 u2_mby = ps_cur_mb_info->u2_mby; in ih264d_compute_bs_non_mbaff_thread()
148 void ** ppv_top_mv_pred_addr = ps_cur_mb_info->ps_curmb->u4_pic_addrress; in ih264d_compute_bs_non_mbaff_thread()
209 u2_cur_csbp = ps_cur_mb_info->ps_curmb->u2_luma_csbp; in ih264d_compute_bs_non_mbaff_thread()
210 u2_left_csbp = ps_cur_mb_info->ps_left_mb->u2_luma_csbp; in ih264d_compute_bs_non_mbaff_thread()
211 u2_top_csbp = ps_cur_mb_info->ps_top_mb->u2_luma_csbp; in ih264d_compute_bs_non_mbaff_thread()
216 if(ps_cur_mb_info->u1_tran_form8x8 == 1) in ih264d_compute_bs_non_mbaff_thread()
219 ps_cur_mb_info->ps_curmb->u2_luma_csbp); in ih264d_compute_bs_non_mbaff_thread()
[all …]
Dih264d_process_bslice.h45 dec_mb_info_t * ps_cur_mb_info,
49 dec_mb_info_t * ps_cur_mb_info,
71 dec_mb_info_t * ps_cur_mb_info);
77 dec_mb_info_t * ps_cur_mb_info);
83 dec_mb_info_t * ps_cur_mb_info);
89 dec_mb_info_t * ps_cur_mb_info);
95 dec_mb_info_t * ps_cur_mb_info);
101 dec_mb_info_t * ps_cur_mb_info);
Dih264d_parse_bslice.c75 dec_mb_info_t * ps_cur_mb_info, in ih264d_parse_bmb_non_direct_cavlc() argument
93 UWORD8 u1_mb_type = ps_cur_mb_info->u1_mb_type; in ih264d_parse_bmb_non_direct_cavlc()
162 u1_mb_mc_mode = ps_cur_mb_info->u1_mb_mc_mode; in ih264d_parse_bmb_non_direct_cavlc()
183 UWORD8 uc_field = ps_cur_mb_info->u1_mb_field_decodingflag; in ih264d_parse_bmb_non_direct_cavlc()
398 dec_mb_info_t * ps_cur_mb_info, in ih264d_parse_bmb_non_direct_cabac() argument
417 const UWORD8 u1_mb_type = ps_cur_mb_info->u1_mb_type; in ih264d_parse_bmb_non_direct_cabac()
435 UWORD8 uc_field = ps_cur_mb_info->u1_mb_field_decodingflag; in ih264d_parse_bmb_non_direct_cabac()
488 u1_mb_mc_mode = ps_cur_mb_info->u1_mb_mc_mode; in ih264d_parse_bmb_non_direct_cabac()
630 dec_mb_info_t * ps_cur_mb_info, in ih264d_parse_bmb_cabac() argument
637 UWORD8 u1_mb_type = ps_cur_mb_info->u1_mb_type; in ih264d_parse_bmb_cabac()
[all …]
Dih264d_mvpred.c150 dec_mb_info_t *ps_cur_mb_info, in ih264d_mbaff_mv_pred() argument
159 u1_is_cur_mb_fld = ps_cur_mb_info->u1_mb_field_decodingflag; in ih264d_mbaff_mv_pred()
160 u1_is_cur_mb_top = ps_cur_mb_info->u1_topmb; in ih264d_mbaff_mv_pred()
162 u1_is_left_mb_fld = ps_cur_mb_info->ps_left_mb->u1_mb_fld; in ih264d_mbaff_mv_pred()
163 u1_is_top_mb_fld = ps_cur_mb_info->ps_top_mb->u1_mb_fld; in ih264d_mbaff_mv_pred()
180 u2_a_in = (ps_cur_mb_info->u1_mb_ngbr_availablity & LEFT_MB_AVAILABLE_MASK); in ih264d_mbaff_mv_pred()
216 u2_b_in = (ps_cur_mb_info->u1_mb_ngbr_availablity & TOP_MB_AVAILABLE_MASK); in ih264d_mbaff_mv_pred()
241 u2_c_in = CHECKBIT(ps_cur_mb_info->u2_top_right_avail_mask, in ih264d_mbaff_mv_pred()
250 uc_isTopRtMbFld = ps_cur_mb_info->ps_top_right_mb->u1_mb_fld; in ih264d_mbaff_mv_pred()
262 u2_d_in = CHECKBIT(ps_cur_mb_info->u2_top_left_avail_mask, u1_sub_mb_num); in ih264d_mbaff_mv_pred()
[all …]
Dih264d_compute_bs.c1144 dec_mb_info_t * ps_cur_mb_info, in ih264d_compute_bs_non_mbaff() argument
1166 const UWORD32 u2_mbx = ps_cur_mb_info->u2_mbx; in ih264d_compute_bs_non_mbaff()
1167 const UWORD32 u2_mby = ps_cur_mb_info->u2_mby; in ih264d_compute_bs_non_mbaff()
1204 void ** ppv_top_mv_pred_addr = ps_cur_mb_info->ps_curmb->u4_pic_addrress; in ih264d_compute_bs_non_mbaff()
1267 u2_cur_csbp = ps_cur_mb_info->ps_curmb->u2_luma_csbp; in ih264d_compute_bs_non_mbaff()
1268 u2_left_csbp = ps_cur_mb_info->ps_left_mb->u2_luma_csbp; in ih264d_compute_bs_non_mbaff()
1269 u2_top_csbp = ps_cur_mb_info->ps_top_mb->u2_luma_csbp; in ih264d_compute_bs_non_mbaff()
1273 if(ps_cur_mb_info->u1_tran_form8x8 == 1) in ih264d_compute_bs_non_mbaff()
1276 ps_cur_mb_info->ps_curmb->u2_luma_csbp); in ih264d_compute_bs_non_mbaff()
1279 if(ps_cur_mb_info->ps_left_mb->u1_tran_form8x8 == 1) in ih264d_compute_bs_non_mbaff()
[all …]
Dih264d_process_bslice.c73 dec_mb_info_t * ps_cur_mb_info, in ih264d_decode_spatial_direct() argument
114 u1_direct_zero_pred_flag = ps_dec->pf_mvpred(ps_dec, ps_cur_mb_info, ps_mv_nmb_start, in ih264d_decode_spatial_direct()
135 && ps_cur_mb_info->u1_mb_field_decodingflag); in ih264d_decode_spatial_direct()
145 if((u1_ref_idx & 0x01) != (1 - ps_cur_mb_info->u1_topmb)) in ih264d_decode_spatial_direct()
162 if((u1_ref_idx & 0x01) != (1 - ps_cur_mb_info->u1_topmb)) in ih264d_decode_spatial_direct()
198 if(!ps_cur_mb_info->u1_topmb) in ih264d_decode_spatial_direct()
221 ps_dec->i4_submb_ofst, ps_cur_mb_info); in ih264d_decode_spatial_direct()
273 ps_cur_mb_info->u1_num_pred_parts++; in ih264d_decode_spatial_direct()
295 ps_cur_mb_info->u1_num_pred_parts++; in ih264d_decode_spatial_direct()
329 u1_colz = (ps_cur_mb_info->u1_mb_field_decodingflag << 1) in ih264d_decode_spatial_direct()
[all …]
Dih264d_inter_pred.h67 dec_mb_info_t *ps_cur_mb_info);
74 dec_mb_info_t *ps_cur_mb_info);
77 void ih264d_motion_compensate_bp(dec_struct_t * ps_dec, dec_mb_info_t *ps_cur_mb_info);
78 void ih264d_motion_compensate_mp(dec_struct_t * ps_dec, dec_mb_info_t *ps_cur_mb_info);
87 dec_mb_info_t *ps_cur_mb_info,
Dih264d_mvpred.h89 dec_mb_info_t * ps_cur_mb_info,
103 dec_mb_info_t *ps_cur_mb_info,
111 dec_mb_info_t *ps_cur_mb_info);
113 dec_mb_info_t *ps_cur_mb_info,
124 dec_mb_info_t *ps_cur_mb_info,
135 dec_mb_info_t *ps_cur_mb_info,
Dih264d_process_intra_mb.h48 dec_mb_info_t * ps_cur_mb_info,
51 dec_mb_info_t * ps_cur_mb_info);
53 dec_mb_info_t * ps_cur_mb_info);
61 dec_mb_info_t * ps_cur_mb_info,
Dih264d_parse_cavlc.c1320 void ih264d_cavlc_parse_chroma_dc(dec_mb_info_t *ps_cur_mb_info, in ih264d_cavlc_parse_chroma_dc() argument
1388 SET_BIT(ps_cur_mb_info->u1_yuv_dc_block_flag,1); in ih264d_cavlc_parse_chroma_dc()
1451 SET_BIT(ps_cur_mb_info->u1_yuv_dc_block_flag,2); in ih264d_cavlc_parse_chroma_dc()
2444 dec_mb_info_t *ps_cur_mb_info, in ih264d_parse_residual4x4_cavlc() argument
2447 UWORD8 u1_cbp = ps_cur_mb_info->u1_cbp; in ih264d_parse_residual4x4_cavlc()
2455 UWORD8 *pu1_top_nnz = ps_cur_mb_info->ps_curmb->pu1_nnz_y; in ih264d_parse_residual4x4_cavlc()
2479 ps_cur_mb_info->u1_qp_div6 = ps_dec->u1_qp_y_div6; in ih264d_parse_residual4x4_cavlc()
2480 ps_cur_mb_info->u1_qp_rem6 = ps_dec->u1_qp_y_rem6; in ih264d_parse_residual4x4_cavlc()
2481 ps_cur_mb_info->u1_qpc_div6 = ps_dec->u1_qp_u_div6; in ih264d_parse_residual4x4_cavlc()
2482 ps_cur_mb_info->u1_qpc_rem6 = ps_dec->u1_qp_u_rem6; in ih264d_parse_residual4x4_cavlc()
[all …]
Dih264d_mb_utils.h255 dec_mb_info_t * ps_cur_mb_info,
259 dec_mb_info_t * ps_cur_mb_info,
264 dec_mb_info_t * ps_cur_mb_info,
269 dec_mb_info_t * ps_cur_mb_info,
275 dec_mb_info_t * ps_cur_mb_info,
280 dec_mb_info_t * ps_cur_mb_info,
284 dec_mb_info_t * ps_cur_mb_info);
Dih264d_parse_cabac.c584 dec_mb_info_t *ps_cur_mb_info) in ih264d_read_coeff8x8_cabac() argument
591 UWORD8 u1_field_coding_flag = ps_cur_mb_info->ps_curmb->u1_mb_fld; in ih264d_read_coeff8x8_cabac()
1162 dec_mb_info_t *ps_cur_mb_info, in ih264d_parse_residual4x4_cabac() argument
1165 UWORD8 u1_cbp = ps_cur_mb_info->u1_cbp; in ih264d_parse_residual4x4_cabac()
1169 UWORD8 *pu1_top_nnz = ps_cur_mb_info->ps_curmb->pu1_nnz_y; in ih264d_parse_residual4x4_cabac()
1171 UWORD8 *pu1_top_nnz_uv = ps_cur_mb_info->ps_curmb->pu1_nnz_uv; in ih264d_parse_residual4x4_cabac()
1202 pu1_buf = ps_cur_mb_info->ps_top_mb->pu1_nnz_y; in ih264d_parse_residual4x4_cabac()
1206 pu1_buf = ps_cur_mb_info->ps_top_mb->pu1_nnz_uv; in ih264d_parse_residual4x4_cabac()
1238 ps_cur_mb_info->u1_qp_div6 = ps_dec->u1_qp_y_div6; in ih264d_parse_residual4x4_cabac()
1239 ps_cur_mb_info->u1_qpc_div6 = ps_dec->u1_qp_u_div6; in ih264d_parse_residual4x4_cabac()
[all …]
Dih264d_deblocking.h46 dec_mb_info_t *ps_cur_mb_info,
95 dec_mb_info_t * ps_cur_mb_info,
98 dec_mb_info_t * ps_cur_mb_info,
102 dec_mb_info_t * ps_cur_mb_info,
106 dec_mb_info_t * ps_cur_mb_info,
171 dec_mb_info_t *ps_cur_mb_info,
Dih264d_parse_cabac.h52 dec_mb_info_t *ps_cur_mb_info);
58 dec_mb_info_t *ps_cur_mb_info);
Dih264d_inter_pred.c177 dec_mb_info_t *ps_cur_mb_info) in ih264d_form_mb_part_info_bp() argument
215 UNUSED(ps_cur_mb_info); in ih264d_form_mb_part_info_bp()
454 dec_mb_info_t *ps_cur_mb_info) in ih264d_form_mb_part_info_mp() argument
552 u1_mb_fld = ps_cur_mb_info->u1_mb_field_decodingflag; in ih264d_form_mb_part_info_mp()
553 u1_mb_bot = 1 - ps_cur_mb_info->u1_topmb; in ih264d_form_mb_part_info_mp()
717 UWORD8 u1_chroma_cbp = (UWORD8)(ps_cur_mb_info->u1_cbp >> 4); in ih264d_form_mb_part_info_mp()
903 void ih264d_motion_compensate_bp(dec_struct_t * ps_dec, dec_mb_info_t *ps_cur_mb_info) in ih264d_motion_compensate_bp() argument
916 UNUSED(ps_cur_mb_info); in ih264d_motion_compensate_bp()
1005 void ih264d_motion_compensate_mp(dec_struct_t * ps_dec, dec_mb_info_t *ps_cur_mb_info) in ih264d_motion_compensate_mp() argument
1046 u1_mb_fld = ps_cur_mb_info->u1_mb_field_decodingflag; in ih264d_motion_compensate_mp()
[all …]
Dih264d_structs.h510 dec_mb_info_t *ps_cur_mb_info,
952 dec_mb_info_t * ps_cur_mb_info,
965 dec_mb_info_t * ps_cur_mb_info,
1042 struct _DecMbInfo *ps_cur_mb_info,
1052 struct _DecMbInfo * ps_cur_mb_info,
1161 dec_mb_info_t *ps_cur_mb_info);
1164 void (*p_mc_dec_thread)(struct _DecStruct * ps_dec, dec_mb_info_t *ps_cur_mb_info);
1173 dec_mb_info_t *ps_cur_mb_info);
1180 dec_mb_info_t *ps_cur_mb_info);
Dih264d_thread_compute_bs.h30 dec_mb_info_t * ps_cur_mb_info,
Dih264d_process_pslice.h51 dec_mb_info_t * ps_cur_mb_info,

12