Lines Matching refs:ps_dec
60 void ih264d_init_cabac_contexts(UWORD8 u1_slice_type, dec_struct_t * ps_dec);
74 WORD32 ih264d_parse_bmb_non_direct_cavlc(dec_struct_t * ps_dec, in ih264d_parse_bmb_non_direct_cavlc() argument
79 dec_bit_stream_t * ps_bitstrm = ps_dec->ps_bitstrm; in ih264d_parse_bmb_non_direct_cavlc()
89 parse_pmbarams_t * ps_parse_mb_data = ps_dec->ps_parse_mb_data in ih264d_parse_bmb_non_direct_cavlc()
148 ps_dec->s_high_profile.u1_no_submb_part_size_lt8x8_flag = 0; in ih264d_parse_bmb_non_direct_cavlc()
151 else if(!ps_dec->s_high_profile.u1_direct_8x8_inference_flag) in ih264d_parse_bmb_non_direct_cavlc()
153 ps_dec->s_high_profile.u1_no_submb_part_size_lt8x8_flag = 0; in ih264d_parse_bmb_non_direct_cavlc()
182 UWORD8 u1_mbaff = ps_dec->ps_cur_slice->u1_mbaff_frame_flag; in ih264d_parse_bmb_non_direct_cavlc()
185 ps_dec->ps_cur_slice->u1_num_ref_idx_lx_active; in ih264d_parse_bmb_non_direct_cavlc()
243 mv_pred_t *ps_mv_start = ps_dec->ps_mv_cur + (u1_mb_num << 4); in ih264d_parse_bmb_non_direct_cavlc()
247 ps_part = ps_dec->ps_part; in ih264d_parse_bmb_non_direct_cavlc()
377 ps_dec->ps_part = ps_part; in ih264d_parse_bmb_non_direct_cavlc()
397 WORD32 ih264d_parse_bmb_non_direct_cabac(dec_struct_t * ps_dec, in ih264d_parse_bmb_non_direct_cabac() argument
403 decoding_envirnoment_t * ps_cab_env = &ps_dec->s_cab_dec_env; in ih264d_parse_bmb_non_direct_cabac()
404 dec_bit_stream_t * ps_bitstrm = ps_dec->ps_bitstrm; in ih264d_parse_bmb_non_direct_cabac()
405 ctxt_inc_mb_info_t *p_curr_ctxt = ps_dec->ps_curr_ctxt_mb_info; in ih264d_parse_bmb_non_direct_cabac()
406 parse_pmbarams_t * ps_parse_mb_data = ps_dec->ps_parse_mb_data in ih264d_parse_bmb_non_direct_cabac()
432 UWORD8 u1_mbaff = ps_dec->ps_cur_slice->u1_mbaff_frame_flag; in ih264d_parse_bmb_non_direct_cabac()
434 ps_dec->ps_cur_slice->u1_num_ref_idx_lx_active; in ih264d_parse_bmb_non_direct_cabac()
453 ps_dec->p_sub_mb_type_t); in ih264d_parse_bmb_non_direct_cabac()
473 ps_dec->s_high_profile.u1_no_submb_part_size_lt8x8_flag = 0; in ih264d_parse_bmb_non_direct_cabac()
476 else if(!ps_dec->s_high_profile.u1_direct_8x8_inference_flag) in ih264d_parse_bmb_non_direct_cabac()
478 ps_dec->s_high_profile.u1_no_submb_part_size_lt8x8_flag = 0; in ih264d_parse_bmb_non_direct_cabac()
504 WORD8 *pi1_lft_cxt = ps_dec->pi1_left_ref_idx_ctxt_inc; in ih264d_parse_bmb_non_direct_cabac()
510 ps_dec->p_ref_idx_t); in ih264d_parse_bmb_non_direct_cabac()
517 ps_dec->p_ref_idx_t); in ih264d_parse_bmb_non_direct_cabac()
541 mv_pred_t *ps_mv_start = ps_dec->ps_mv_cur + (u1_mb_num << 4); in ih264d_parse_bmb_non_direct_cabac()
542 ps_part = ps_dec->ps_part; in ih264d_parse_bmb_non_direct_cabac()
603 (UWORD8)(i1_pred & u1_pred_mode), ps_dec, in ih264d_parse_bmb_non_direct_cabac()
610 ps_dec->ps_part = ps_part; in ih264d_parse_bmb_non_direct_cabac()
629 WORD32 ih264d_parse_bmb_cabac(dec_struct_t * ps_dec, in ih264d_parse_bmb_cabac() argument
635 deblk_mb_t * ps_cur_deblk_mb = ps_dec->ps_deblk_mbn + u1_mb_num; in ih264d_parse_bmb_cabac()
638 ctxt_inc_mb_info_t *p_curr_ctxt = ps_dec->ps_curr_ctxt_mb_info; in ih264d_parse_bmb_cabac()
642 ps_dec->s_high_profile.u1_no_submb_part_size_lt8x8_flag = 1; in ih264d_parse_bmb_cabac()
651 ret = ih264d_parse_bmb_non_direct_cabac(ps_dec, ps_cur_mb_info, u1_mb_num, in ih264d_parse_bmb_cabac()
661 ps_part_info = ps_dec->ps_part; in ih264d_parse_bmb_cabac()
664 ps_dec->ps_part++; in ih264d_parse_bmb_cabac()
667 MEMSET_16BYTES(&ps_dec->pu1_left_mv_ctxt_inc[0][0], 0); in ih264d_parse_bmb_cabac()
668 memset(ps_dec->pi1_left_ref_idx_ctxt_inc, 0, 4); in ih264d_parse_bmb_cabac()
674 ps_dec->s_high_profile.u1_direct_8x8_inference_flag; in ih264d_parse_bmb_cabac()
678 u1_cbp = (WORD8)ih264d_parse_ctx_cbp_cabac(ps_dec); in ih264d_parse_bmb_cabac()
690 if((ps_dec->s_high_profile.u1_transform8x8_present) && (u1_cbp & (0xf)) in ih264d_parse_bmb_cabac()
691 && (ps_dec->s_high_profile.u1_no_submb_part_size_lt8x8_flag) in ih264d_parse_bmb_cabac()
695 ps_dec, ps_cur_mb_info); in ih264d_parse_bmb_cabac()
708 ps_dec->pu1_left_yuv_dc_csbp[0] &= 0x6; in ih264d_parse_bmb_cabac()
714 ret = ih264d_parse_mb_qp_delta_cabac(ps_dec, &c_temp); in ih264d_parse_bmb_cabac()
720 ret = ih264d_update_qp(ps_dec, c_temp); in ih264d_parse_bmb_cabac()
726 ps_dec->i1_prev_mb_qp_delta = 0; in ih264d_parse_bmb_cabac()
728 ih264d_parse_residual4x4_cabac(ps_dec, ps_cur_mb_info, 0); in ih264d_parse_bmb_cabac()
729 if(EXCEED_OFFSET(ps_dec->ps_bitstrm)) in ih264d_parse_bmb_cabac()
744 WORD32 ih264d_parse_bmb_cavlc(dec_struct_t * ps_dec, in ih264d_parse_bmb_cavlc() argument
750 deblk_mb_t * ps_cur_deblk_mb = ps_dec->ps_deblk_mbn + u1_mb_num; in ih264d_parse_bmb_cavlc()
751 dec_bit_stream_t * const ps_bitstrm = ps_dec->ps_bitstrm; in ih264d_parse_bmb_cavlc()
759 ps_dec->s_high_profile.u1_no_submb_part_size_lt8x8_flag = 1; in ih264d_parse_bmb_cavlc()
770 ret = ih264d_parse_bmb_non_direct_cavlc(ps_dec, ps_cur_mb_info, u1_mb_num, in ih264d_parse_bmb_cavlc()
779 ps_part_info = ps_dec->ps_part; in ih264d_parse_bmb_cavlc()
782 ps_dec->ps_part++; in ih264d_parse_bmb_cavlc()
785 ps_dec->s_high_profile.u1_direct_8x8_inference_flag; in ih264d_parse_bmb_cavlc()
813 if((ps_dec->s_high_profile.u1_transform8x8_present) && (u4_cbp & (0xf)) in ih264d_parse_bmb_cavlc()
814 && (ps_dec->s_high_profile.u1_no_submb_part_size_lt8x8_flag) in ih264d_parse_bmb_cavlc()
864 ret = ih264d_update_qp(ps_dec, (WORD8)i_temp); in ih264d_parse_bmb_cavlc()
869 ret = ih264d_parse_residual4x4_cavlc(ps_dec, ps_cur_mb_info, 0); in ih264d_parse_bmb_cavlc()
877 ps_dec->i1_prev_mb_qp_delta = 0; in ih264d_parse_bmb_cavlc()
878 ih264d_update_nnz_for_skipmb(ps_dec, ps_cur_mb_info, CAVLC); in ih264d_parse_bmb_cavlc()
884 WORD32 ih264d_mv_pred_ref_tfr_nby2_bmb(dec_struct_t * ps_dec, in ih264d_mv_pred_ref_tfr_nby2_bmb() argument
895 const UWORD8 u1_mbaff = ps_dec->ps_cur_slice->u1_mbaff_frame_flag; in ih264d_mv_pred_ref_tfr_nby2_bmb()
899 ps_dec->i4_submb_ofst -= (u1_num_mbs - u1_mb_idx) << 4; in ih264d_mv_pred_ref_tfr_nby2_bmb()
900 ps_mb_part_info = ps_dec->ps_parse_mb_data; in ih264d_mv_pred_ref_tfr_nby2_bmb()
901 ps_part = ps_dec->ps_parse_part_params; in ih264d_mv_pred_ref_tfr_nby2_bmb()
907 ps_dec->i4_submb_ofst += SUB_BLK_SIZE; in ih264d_mv_pred_ref_tfr_nby2_bmb()
909 ps_cur_mb_info = ps_dec->ps_nmb_info + i; in ih264d_mv_pred_ref_tfr_nby2_bmb()
914 ps_mv_nmb_start = ps_dec->ps_mv_cur + (i << 4); in ih264d_mv_pred_ref_tfr_nby2_bmb()
915 ps_dec->u2_mbx = ps_cur_mb_info->u2_mbx; in ih264d_mv_pred_ref_tfr_nby2_bmb()
916 ps_dec->u2_mby = ps_cur_mb_info->u2_mby; in ih264d_mv_pred_ref_tfr_nby2_bmb()
917 ps_dec->u1_currB_type = 0; in ih264d_mv_pred_ref_tfr_nby2_bmb()
918 ps_dec->u2_mv_2mb[i & 0x1] = 0; in ih264d_mv_pred_ref_tfr_nby2_bmb()
931 deblk_mb_t * ps_cur_deblk_mb = ps_dec->ps_deblk_mbn + i; in ih264d_mv_pred_ref_tfr_nby2_bmb()
939 ps_dec->u4_num_pmbair = i >> u1_mbaff; in ih264d_mv_pred_ref_tfr_nby2_bmb()
940 ps_dec->u1_mb_idx_mv = i; in ih264d_mv_pred_ref_tfr_nby2_bmb()
944 - (ps_dec->u2_frm_wd_in_mbs << (4 + u1_mbaff)) + 12; in ih264d_mv_pred_ref_tfr_nby2_bmb()
951 ps_cur_mb_info->u4_pred_info_pkd_idx = ps_dec->u4_pred_info_pkd_idx; in ih264d_mv_pred_ref_tfr_nby2_bmb()
960 if(ps_dec->ps_cur_pps->u1_wted_bipred_idc) in ih264d_mv_pred_ref_tfr_nby2_bmb()
971 ps_dec->ps_cur_slice->u1_num_ref_idx_lx_active[1]; in ih264d_mv_pred_ref_tfr_nby2_bmb()
978 pu4_wt_offst = (UWORD32*)&ps_dec->pu4_wt_ofsts[2 in ih264d_mv_pred_ref_tfr_nby2_bmb()
986 && (ps_dec->ps_cur_pps->u1_wted_bipred_idc in ih264d_mv_pred_ref_tfr_nby2_bmb()
991 (ps_dec->ps_cur_slice->u1_num_ref_idx_lx_active[1] in ih264d_mv_pred_ref_tfr_nby2_bmb()
997 (ps_dec->ps_cur_slice->u1_num_ref_idx_lx_active[0] in ih264d_mv_pred_ref_tfr_nby2_bmb()
999 … * (ps_dec->ps_cur_slice->u1_num_ref_idx_lx_active[1] in ih264d_mv_pred_ref_tfr_nby2_bmb()
1002 pu4_wt_offst = (UWORD32*)&ps_dec->pu4_mbaff_wt_mat[2 in ih264d_mv_pred_ref_tfr_nby2_bmb()
1017 ps_dec->u1_sub_mb_num = u1_sub_mb_num; in ih264d_mv_pred_ref_tfr_nby2_bmb()
1025 ret = ps_dec->ps_cur_slice->pf_decodeDirect(ps_dec, in ih264d_mv_pred_ref_tfr_nby2_bmb()
1030 ps_cur_deblk_mb->u1_mb_type |= (ps_dec->u1_currB_type << 1); in ih264d_mv_pred_ref_tfr_nby2_bmb()
1075 ps_dec->pf_mvpred(ps_dec, ps_cur_mb_info, ps_mv_nmb, ps_mv_ntop, in ih264d_mv_pred_ref_tfr_nby2_bmb()
1112 ps_dec->ps_ref_pic_buf_lx[u1_lx][i1_ref_idx1]; in ih264d_mv_pred_ref_tfr_nby2_bmb()
1141 ps_pred_pkd = ps_dec->ps_pred_pkd + ps_dec->u4_pred_info_pkd_idx; in ih264d_mv_pred_ref_tfr_nby2_bmb()
1145 ps_dec->u4_pred_info_pkd_idx++; in ih264d_mv_pred_ref_tfr_nby2_bmb()
1152 ih264d_rep_mv_colz(ps_dec, &s_mvPred, ps_mv_nmb, in ih264d_mv_pred_ref_tfr_nby2_bmb()
1167 ih264d_rep_mv_colz(ps_dec, &s_mvPred, ps_mv_nmb_start, 0, in ih264d_mv_pred_ref_tfr_nby2_bmb()
1172 if(ps_dec->u4_num_cores < 3) in ih264d_mv_pred_ref_tfr_nby2_bmb()
1174 if(ps_dec->u4_app_disable_deblk_frm == 0) in ih264d_mv_pred_ref_tfr_nby2_bmb()
1175 ps_dec->pf_compute_bs(ps_dec, ps_cur_mb_info, in ih264d_mv_pred_ref_tfr_nby2_bmb()
1193 void ih264d_get_implicit_weights(dec_struct_t *ps_dec) in ih264d_get_implicit_weights() argument
1205 pu4_iwt_ofst = ps_dec->pu4_wts_ofsts_mat; in ih264d_get_implicit_weights()
1207 ps_dec->ps_cur_slice->u1_num_ref_idx_lx_active[0]; in ih264d_get_implicit_weights()
1209 ps_dec->ps_cur_slice->u1_num_ref_idx_lx_active[1]; in ih264d_get_implicit_weights()
1213 ps_pic_buff0 = ps_dec->ps_ref_pic_buf_lx[0][i]; in ih264d_get_implicit_weights()
1217 ps_pic_buff1 = ps_dec->ps_ref_pic_buf_lx[1][j]; in ih264d_get_implicit_weights()
1222 i4_tb = ps_dec->ps_cur_pic->i4_poc - i4_poc0; in ih264d_get_implicit_weights()
1255 if(ps_dec->ps_cur_slice->u1_mbaff_frame_flag) in ih264d_get_implicit_weights()
1258 WORD32 i4_cur_poc = ps_dec->ps_cur_pic->i4_top_field_order_cnt; in ih264d_get_implicit_weights()
1259 UWORD32* pu4_wt_mat = ps_dec->pu4_mbaff_wt_mat; in ih264d_get_implicit_weights()
1275 ps_pic_buff0 = ps_dec->ps_ref_pic_buf_lx[0][u2_l0_idx]; in ih264d_get_implicit_weights()
1288 ps_pic_buff1 = ps_dec->ps_ref_pic_buf_lx[1][u2_l1_idx]; in ih264d_get_implicit_weights()
1332 i4_cur_poc = ps_dec->ps_cur_pic->i4_bottom_field_order_cnt; in ih264d_get_implicit_weights()
1349 WORD32 ih264d_parse_bslice(dec_struct_t * ps_dec, UWORD16 u2_first_mb_in_slice) in ih264d_parse_bslice() argument
1351 dec_pic_params_t * ps_pps = ps_dec->ps_cur_pps; in ih264d_parse_bslice()
1352 dec_slice_params_t * ps_slice = ps_dec->ps_cur_slice; in ih264d_parse_bslice()
1353 dec_bit_stream_t * ps_bitstrm = ps_dec->ps_bitstrm; in ih264d_parse_bslice()
1367 WORD16 *pi2_mv = ps_dec->s_default_mv_pred.i2_mv; in ih264d_parse_bslice()
1370 pi1_buf = ps_dec->s_default_mv_pred.i1_ref_frame; in ih264d_parse_bslice()
1375 ps_dec->s_default_mv_pred.u1_col_ref_pic_idx = (UWORD8)-1; in ih264d_parse_bslice()
1376 ps_dec->s_default_mv_pred.u1_pic_type = (UWORD8)-1; in ih264d_parse_bslice()
1384 u4_temp = ps_dec->ps_cur_pps->u1_num_ref_idx_lx_active[0]; in ih264d_parse_bslice()
1385 ui_temp1 = ps_dec->ps_cur_pps->u1_num_ref_idx_lx_active[1]; in ih264d_parse_bslice()
1412 ih264d_init_ref_idx_lx_b(ps_dec); in ih264d_parse_bslice()
1414 ps_dec->u1_num_ref_idx_lx_active_prev = in ih264d_parse_bslice()
1415 ps_dec->ps_cur_slice->u1_num_ref_idx_lx_active[0]; in ih264d_parse_bslice()
1424 ps_dec->ps_ref_pic_buf_lx[0] = ps_dec->ps_dpb_mgr->ps_mod_dpb[0]; in ih264d_parse_bslice()
1425 ret = ih264d_ref_idx_reordering(ps_dec, 0); in ih264d_parse_bslice()
1430 ps_dec->ps_ref_pic_buf_lx[0] = ps_dec->ps_dpb_mgr->ps_init_dpb[0]; in ih264d_parse_bslice()
1439 ps_dec->ps_ref_pic_buf_lx[1] = ps_dec->ps_dpb_mgr->ps_mod_dpb[1]; in ih264d_parse_bslice()
1440 ret = ih264d_ref_idx_reordering(ps_dec, 1); in ih264d_parse_bslice()
1445 ps_dec->ps_ref_pic_buf_lx[1] = ps_dec->ps_dpb_mgr->ps_init_dpb[1]; in ih264d_parse_bslice()
1453 ppv_map_ref_idx_to_poc_lx = ps_dec->ppv_map_ref_idx_to_poc + FRM_LIST_L0; in ih264d_parse_bslice()
1456 for(idx = 0; idx < ps_dec->ps_cur_slice->u1_num_ref_idx_lx_active[0]; in ih264d_parse_bslice()
1459 ps_pic = ps_dec->ps_ref_pic_buf_lx[0][idx]; in ih264d_parse_bslice()
1463 ppv_map_ref_idx_to_poc_lx = ps_dec->ppv_map_ref_idx_to_poc + FRM_LIST_L1; in ih264d_parse_bslice()
1467 for(idx = 0; idx < ps_dec->ps_cur_slice->u1_num_ref_idx_lx_active[1]; in ih264d_parse_bslice()
1470 ps_pic = ps_dec->ps_ref_pic_buf_lx[1][idx]; in ih264d_parse_bslice()
1474 if(ps_dec->ps_cur_slice->u1_mbaff_frame_flag) in ih264d_parse_bslice()
1478 ppv_map_ref_idx_to_poc_lx_t = ps_dec->ppv_map_ref_idx_to_poc in ih264d_parse_bslice()
1480 ppv_map_ref_idx_to_poc_lx_b = ps_dec->ppv_map_ref_idx_to_poc in ih264d_parse_bslice()
1487 for(idx = 0; idx < ps_dec->ps_cur_slice->u1_num_ref_idx_lx_active[0]; in ih264d_parse_bslice()
1490 ps_pic = ps_dec->ps_ref_pic_buf_lx[0][idx]; in ih264d_parse_bslice()
1501 ppv_map_ref_idx_to_poc_lx_t = ps_dec->ppv_map_ref_idx_to_poc in ih264d_parse_bslice()
1503 ppv_map_ref_idx_to_poc_lx_b = ps_dec->ppv_map_ref_idx_to_poc in ih264d_parse_bslice()
1510 for(idx = 0; idx < ps_dec->ps_cur_slice->u1_num_ref_idx_lx_active[1]; in ih264d_parse_bslice()
1514 ps_pic = ps_dec->ps_ref_pic_buf_lx[1][idx]; in ih264d_parse_bslice()
1524 if(ps_dec->u4_num_cores >= 3) in ih264d_parse_bslice()
1529 if((1 >= ps_dec->ps_cur_sps->u1_num_ref_frames) && in ih264d_parse_bslice()
1530 (0 == ps_dec->i4_display_delay)) in ih264d_parse_bslice()
1541 memcpy((void *)ps_dec->ps_parse_cur_slice->ppv_map_ref_idx_to_poc, in ih264d_parse_bslice()
1542 ps_dec->ppv_map_ref_idx_to_poc, in ih264d_parse_bslice()
1548 if(ps_dec->ps_cur_slice->u1_mbaff_frame_flag in ih264d_parse_bslice()
1549 && (ps_dec->ps_cur_slice->u1_field_pic_flag == 0)) in ih264d_parse_bslice()
1551 ih264d_convert_frm_mbaff_list(ps_dec); in ih264d_parse_bslice()
1559 ih264d_form_pred_weight_matrix(ps_dec); in ih264d_parse_bslice()
1560 ps_dec->pu4_wt_ofsts = ps_dec->pu4_wts_ofsts_mat; in ih264d_parse_bslice()
1566 ps_dec->pu4_wt_ofsts = ps_dec->pu4_wts_ofsts_mat; in ih264d_parse_bslice()
1567 ih264d_get_implicit_weights(ps_dec); in ih264d_parse_bslice()
1570 ps_dec->ps_cur_slice->u2_log2Y_crwd = 0; in ih264d_parse_bslice()
1572 ps_dec->ps_parse_cur_slice->u2_log2Y_crwd = in ih264d_parse_bslice()
1573 ps_dec->ps_cur_slice->u2_log2Y_crwd; in ih264d_parse_bslice()
1578 if(!ps_dec->ps_dpb_cmds->u1_dpb_commands_read) in ih264d_parse_bslice()
1580 i_temp = ih264d_read_mmco_commands(ps_dec); in ih264d_parse_bslice()
1585 ps_dec->u4_bitoffset = i_temp; in ih264d_parse_bslice()
1588 ps_bitstrm->u4_ofst += ps_dec->u4_bitoffset; in ih264d_parse_bslice()
1658 ps_dec->u1_slice_header_done = 2; in ih264d_parse_bslice()
1663 ps_dec->pf_parse_inter_slice = ih264d_parse_inter_slice_data_cabac; in ih264d_parse_bslice()
1664 ps_dec->pf_parse_inter_mb = ih264d_parse_bmb_cabac; in ih264d_parse_bslice()
1665 ih264d_init_cabac_contexts(B_SLICE, ps_dec); in ih264d_parse_bslice()
1667 if(ps_dec->ps_cur_slice->u1_mbaff_frame_flag) in ih264d_parse_bslice()
1668 ps_dec->pf_get_mb_info = ih264d_get_mb_info_cabac_mbaff; in ih264d_parse_bslice()
1670 ps_dec->pf_get_mb_info = ih264d_get_mb_info_cabac_nonmbaff; in ih264d_parse_bslice()
1675 ps_dec->pf_parse_inter_slice = ih264d_parse_inter_slice_data_cavlc; in ih264d_parse_bslice()
1676 ps_dec->pf_parse_inter_mb = ih264d_parse_bmb_cavlc; in ih264d_parse_bslice()
1677 if(ps_dec->ps_cur_slice->u1_mbaff_frame_flag) in ih264d_parse_bslice()
1678 ps_dec->pf_get_mb_info = ih264d_get_mb_info_cavlc_mbaff; in ih264d_parse_bslice()
1680 ps_dec->pf_get_mb_info = ih264d_get_mb_info_cavlc_nonmbaff; in ih264d_parse_bslice()
1683 ret = ih264d_cal_col_pic(ps_dec); in ih264d_parse_bslice()
1686 ps_dec->u1_B = 1; in ih264d_parse_bslice()
1687 ps_dec->pf_mvpred_ref_tfr_nby2mb = ih264d_mv_pred_ref_tfr_nby2_bmb; in ih264d_parse_bslice()
1688 ret = ps_dec->pf_parse_inter_slice(ps_dec, ps_slice, u2_first_mb_in_slice); in ih264d_parse_bslice()