/external/libhevc/decoder/ |
ihevcd_parse_slice_header.c | 141 slice_header_t *ps_slice_hdr, 150 ps_rplm = &(ps_slice_hdr->s_rplm); 162 if(ps_slice_hdr->i1_slice_type == PSLICE || ps_slice_hdr->i1_slice_type == BSLICE) 168 for(i = 0; i < ps_slice_hdr->i1_num_ref_idx_l0_active; i++) 177 if(ps_slice_hdr->i1_slice_type == BSLICE) 183 for(i = 0; i < ps_slice_hdr->i1_num_ref_idx_l1_active; i++) 227 slice_header_t *ps_slice_hdr; local 314 ps_slice_hdr = ps_codec->s_parse.ps_slice_hdr_base + (ps_codec->s_parse.i4_cur_slice_idx & (MAX_SLICE_HDR_CNT - 1)); 329 ps_slice_hdr->i1_dependent_slice_flag = value [all...] |
ihevcd_ref_list.h | 37 WORD32 ihevcd_ref_list(codec_t *ps_codec, pps_t *ps_pps, sps_t *ps_sps, slice_header_t *ps_slice_hdr);
|
ihevcd_ref_list.c | 93 WORD32 ihevcd_ref_list(codec_t *ps_codec, pps_t *ps_pps, sps_t *ps_sps, slice_header_t *ps_slice_hdr) 135 i4_pic_order_cnt_val = ps_slice_hdr->i4_abs_pic_order_cnt; 137 if(1 == ps_slice_hdr->i1_short_term_ref_pic_set_sps_flag) 139 st_rps_idx = ps_slice_hdr->i1_short_term_ref_pic_set_idx; 148 num_neg_pics = ps_slice_hdr->s_stref_picset.i1_num_neg_pics; 149 num_pos_pics = ps_slice_hdr->s_stref_picset.i1_num_pos_pics; 150 pi1_used = ps_slice_hdr->s_stref_picset.ai1_used; 151 pi2_delta_poc = ps_slice_hdr->s_stref_picset.ai2_delta_poc; 186 for(i = 0; i < ps_slice_hdr->i1_num_long_term_sps + ps_slice_hdr->i1_num_long_term_pics; i++ [all...] |
ihevcd_parse_slice_header.h | 47 slice_header_t *ps_slice_hdr);
|
ihevcd_mv_merge.c | 148 slice_header_t *ps_slice_hdr = ps_mv_ctxt->ps_slice_hdr; local 173 ps_ref_list[0] = ps_slice_hdr->as_ref_pic_list0; 174 ps_ref_list[1] = ps_slice_hdr->as_ref_pic_list1; 175 if(PSLICE == ps_slice_hdr->i1_slice_type) 176 ps_ref_list[1] = ps_slice_hdr->as_ref_pic_list0; 178 if((ps_slice_hdr->i1_slice_type == BSLICE) && (ps_slice_hdr->i1_collocated_from_l0_flag == 0)) 181 ps_mv_buf_col = (mv_buf_t *)ps_ref_list[1][ps_slice_hdr->i1_collocated_ref_idx].pv_mv_buf; 187 ps_mv_buf_col = (mv_buf_t *)ps_ref_list[0][ps_slice_hdr->i1_collocated_ref_idx].pv_mv_buf 483 slice_header_t *ps_slice_hdr; local [all...] |
ihevcd_ilf_padding.c | 82 slice_header_t *ps_slice_hdr; local 88 ps_slice_hdr = ps_deblk_ctxt->ps_slice_hdr; 108 if((0 == ps_slice_hdr->i1_slice_disable_deblocking_filter_flag) && 148 if(ps_slice_hdr->i1_slice_sao_luma_flag || ps_slice_hdr->i1_slice_sao_chroma_flag)
|
ihevcd_inter_pred.c | 120 slice_header_t *ps_slice_hdr; local 169 ps_slice_hdr = ps_proc->ps_slice_hdr; 190 ASSERT(PSLICE == ps_slice_hdr->i1_slice_type || BSLICE == ps_slice_hdr->i1_slice_type); 225 weighted_pred = (ps_slice_hdr->i1_slice_type == PSLICE) ? ps_pps->i1_weighted_pred_flag : 233 ps_pic_buf_l0 = (pic_buf_t *)((ps_slice_hdr->as_ref_pic_list0[ps_pu->mv.i1_l0_ref_idx].pv_pic_buf)); 238 luma_weight_l0 = ps_slice_hdr->s_wt_ofst.i2_luma_weight_l0[ps_pu->mv.i1_l0_ref_idx]; 239 chroma_weight_l0_cb = ps_slice_hdr->s_wt_ofst.i2_chroma_weight_l0_cb[ps_pu->mv.i1_l0_ref_idx]; 240 chroma_weight_l0_cr = ps_slice_hdr->s_wt_ofst.i2_chroma_weight_l0_cr[ps_pu->mv.i1_l0_ref_idx] [all...] |
ihevcd_process_slice.c | 237 ps_proc->ps_slice_hdr = ps_slice_hdr_next; 246 slice_header_t *ps_slice_hdr = ps_proc->ps_slice_hdr; local 259 slice_start_ctb_idx = ps_slice_hdr->i2_ctb_x + (ps_slice_hdr->i2_ctb_y * ps_sps->i2_pic_wd_in_ctb); 271 if(ps_proc->i4_ctb_x > ps_slice_hdr->i2_ctb_x) 282 WORD32 temp_stride = (ps_sps->i2_pic_wd_in_ctb - ps_slice_hdr->i2_ctb_x); 312 slice_header_t *ps_slice_hdr = ps_proc->ps_slice_hdr; local 333 check_tile_wd = ps_slice_hdr->i2_ctb_x + ps_tile_prev->u2_wd 582 slice_header_t *ps_slice_hdr; local 779 slice_header_t *ps_slice_hdr; local 1005 slice_header_t *ps_slice_hdr = ps_proc->ps_slice_hdr; local 1114 slice_header_t *ps_slice_hdr = ps_proc->ps_slice_hdr; local 1358 slice_header_t *ps_slice_hdr; local [all...] |
ihevcd_utils.c | 769 slice_header_t *ps_slice_hdr; local 775 ps_slice_hdr = ps_codec->s_parse.ps_slice_hdr; 833 ps_mv_buf->i4_abs_poc = ps_slice_hdr->i4_abs_pic_order_cnt; 858 ps_cur_pic->i4_abs_poc = ps_slice_hdr->i4_abs_pic_order_cnt; 859 ps_cur_pic->i4_poc_lsb = ps_slice_hdr->i4_pic_order_cnt_lsb; 883 ps_pic_buf_ref = ihevc_dpb_mgr_get_ref_by_nearest_poc(ps_dpb_mgr, ps_slice_hdr->i4_abs_pic_order_cnt); 894 for(r_idx = 0; r_idx < ps_slice_hdr->i1_num_ref_idx_l0_active; r_idx++) 896 if(NULL == ps_slice_hdr->as_ref_pic_list0[r_idx].pv_pic_buf) 898 ps_slice_hdr->as_ref_pic_list0[r_idx].pv_pic_buf = (void *)ps_pic_buf_ref 1155 slice_header_t *ps_slice_hdr; local [all...] |
ihevcd_mv_pred.c | 265 void GET_MV_NBR_LT(ref_list_t **ps_ref_pic_list, slice_header_t *ps_slice_hdr, WORD32 *pi4_avail_flag, pic_buf_t *ps_cur_pic_buf_lx, pu_t **aps_nbr_pu, mv_t *ps_mv, WORD32 num_nbrs, WORD32 lx) 277 CHECK_NBR_MV_LT(pi4_avail_flag, ps_cur_pic_buf_lx->u1_used_as_ref, ps_slice_hdr->i4_abs_pic_order_cnt, ps_cur_pic_buf_lx->i4_abs_poc, 284 CHECK_NBR_MV_LT(pi4_avail_flag, ps_cur_pic_buf_lx->u1_used_as_ref, ps_slice_hdr->i4_abs_pic_order_cnt, ps_cur_pic_buf_lx->i4_abs_poc, 297 CHECK_NBR_MV_LT(pi4_avail_flag, ps_cur_pic_buf_lx->u1_used_as_ref, ps_slice_hdr->i4_abs_pic_order_cnt, ps_cur_pic_buf_lx->i4_abs_poc, 304 CHECK_NBR_MV_LT(pi4_avail_flag, ps_cur_pic_buf_lx->u1_used_as_ref, ps_slice_hdr->i4_abs_pic_order_cnt, ps_cur_pic_buf_lx->i4_abs_poc, 367 slice_header_t *ps_slice_hdr; local 400 ps_slice_hdr = ps_mv_ctxt->ps_slice_hdr; 408 ps_ref_pic_list[0] = ps_slice_hdr->as_ref_pic_list0; 409 ps_ref_pic_list[1] = ps_slice_hdr->as_ref_pic_list1 [all...] |
ihevcd_deblk.c | 129 slice_header_t *ps_slice_hdr; local 136 ps_slice_hdr = ps_deblk->ps_slice_hdr; 260 WORD8 i1_beta_offset_div2 = ps_slice_hdr->i1_beta_offset_div2; 261 WORD8 i1_tc_offset_div2 = ps_slice_hdr->i1_tc_offset_div2; 329 ps_slice_hdr->i1_beta_offset_div2, 330 ps_slice_hdr->i1_tc_offset_div2, 402 WORD8 i1_beta_offset_div2 = ps_slice_hdr->i1_beta_offset_div2; 403 WORD8 i1_tc_offset_div2 = ps_slice_hdr->i1_tc_offset_div2; 471 ps_slice_hdr->i1_beta_offset_div2 [all...] |
ihevcd_parse_slice.c | 628 slice_header_t *ps_slice_hdr; local 633 ps_slice_hdr = ps_codec->s_parse.ps_slice_hdr; 635 if(ps_slice_hdr->i1_slice_type == BSLICE) 674 WORD32 active_refs = ps_slice_hdr->i1_num_ref_idx_l0_active; 723 WORD32 active_refs = ps_slice_hdr->i1_num_ref_idx_l1_active; 759 if(ps_slice_hdr->i1_mvd_l1_zero_flag && inter_pred_idc == PRED_BI) 809 slice_header_t *ps_slice_hdr; local 818 ps_slice_hdr = ps_codec->s_parse.ps_slice_hdr; 1160 slice_header_t *ps_slice_hdr; local 1960 slice_header_t *ps_slice_hdr; local 2177 slice_header_t *ps_slice_hdr; local [all...] |
ihevcd_get_mv.c | 429 slice_header_t *ps_slice_hdr; local 431 ps_slice_hdr = ps_mv_ctxt->ps_slice_hdr; 432 ps_pic_buf_l0 = (pic_buf_t *)((ps_slice_hdr->as_ref_pic_list0[ps_pu->mv.i1_l0_ref_idx].pv_pic_buf)); 433 ps_pic_buf_l1 = (pic_buf_t *)((ps_slice_hdr->as_ref_pic_list1[ps_pu->mv.i1_l1_ref_idx].pv_pic_buf)); 435 if(BSLICE == ps_slice_hdr->i1_slice_type)
|
ihevcd_structs.h | 232 slice_header_t *ps_slice_hdr; member in struct:__anon28460 340 slice_header_t *ps_slice_hdr; member in struct:__anon28461 484 slice_header_t *ps_slice_hdr; member in struct:__anon28462 558 slice_header_t *ps_slice_hdr; member in struct:__anon28463 1090 slice_header_t *ps_slice_hdr; member in struct:__anon28465 1240 slice_header_t *ps_slice_hdr; member in struct:__anon28466 [all...] |
ihevcd_debug.h | 108 #define DEBUG_PRINT_REF_LIST_POCS(i4_pic_order_cnt_val, ps_slice_hdr, ps_dpb_mgr, u4_num_st_curr_before, u4_num_st_curr_after, u4_num_st_foll, u4_num_lt_curr, u4_num_lt_foll, ai4_poc_st_curr_before, ai4_poc_st_curr_after, ai4_poc_st_foll, ai4_poc_lt_curr, ai4_poc_lt_foll) \ 109 ihevcd_debug_print_ref_list_pocs(i4_pic_order_cnt_val, ps_slice_hdr, ps_dpb_mgr, u4_num_st_curr_before, u4_num_st_curr_after, u4_num_st_foll, u4_num_lt_curr, u4_num_lt_foll, ai4_poc_st_curr_before, ai4_poc_st_curr_after, ai4_poc_st_foll, ai4_poc_lt_curr, ai4_poc_lt_foll); 113 #define DEBUG_PRINT_REF_LIST_POCS(i4_pic_order_cnt_val, ps_slice_hdr, ps_dpb_mgr, u4_num_st_curr_before, u4_num_st_curr_after, u4_num_st_foll, u4_num_lt_curr, u4_num_lt_foll, ai4_poc_st_curr_before, ai4_poc_st_curr_after, ai4_poc_st_foll, ai4_poc_lt_curr, ai4_poc_lt_foll)
|
ihevcd_parse_headers.c | 135 * @param[in] ps_slice_hdr 149 slice_header_t *ps_slice_hdr) 155 pred_wt_ofst_t *ps_wt_ofst = &ps_slice_hdr->s_wt_ofst; 167 for(i = 0; i < ps_slice_hdr->i1_num_ref_idx_l0_active; i++) 177 for(i = 0; i < ps_slice_hdr->i1_num_ref_idx_l0_active; i++) 185 for(i = 0; i < ps_slice_hdr->i1_num_ref_idx_l0_active; i++) 192 for(i = 0; i < ps_slice_hdr->i1_num_ref_idx_l0_active; i++) 244 if(BSLICE == ps_slice_hdr->i1_slice_type) 246 for(i = 0; i < ps_slice_hdr->i1_num_ref_idx_l1_active; i++) 254 for(i = 0; i < ps_slice_hdr->i1_num_ref_idx_l1_active; i++ 2088 slice_header_t *ps_slice_hdr, *ps_slice_hdr_ref; local [all...] |
ihevcd_sao.c | 537 slice_header_t *ps_slice_hdr, *ps_slice_hdr_base; local 591 ps_slice_hdr = ps_slice_hdr_base + (ps_sao_ctxt->i4_cur_slice_idx & (MAX_SLICE_HDR_CNT - 1)); 619 if(ps_sao_ctxt->ps_slice_hdr->i1_slice_sao_luma_flag) 698 if(ps_sao_ctxt->ps_slice_hdr->i1_slice_sao_chroma_flag) [all...] |
ihevcd_nal.c | 341 s_nal.i1_nal_unit_type = ps_codec->s_parse.ps_slice_hdr->i1_nal_unit_type;
|
ihevcd_iquant_itrans_recon_ctb.c | 537 slice_header_t *ps_slice_hdr; local 578 ps_slice_hdr = ps_proc->ps_slice_hdr; [all...] |
ihevcd_boundary_strength.c | 237 i1_loop_filter_across_slices_enabled_flag = ps_bs_ctxt->ps_slice_hdr->i1_slice_loop_filter_across_slices_enabled_flag; 387 if(!((ps_bs_ctxt->ps_slice_hdr->i1_dependent_slice_flag == 1) && (slice_idx == left_slice_idx))) 513 i1_loop_filter_across_slices_enabled_flag = ps_bs_ctxt->ps_slice_hdr->i1_slice_loop_filter_across_slices_enabled_flag; [all...] |