Home
last modified time | relevance | path

Searched refs:ps_cur_slice (Results 1 – 21 of 21) sorted by relevance

/external/libavc/decoder/
Dih264d_parse_slice.c90 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 …]
Dih264d_parse_pslice.c96 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()
1086 ps_dec->ps_cur_slice->u4_mbs_in_slice = i2_cur_mb_addr in ih264d_parse_inter_slice_data_cabac()
1425 ps_dec->ps_cur_slice->u4_mbs_in_slice = i2_cur_mb_addr in ih264d_parse_inter_slice_data_cavlc()
1450 dec_slice_params_t * ps_slice = ps_dec->ps_cur_slice; in ih264d_mark_err_slice_skip()
1473 ps_dec->ps_cur_slice->u2_frame_num = u2_frame_num; in ih264d_mark_err_slice_skip()
1479 ps_dec->ps_cur_slice->u2_frame_num); in ih264d_mark_err_slice_skip()
1481 ps_dec->ps_cur_slice->u2_frame_num; in ih264d_mark_err_slice_skip()
[all …]
Dih264d_parse_bslice.c182 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 …]
Dih264d_utils.c157 … 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 …]
Dih264d_process_pslice.c78 const UWORD32 u1_mbaff = ps_dec->ps_cur_slice->u1_mbaff_frame_flag; in ih264d_mv_pred_ref_tfr_nby2_pmb()
345 const UWORD32 u1_mbaff = ps_dec->ps_cur_slice->u1_mbaff_frame_flag; in ih264d_decode_recon_tfr_nmb()
346 const UWORD32 u1_slice_type = ps_dec->ps_cur_slice->u1_slice_type; in ih264d_decode_recon_tfr_nmb()
456 UWORD8 u1_field_pic_flag = ps_dec->ps_cur_slice->u1_field_pic_flag; in ih264d_decode_recon_tfr_nmb()
541 const UWORD8 u1_mbaff = ps_dec->ps_cur_slice->u1_mbaff_frame_flag; in ih264d_process_inter_mb()
814 WORD32 ih264d_parse_pred_weight_table(dec_slice_params_t * ps_cur_slice, in ih264d_parse_pred_weight_table() argument
850 ps_cur_slice->u2_log2Y_crwd = uc_luma_log2_weight_denom in ih264d_parse_pred_weight_table()
853 cont = (ps_cur_slice->u1_slice_type == B_SLICE); in ih264d_parse_pred_weight_table()
857 for(i = 0; i < ps_cur_slice->u1_num_ref_idx_lx_active[lx]; i++) in ih264d_parse_pred_weight_table()
859 pui32_weight_offset_lx = ps_cur_slice->u4_wt_ofst_lx[lx][i]; in ih264d_parse_pred_weight_table()
[all …]
Dih264d_process_bslice.c78 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 …]
Dih264d_thread_parse_decode.c71 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()
550 uc_nofield_nombaff = ((ps_dec->ps_cur_slice->u1_field_pic_flag == 0) in ih264d_decode_slice_thread()
551 && (ps_dec->ps_cur_slice->u1_mbaff_frame_flag == 0) in ih264d_decode_slice_thread()
Dih264d_thread_compute_bs.c333 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()
Dih264d_deblocking.c638 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 …]
Dih264d_inter_pred.c206 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()
Dih264d_dpb_mgr.c107 ps_dec->ps_cur_slice->u1_field_pic_flag && in ih264d_free_ref_pic_mv_bufs()
705 UWORD16 u4_cur_pic_num = ps_dec->ps_cur_slice->u2_frame_num; in ih264d_ref_idx_reordering()
718 dec_slice_params_t *ps_cur_slice = ps_dec->ps_cur_slice; in ih264d_ref_idx_reordering() local
719 UWORD8 u1_field_pic_flag = ps_cur_slice->u1_field_pic_flag; in ih264d_ref_idx_reordering()
756 for(i = 0; i < (ps_cur_slice->u1_initial_list_size[uc_lx]); i++) in ih264d_ref_idx_reordering()
761 if(i == (ps_cur_slice->u1_initial_list_size[uc_lx])) in ih264d_ref_idx_reordering()
777 for(i = 0; i < (ps_cur_slice->u1_initial_list_size[uc_lx]); i++) in ih264d_ref_idx_reordering()
786 if(i == (ps_cur_slice->u1_initial_list_size[uc_lx])) in ih264d_ref_idx_reordering()
803 for(i = 0; i < (ps_cur_slice->u1_num_ref_idx_lx_active[uc_lx]); i++) in ih264d_ref_idx_reordering()
832 dec_slice_params_t * ps_slice = ps_dec->ps_cur_slice; in ih264d_read_mmco_commands()
Dih264d_parse_islice.c505 if(ps_dec->ps_cur_slice->u1_slice_type != I_SLICE) in ih264d_parse_imb_cabac()
943 ps_dec->ps_cur_slice->u4_mbs_in_slice = i2_cur_mb_addr in ih264d_parse_islice_data_cavlc()
1162 ps_dec->ps_cur_slice->u4_mbs_in_slice = i2_cur_mb_addr in ih264d_parse_islice_data_cabac()
1195 UWORD8 u1_mbaff = ps_dec->ps_cur_slice->u1_mbaff_frame_flag; in ih264d_parse_ipcm_mb()
1335 if(ps_dec->ps_cur_slice->u1_slice_type != I_SLICE) in ih264d_parse_ipcm_mb()
1364 dec_slice_params_t * ps_slice = ps_dec->ps_cur_slice; in ih264d_parse_islice()
1453 if(ps_dec->ps_cur_slice->u1_mbaff_frame_flag) in ih264d_parse_islice()
1468 if(ps_dec->ps_cur_slice->u1_mbaff_frame_flag) in ih264d_parse_islice()
Dih264d_process_pslice.h43 WORD32 ih264d_parse_pred_weight_table(dec_slice_params_t * ps_cur_slice,
Dih264d_cabac.c127 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()
Dih264d_utils.h68 dec_slice_params_t *ps_cur_slice,
Dih264d_api.c1427 dec_slice_params_t *ps_cur_slice; in ih264d_init_decoder() local
1436 ps_cur_slice = ps_dec->ps_cur_slice; in ih264d_init_decoder()
1483 ps_dec->ps_cur_slice->u1_mbaff_frame_flag = 0; in ih264d_init_decoder()
1515 ps_cur_slice->u1_mmco_equalto5 = 0; in ih264d_init_decoder()
1516 ps_cur_slice->u2_frame_num = 0; in ih264d_init_decoder()
1606 ps_dec->ps_cur_slice->pv_codec_handle = (void*)ps_dec; in ih264d_init_decoder()
1790 ps_dec->ps_cur_slice =(dec_slice_params_t *) (pu1_extra_mem_base + ps_dec->u4_extra_mem_used); in ih264d_init_video_decoder()
3095 …dec, num_mb_skipped, ps_dec->u1_nal_unit_type == IDR_SLICE_NAL, ps_dec->ps_cur_slice->u2_frame_num, in ih264d_video_decode()
3217 if(ps_dec->ps_cur_slice->u1_field_pic_flag) in ih264d_video_decode()
3219 if(1 == ps_dec->ps_cur_slice->u1_bottom_field_flag) in ih264d_video_decode()
[all …]
Dih264d_mb_utils.c1402 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()
Dih264d_parse_headers.c1085 dec_slice_params_t * ps_cur_slice = ps_dec->ps_cur_slice; in ih264d_parse_nal_unit() local
Dih264d_parse_mb_header.c156 const UWORD8 uc_slice_type = ps_dec->ps_cur_slice->u1_slice_type; in ih264d_parse_mb_type_cabac()
Dih264d_structs.h728 dec_slice_params_t *ps_cur_slice; member
Dih264d_process_intra_mb.c759 u1_mbaff = ps_dec->ps_cur_slice->u1_mbaff_frame_flag; in ih264d_process_intra_mb()