/external/libavc/decoder/ |
D | ih264d_parse_slice.c | 90 dec_slice_params_t *ps_cur_slice; in ih264d_form_pred_weight_matrix() local 98 ps_cur_slice = ps_dec->ps_cur_slice; in ih264d_form_pred_weight_matrix() 99 uc_num_ref_idx_l0_active = ps_cur_slice->u1_num_ref_idx_lx_active[0]; in ih264d_form_pred_weight_matrix() 100 uc_num_ref_idx_l1_active = ps_cur_slice->u1_num_ref_idx_lx_active[1]; in ih264d_form_pred_weight_matrix() 104 if(ps_cur_slice->u1_slice_type == B_SLICE) in ih264d_form_pred_weight_matrix() 108 pui32_weight_offset_l0 = ps_cur_slice->u4_wt_ofst_lx[0][i]; in ih264d_form_pred_weight_matrix() 111 pui32_weight_offset_l1 = ps_cur_slice->u4_wt_ofst_lx[1][j]; in ih264d_form_pred_weight_matrix() 135 pui32_weight_offset_l0 = ps_cur_slice->u4_wt_ofst_lx[0][i]; in ih264d_form_pred_weight_matrix() 174 dec_slice_params_t *ps_cur_slice = ps_dec->ps_cur_slice; in ih264d_start_of_pic() local 176 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() 1084 ps_dec->ps_cur_slice->u4_mbs_in_slice = i2_cur_mb_addr in ih264d_parse_inter_slice_data_cabac() 1421 ps_dec->ps_cur_slice->u4_mbs_in_slice = i2_cur_mb_addr in ih264d_parse_inter_slice_data_cavlc() 1446 dec_slice_params_t * ps_slice = ps_dec->ps_cur_slice; in ih264d_mark_err_slice_skip() 1469 ps_dec->ps_cur_slice->u2_frame_num = u2_frame_num; in ih264d_mark_err_slice_skip() 1475 ps_dec->ps_cur_slice->u2_frame_num); in ih264d_mark_err_slice_skip() 1477 ps_dec->ps_cur_slice->u2_frame_num; in ih264d_mark_err_slice_skip() [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_utils.c | 157 … dec_slice_params_t *ps_cur_slice, /*!< Pointer to current slice Params*/ in ih264d_decode_pic_order_cnt() argument 246 prev_frame_num = (WORD32)ps_cur_slice->u2_frame_num; in ih264d_decode_pic_order_cnt() 249 if(ps_cur_slice->u1_mmco_equalto5) in ih264d_decode_pic_order_cnt() 355 prev_frame_num = (WORD32)ps_cur_slice->u2_frame_num; in ih264d_decode_pic_order_cnt() 358 if(ps_cur_slice->u1_mmco_equalto5) in ih264d_decode_pic_order_cnt() 453 dec_slice_params_t *ps_cur_slice = ps_dec->ps_cur_slice; in ih264d_end_of_pic_processing() local 469 u1_nal_ref_idc = ps_cur_slice->u1_nal_ref_idc; in ih264d_end_of_pic_processing() 473 if(ps_cur_slice->u1_nal_unit_type == IDR_SLICE_NAL) in ih264d_end_of_pic_processing() 483 ps_cur_slice->u2_frame_num); in ih264d_end_of_pic_processing() 496 ps_cur_slice->u2_frame_num); in ih264d_end_of_pic_processing() [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_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 477 const UWORD8 u1_slice_type = ps_cur_slice->u1_slice_type; in ih264d_form_mb_part_info_mp() 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() 1016 UWORD32 u2_log2Y_crwd = ps_dec->ps_cur_slice->u2_log2Y_crwd; in ih264d_motion_compensate_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_dpb_mgr.c | 110 ps_dec->ps_cur_slice->u1_field_pic_flag && in ih264d_free_ref_pic_mv_bufs() 708 UWORD16 u4_cur_pic_num = ps_dec->ps_cur_slice->u2_frame_num; in ih264d_ref_idx_reordering() 721 dec_slice_params_t *ps_cur_slice = ps_dec->ps_cur_slice; in ih264d_ref_idx_reordering() local 722 UWORD8 u1_field_pic_flag = ps_cur_slice->u1_field_pic_flag; in ih264d_ref_idx_reordering() 759 for(i = 0; i < (ps_cur_slice->u1_initial_list_size[uc_lx]); i++) in ih264d_ref_idx_reordering() 764 if(i == (ps_cur_slice->u1_initial_list_size[uc_lx])) in ih264d_ref_idx_reordering() 780 for(i = 0; i < (ps_cur_slice->u1_initial_list_size[uc_lx]); i++) in ih264d_ref_idx_reordering() 789 if(i == (ps_cur_slice->u1_initial_list_size[uc_lx])) in ih264d_ref_idx_reordering() 806 for(i = 0; i < (ps_cur_slice->u1_num_ref_idx_lx_active[uc_lx]); i++) in ih264d_ref_idx_reordering() 835 dec_slice_params_t * ps_slice = ps_dec->ps_cur_slice; in ih264d_read_mmco_commands()
|
D | ih264d_parse_islice.c | 505 if(ps_dec->ps_cur_slice->u1_slice_type != I_SLICE) in ih264d_parse_imb_cabac() 941 ps_dec->ps_cur_slice->u4_mbs_in_slice = i2_cur_mb_addr in ih264d_parse_islice_data_cavlc() 1158 ps_dec->ps_cur_slice->u4_mbs_in_slice = i2_cur_mb_addr in ih264d_parse_islice_data_cabac() 1191 UWORD8 u1_mbaff = ps_dec->ps_cur_slice->u1_mbaff_frame_flag; in ih264d_parse_ipcm_mb() 1331 if(ps_dec->ps_cur_slice->u1_slice_type != I_SLICE) in ih264d_parse_ipcm_mb() 1360 dec_slice_params_t * ps_slice = ps_dec->ps_cur_slice; in ih264d_parse_islice() 1455 if(ps_dec->ps_cur_slice->u1_mbaff_frame_flag) in ih264d_parse_islice() 1470 if(ps_dec->ps_cur_slice->u1_mbaff_frame_flag) in ih264d_parse_islice()
|
D | ih264d_api.c | 890 dec_slice_params_t *ps_cur_slice; in ih264d_init_decoder() local 916 memset(ps_dec->ps_cur_slice, 0, size); in ih264d_init_decoder() 933 ps_cur_slice = ps_dec->ps_cur_slice; in ih264d_init_decoder() 980 ps_dec->ps_cur_slice->u1_mbaff_frame_flag = 0; in ih264d_init_decoder() 1012 ps_cur_slice->u1_mmco_equalto5 = 0; in ih264d_init_decoder() 1013 ps_cur_slice->u2_frame_num = 0; in ih264d_init_decoder() 1097 ps_dec->ps_cur_slice->pv_codec_handle = (void*)ps_dec; in ih264d_init_decoder() 1106 memset(ps_dec->ps_cur_slice, 0, sizeof(dec_slice_params_t)); in ih264d_init_decoder() 1138 PS_DEC_ALIGNED_FREE(ps_dec, ps_dec->ps_cur_slice); in ih264d_free_static_bufs() 1308 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 | 1061 dec_slice_params_t * ps_cur_slice = ps_dec->ps_cur_slice; in ih264d_parse_nal_unit() local
|
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_structs.h | 715 dec_slice_params_t *ps_cur_slice; member
|
D | ih264d_process_intra_mb.c | 759 u1_mbaff = ps_dec->ps_cur_slice->u1_mbaff_frame_flag; in ih264d_process_intra_mb()
|