/external/libavc/encoder/ |
ih264e_cabac_init.c | 202 slice_header_t *ps_slice_hdr = ps_ent_ctxt->ps_slice_hdr_base; local 203 const UWORD8 u1_slice_type = ps_slice_hdr->u1_slice_type; 206 UWORD8 u1_qp_y = ps_slice_hdr->i1_slice_qp; 214 i1_cabac_init_idc = ps_slice_hdr->i1_cabac_init_idc;
|
ih264e_process.c | 294 slice_header_t *ps_slice_hdr = ps_entropy->ps_slice_hdr_base + (ps_entropy->i4_cur_slice_idx % MAX_SLICE_HDR_CNT); local 385 ih264e_populate_slice_header(ps_proc, ps_slice_hdr, ps_pps, ps_sps); 388 ps_entropy->i4_error_code |= ih264e_generate_slice_header(ps_bitstrm, ps_slice_hdr, 505 ps_slice_hdr = ps_entropy->ps_slice_hdr_base+ (i4_curr_slice_idx % MAX_SLICE_HDR_CNT); 509 ih264e_populate_slice_header(ps_proc, ps_slice_hdr, ps_pps, 514 ps_bitstrm, ps_slice_hdr, ps_pps, ps_sps); [all...] |
ih264e_structs.h | 693 slice_header_t *ps_slice_hdr; member in struct:__anon15496 [all...] |
/external/libhevc/decoder/ |
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_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_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_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_utils.c | 688 slice_header_t *ps_slice_hdr; local 694 ps_slice_hdr = ps_codec->s_parse.ps_slice_hdr; 752 ps_mv_buf->i4_abs_poc = ps_slice_hdr->i4_abs_pic_order_cnt; 777 ps_cur_pic->i4_abs_poc = ps_slice_hdr->i4_abs_pic_order_cnt; 778 ps_cur_pic->i4_poc_lsb = ps_slice_hdr->i4_pic_order_cnt_lsb; 802 ps_pic_buf_ref = ihevc_dpb_mgr_get_ref_by_nearest_poc(ps_dpb_mgr, ps_slice_hdr->i4_abs_pic_order_cnt); 842 for(r_idx = 0; r_idx < ps_slice_hdr->i1_num_ref_idx_l0_active; r_idx++) 844 if(NULL == ps_slice_hdr->as_ref_pic_list0[r_idx].pv_pic_buf) 846 ps_slice_hdr->as_ref_pic_list0[r_idx].pv_pic_buf = (void *)ps_pic_buf_ref 1103 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_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_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_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_process_slice.c | 239 ps_proc->ps_slice_hdr = ps_slice_hdr_next; 248 slice_header_t *ps_slice_hdr = ps_proc->ps_slice_hdr; local 261 slice_start_ctb_idx = ps_slice_hdr->i2_ctb_x + (ps_slice_hdr->i2_ctb_y * ps_sps->i2_pic_wd_in_ctb); 273 if(ps_proc->i4_ctb_x > ps_slice_hdr->i2_ctb_x) 284 WORD32 temp_stride = (ps_sps->i2_pic_wd_in_ctb - ps_slice_hdr->i2_ctb_x); 314 slice_header_t *ps_slice_hdr = ps_proc->ps_slice_hdr; local 335 check_tile_wd = ps_slice_hdr->i2_ctb_x + ps_tile_prev->u2_wd 584 slice_header_t *ps_slice_hdr; local 781 slice_header_t *ps_slice_hdr; local 1364 slice_header_t *ps_slice_hdr; local [all...] |
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_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)); [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_structs.h | 232 slice_header_t *ps_slice_hdr; member in struct:__anon16632 340 slice_header_t *ps_slice_hdr; member in struct:__anon16633 484 slice_header_t *ps_slice_hdr; member in struct:__anon16634 558 slice_header_t *ps_slice_hdr; member in struct:__anon16635 1090 slice_header_t *ps_slice_hdr; member in struct:__anon16637 1240 slice_header_t *ps_slice_hdr; member in struct:__anon16638 [all...] |