/external/libavc/decoder/ |
D | ih264d_parse_slice.c | 91 dec_slice_params_t *ps_cur_slice; in ih264d_form_pred_weight_matrix() local 99 ps_cur_slice = ps_dec->ps_cur_slice; in ih264d_form_pred_weight_matrix() 100 uc_num_ref_idx_l0_active = ps_cur_slice->u1_num_ref_idx_lx_active[0]; in ih264d_form_pred_weight_matrix() 101 uc_num_ref_idx_l1_active = ps_cur_slice->u1_num_ref_idx_lx_active[1]; in ih264d_form_pred_weight_matrix() 105 if(ps_cur_slice->u1_slice_type == B_SLICE) in ih264d_form_pred_weight_matrix() 109 pui32_weight_offset_l0 = ps_cur_slice->u4_wt_ofst_lx[0][i]; in ih264d_form_pred_weight_matrix() 112 pui32_weight_offset_l1 = ps_cur_slice->u4_wt_ofst_lx[1][j]; in ih264d_form_pred_weight_matrix() 136 pui32_weight_offset_l0 = ps_cur_slice->u4_wt_ofst_lx[0][i]; in ih264d_form_pred_weight_matrix() 175 dec_slice_params_t *ps_cur_slice = ps_dec->ps_cur_slice; in ih264d_start_of_pic() local 177 UWORD8 u1_bottom_field_flag = ps_cur_slice->u1_bottom_field_flag; in ih264d_start_of_pic() [all …]
|
D | ih264d_parse_pslice.c | 96 const UWORD8 u1_mbaff = ps_dec->ps_cur_slice->u1_mbaff_frame_flag; in ih264d_parse_pmb_cavlc() 183 (ps_dec->ps_cur_slice->u1_num_ref_idx_lx_active[0] in ih264d_parse_pmb_cavlc() 555 UWORD8 u1_mbaff = ps_dec->ps_cur_slice->u1_mbaff_frame_flag; in ih264d_parse_pmb_cabac() 558 (ps_dec->ps_cur_slice->u1_num_ref_idx_lx_active[0] in ih264d_parse_pmb_cabac() 1092 ps_dec->ps_cur_slice->u4_mbs_in_slice = i2_cur_mb_addr in ih264d_parse_inter_slice_data_cabac() 1433 ps_dec->ps_cur_slice->u4_mbs_in_slice = i2_cur_mb_addr in ih264d_parse_inter_slice_data_cavlc() 1458 dec_slice_params_t * ps_slice = ps_dec->ps_cur_slice; in ih264d_mark_err_slice_skip() 1478 if(ps_dec->ps_cur_slice->u1_mbaff_frame_flag && (num_mb_skip & 1)) in ih264d_mark_err_slice_skip() 1486 ps_dec->ps_cur_slice->u2_frame_num = u2_frame_num; in ih264d_mark_err_slice_skip() 1490 ps_dec->ps_cur_slice->u2_first_mb_in_slice = 0; in ih264d_mark_err_slice_skip() [all …]
|
D | ih264d_utils.c | 157 … dec_slice_params_t *ps_cur_slice, /*!< Pointer to current slice Params*/ in ih264d_decode_pic_order_cnt() argument 247 prev_frame_num = (WORD32)ps_cur_slice->u2_frame_num; in ih264d_decode_pic_order_cnt() 250 if(ps_cur_slice->u1_mmco_equalto5) in ih264d_decode_pic_order_cnt() 385 prev_frame_num = (WORD32)ps_cur_slice->u2_frame_num; in ih264d_decode_pic_order_cnt() 388 if(ps_cur_slice->u1_mmco_equalto5) in ih264d_decode_pic_order_cnt() 483 dec_slice_params_t *ps_cur_slice = ps_dec->ps_cur_slice; in ih264d_end_of_pic_processing() local 498 u1_nal_ref_idc = ps_cur_slice->u1_nal_ref_idc; in ih264d_end_of_pic_processing() 502 if(ps_cur_slice->u1_nal_unit_type == IDR_SLICE_NAL) in ih264d_end_of_pic_processing() 511 ps_cur_slice->u2_frame_num); in ih264d_end_of_pic_processing() 522 ps_cur_slice->u2_frame_num); in ih264d_end_of_pic_processing() [all …]
|
D | ih264d_parse_bslice.c | 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() 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() 895 const UWORD8 u1_mbaff = ps_dec->ps_cur_slice->u1_mbaff_frame_flag; 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() 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() 1025 ret = ps_dec->ps_cur_slice->pf_decodeDirect(ps_dec, in ih264d_mv_pred_ref_tfr_nby2_bmb() [all …]
|
D | ih264d_process_pslice.c | 78 const UWORD32 u1_mbaff = ps_dec->ps_cur_slice->u1_mbaff_frame_flag; in ih264d_mv_pred_ref_tfr_nby2_pmb() 344 const UWORD32 u1_mbaff = ps_dec->ps_cur_slice->u1_mbaff_frame_flag; in ih264d_decode_recon_tfr_nmb() 345 const UWORD32 u1_slice_type = ps_dec->ps_cur_slice->u1_slice_type; in ih264d_decode_recon_tfr_nmb() 455 UWORD8 u1_field_pic_flag = ps_dec->ps_cur_slice->u1_field_pic_flag; in ih264d_decode_recon_tfr_nmb() 540 const UWORD8 u1_mbaff = ps_dec->ps_cur_slice->u1_mbaff_frame_flag; in ih264d_process_inter_mb() 813 WORD32 ih264d_parse_pred_weight_table(dec_slice_params_t * ps_cur_slice, in ih264d_parse_pred_weight_table() argument 849 ps_cur_slice->u2_log2Y_crwd = uc_luma_log2_weight_denom in ih264d_parse_pred_weight_table() 852 cont = (ps_cur_slice->u1_slice_type == B_SLICE); in ih264d_parse_pred_weight_table() 856 for(i = 0; i < ps_cur_slice->u1_num_ref_idx_lx_active[lx]; i++) in ih264d_parse_pred_weight_table() 858 pui32_weight_offset_lx = ps_cur_slice->u4_wt_ofst_lx[lx][i]; in ih264d_parse_pred_weight_table() [all …]
|
D | ih264d_process_bslice.c | 78 UWORD8 u1_mbaff = ps_dec->ps_cur_slice->u1_mbaff_frame_flag; in ih264d_decode_spatial_direct() 134 UWORD8 u1_scale_ref = (ps_dec->ps_cur_slice->u1_mbaff_frame_flag in ih264d_decode_spatial_direct() 180 * ps_dec->ps_cur_slice->u1_num_ref_idx_lx_active[1]; in ih264d_decode_spatial_direct() 195 i2_ref_idx *= (ps_dec->ps_cur_slice->u1_num_ref_idx_lx_active[1] in ih264d_decode_spatial_direct() 200 (ps_dec->ps_cur_slice->u1_num_ref_idx_lx_active[0] in ih264d_decode_spatial_direct() 202 … * (ps_dec->ps_cur_slice->u1_num_ref_idx_lx_active[1] in ih264d_decode_spatial_direct() 590 UWORD8 u1_mbaff = ps_dec->ps_cur_slice->u1_mbaff_frame_flag; in ih264d_decode_temporal_direct() 670 if(ps_dec->ps_cur_slice->u1_field_pic_flag) in ih264d_decode_temporal_direct() 675 if(ps_dec->ps_cur_slice->u1_bottom_field_flag) in ih264d_decode_temporal_direct() 680 ps_dec->ps_cur_slice->u1_num_ref_idx_lx_active[0]; in ih264d_decode_temporal_direct() [all …]
|
D | ih264d_thread_parse_decode.c | 71 const UWORD32 u1_mbaff = ps_dec->ps_cur_slice->u1_mbaff_frame_flag; in ih264d_parse_tfr_nmb() 129 << ps_dec->ps_cur_slice->u1_field_pic_flag; in ih264d_parse_tfr_nmb() 135 << ps_dec->ps_cur_slice->u1_field_pic_flag; in ih264d_parse_tfr_nmb() 175 const UWORD32 u1_mbaff = ps_dec->ps_cur_slice->u1_mbaff_frame_flag; in ih264d_decode_tfr_nmb() 208 const UWORD32 u1_mbaff = ps_dec->ps_cur_slice->u1_mbaff_frame_flag; in ih264d_decode_recon_tfr_nmb_thread() 398 UWORD8 u1_field_pic_flag = ps_dec->ps_cur_slice->u1_field_pic_flag; in ih264d_decode_recon_tfr_nmb_thread() 495 u1_mbaff = ps_dec->ps_cur_slice->u1_mbaff_frame_flag; in ih264d_decode_slice_thread() 514 u1_field_pic = ps_dec->ps_cur_slice->u1_field_pic_flag; in ih264d_decode_slice_thread() 544 uc_nofield_nombaff = ((ps_dec->ps_cur_slice->u1_field_pic_flag == 0) in ih264d_decode_slice_thread() 545 && (ps_dec->ps_cur_slice->u1_mbaff_frame_flag == 0) in ih264d_decode_slice_thread()
|
D | ih264d_thread_compute_bs.c | 333 UWORD8 u1_field_pic_flag = ps_dec->ps_cur_slice->u1_field_pic_flag; in ih264d_check_mb_map_deblk() 449 u1_mb_aff = ps_dec->ps_cur_slice->u1_mbaff_frame_flag; in ih264d_recon_deblk_slice() 452 u1_mbaff = ps_dec->ps_cur_slice->u1_mbaff_frame_flag; in ih264d_recon_deblk_slice() 465 << ps_dec->ps_cur_slice->u1_field_pic_flag; in ih264d_recon_deblk_slice() 474 << ps_dec->ps_cur_slice->u1_field_pic_flag; in ih264d_recon_deblk_slice() 631 << ps_dec->ps_cur_slice->u1_field_pic_flag; in ih264d_recon_deblk_slice()
|
D | ih264d_deblocking.c | 638 UWORD8 u1_field_pic_flag = ps_dec->ps_cur_slice->u1_field_pic_flag; /*< Field u4_flag */ in ih264d_init_deblk_tfr_ctxt() 660 if(ps_dec->ps_cur_slice->u1_nal_ref_idc) in ih264d_init_deblk_tfr_ctxt() 662 ps_pad_mgr->u1_vert_pad_top = !(ps_dec->ps_cur_slice->u1_field_pic_flag in ih264d_init_deblk_tfr_ctxt() 663 && ps_dec->ps_cur_slice->u1_bottom_field_flag); in ih264d_init_deblk_tfr_ctxt() 665 ((!ps_dec->ps_cur_slice->u1_field_pic_flag) in ih264d_init_deblk_tfr_ctxt() 666 || ps_dec->ps_cur_slice->u1_bottom_field_flag); in ih264d_init_deblk_tfr_ctxt() 712 …UWORD8 u1_field_pic_flag = ps_dec->ps_cur_slice->u1_field_pic_flag; /*< Field u4_flag … in ih264d_deblock_picture_mbaff() 713 …UWORD8 u1_bottom_field_flag = ps_dec->ps_cur_slice->u1_bottom_field_flag; /*< Bottom field u4_flag… in ih264d_deblock_picture_mbaff() 725 UWORD8 u1_mbaff = ps_dec->ps_cur_slice->u1_mbaff_frame_flag; in ih264d_deblock_picture_mbaff() 908 UWORD32 u1_field_pic_flag = ps_dec->ps_cur_slice->u1_field_pic_flag; in ih264d_deblock_picture_mbaff() [all …]
|
D | ih264d_dpb_mgr.c | 110 ps_dec->ps_cur_slice->u1_field_pic_flag && in ih264d_free_ref_pic_mv_bufs() 718 UWORD16 u4_cur_pic_num = ps_dec->ps_cur_slice->u2_frame_num; in ih264d_ref_idx_reordering() 731 dec_slice_params_t *ps_cur_slice = ps_dec->ps_cur_slice; in ih264d_ref_idx_reordering() local 732 UWORD8 u1_field_pic_flag = ps_cur_slice->u1_field_pic_flag; in ih264d_ref_idx_reordering() 745 && (count < ps_cur_slice->u1_num_ref_idx_lx_active[uc_lx])) in ih264d_ref_idx_reordering() 774 for(i = 0; i < (ps_cur_slice->u1_initial_list_size[uc_lx]); i++) in ih264d_ref_idx_reordering() 779 if(i == (ps_cur_slice->u1_initial_list_size[uc_lx])) in ih264d_ref_idx_reordering() 800 for(i = 0; i < (ps_cur_slice->u1_initial_list_size[uc_lx]); i++) in ih264d_ref_idx_reordering() 809 if(i == (ps_cur_slice->u1_initial_list_size[uc_lx])) in ih264d_ref_idx_reordering() 827 for(i = 0; i < (ps_cur_slice->u1_num_ref_idx_lx_active[uc_lx]); i++) in ih264d_ref_idx_reordering() [all …]
|
D | ih264d_parse_islice.c | 505 if(ps_dec->ps_cur_slice->u1_slice_type != I_SLICE) in ih264d_parse_imb_cabac() 945 ps_dec->ps_cur_slice->u4_mbs_in_slice = i2_cur_mb_addr in ih264d_parse_islice_data_cavlc() 1171 ps_dec->ps_cur_slice->u4_mbs_in_slice = i2_cur_mb_addr in ih264d_parse_islice_data_cabac() 1204 UWORD8 u1_mbaff = ps_dec->ps_cur_slice->u1_mbaff_frame_flag; in ih264d_parse_ipcm_mb() 1344 if(ps_dec->ps_cur_slice->u1_slice_type != I_SLICE) in ih264d_parse_ipcm_mb() 1373 dec_slice_params_t * ps_slice = ps_dec->ps_cur_slice; in ih264d_parse_islice() 1468 if(ps_dec->ps_cur_slice->u1_mbaff_frame_flag) in ih264d_parse_islice() 1483 if(ps_dec->ps_cur_slice->u1_mbaff_frame_flag) in ih264d_parse_islice()
|
D | ih264d_inter_pred.c | 206 dec_slice_params_t * const ps_cur_slice = ps_dec->ps_cur_slice; in ih264d_form_mb_part_info_bp() local 476 dec_slice_params_t * const ps_cur_slice = ps_dec->ps_cur_slice; in ih264d_form_mb_part_info_mp() local 488 const UWORD32 u1_pic_fld = ps_cur_slice->u1_field_pic_flag; in ih264d_form_mb_part_info_mp() 556 u1_pic_bot = ps_cur_slice->u1_bottom_field_flag; in ih264d_form_mb_part_info_mp() 1026 dec_slice_params_t * const ps_cur_slice = ps_dec->ps_cur_slice; in ih264d_motion_compensate_mp() local 1032 const UWORD8 u1_pic_fld = ps_cur_slice->u1_field_pic_flag; in ih264d_motion_compensate_mp()
|
D | ih264d_api.c | 1072 dec_slice_params_t *ps_cur_slice; in ih264d_init_decoder() local 1101 memset(ps_dec->ps_cur_slice, 0, size); in ih264d_init_decoder() 1142 ps_cur_slice = ps_dec->ps_cur_slice; in ih264d_init_decoder() 1185 ps_dec->ps_cur_slice->u1_mbaff_frame_flag = 0; in ih264d_init_decoder() 1217 ps_cur_slice->u1_mmco_equalto5 = 0; in ih264d_init_decoder() 1218 ps_cur_slice->u2_frame_num = 0; in ih264d_init_decoder() 1303 ps_dec->ps_cur_slice->pv_codec_handle = (void*)ps_dec; in ih264d_init_decoder() 1312 memset(ps_dec->ps_cur_slice, 0, sizeof(dec_slice_params_t)); in ih264d_init_decoder() 1345 PS_DEC_ALIGNED_FREE(ps_dec, ps_dec->ps_cur_slice); in ih264d_free_static_bufs() 1536 ps_dec->ps_cur_slice = (dec_slice_params_t *)pv_buf; in ih264d_allocate_static_bufs() [all …]
|
D | ih264d_process_pslice.h | 43 WORD32 ih264d_parse_pred_weight_table(dec_slice_params_t * ps_cur_slice,
|
D | ih264d_cabac.c | 127 UWORD8 u1_qp_y = ps_dec->ps_cur_slice->u1_slice_qp; in ih264d_init_cabac_contexts() 132 u1_cabac_init_Idc = ps_dec->ps_cur_slice->u1_cabac_init_idc; in ih264d_init_cabac_contexts() 179 if(ps_dec->ps_cur_slice->u1_field_pic_flag) in ih264d_init_cabac_contexts()
|
D | ih264d_utils.h | 70 dec_slice_params_t *ps_cur_slice,
|
D | ih264d_mb_utils.c | 1402 const UWORD8 u1_mbaff = ps_dec->ps_cur_slice->u1_mbaff_frame_flag; in ih264d_transfer_mb_group_data() 1427 << ps_dec->ps_cur_slice->u1_field_pic_flag; in ih264d_transfer_mb_group_data() 1432 << ps_dec->ps_cur_slice->u1_field_pic_flag; in ih264d_transfer_mb_group_data()
|
D | ih264d_parse_headers.c | 1207 dec_slice_params_t * ps_cur_slice = ps_dec->ps_cur_slice; in ih264d_parse_nal_unit() local
|
D | ih264d_structs.h | 716 dec_slice_params_t *ps_cur_slice; member
|
D | ih264d_parse_mb_header.c | 156 const UWORD8 uc_slice_type = ps_dec->ps_cur_slice->u1_slice_type; in ih264d_parse_mb_type_cabac()
|
D | ih264d_process_intra_mb.c | 759 u1_mbaff = ps_dec->ps_cur_slice->u1_mbaff_frame_flag; in ih264d_process_intra_mb()
|