/external/libhevc/decoder/ |
D | ihevcd_parse_slice_header.c | 141 slice_header_t *ps_slice_hdr, in ihevcd_ref_pic_list_modification() argument 150 ps_rplm = &(ps_slice_hdr->s_rplm); in ihevcd_ref_pic_list_modification() 162 if(ps_slice_hdr->i1_slice_type == PSLICE || ps_slice_hdr->i1_slice_type == BSLICE) in ihevcd_ref_pic_list_modification() 168 for(i = 0; i < ps_slice_hdr->i1_num_ref_idx_l0_active; i++) in ihevcd_ref_pic_list_modification() 177 if(ps_slice_hdr->i1_slice_type == BSLICE) in ihevcd_ref_pic_list_modification() 183 for(i = 0; i < ps_slice_hdr->i1_num_ref_idx_l1_active; i++) in ihevcd_ref_pic_list_modification() 228 slice_header_t *ps_slice_hdr; in ihevcd_parse_slice_header() local 320 …ps_slice_hdr = ps_codec->s_parse.ps_slice_hdr_base + (ps_codec->s_parse.i4_cur_slice_idx & (MAX_SL… in ihevcd_parse_slice_header() 321 memset(ps_slice_hdr, 0, sizeof(*ps_slice_hdr)); in ihevcd_parse_slice_header() 341 ps_slice_hdr->i1_dependent_slice_flag = value; in ihevcd_parse_slice_header() [all …]
|
D | ihevcd_ref_list.c | 93 …RD32 ihevcd_ref_list(codec_t *ps_codec, pps_t *ps_pps, sps_t *ps_sps, slice_header_t *ps_slice_hdr) in ihevcd_ref_list() argument 135 i4_pic_order_cnt_val = ps_slice_hdr->i4_abs_pic_order_cnt; in ihevcd_ref_list() 137 if(1 == ps_slice_hdr->i1_short_term_ref_pic_set_sps_flag) in ihevcd_ref_list() 139 st_rps_idx = ps_slice_hdr->i1_short_term_ref_pic_set_idx; in ihevcd_ref_list() 148 num_neg_pics = ps_slice_hdr->s_stref_picset.i1_num_neg_pics; in ihevcd_ref_list() 149 num_pos_pics = ps_slice_hdr->s_stref_picset.i1_num_pos_pics; in ihevcd_ref_list() 150 pi1_used = ps_slice_hdr->s_stref_picset.ai1_used; in ihevcd_ref_list() 151 pi2_delta_poc = ps_slice_hdr->s_stref_picset.ai2_delta_poc; in ihevcd_ref_list() 186 for(i = 0; i < ps_slice_hdr->i1_num_long_term_sps + ps_slice_hdr->i1_num_long_term_pics; i++) in ihevcd_ref_list() 188 i4_poc_lt = ps_slice_hdr->ai4_poc_lsb_lt[i]; in ihevcd_ref_list() [all …]
|
D | ihevcd_mv_merge.c | 148 slice_header_t *ps_slice_hdr = ps_mv_ctxt->ps_slice_hdr; in ihevcd_collocated_mvp() local 173 ps_ref_list[0] = ps_slice_hdr->as_ref_pic_list0; in ihevcd_collocated_mvp() 174 ps_ref_list[1] = ps_slice_hdr->as_ref_pic_list1; in ihevcd_collocated_mvp() 175 if(PSLICE == ps_slice_hdr->i1_slice_type) in ihevcd_collocated_mvp() 176 ps_ref_list[1] = ps_slice_hdr->as_ref_pic_list0; in ihevcd_collocated_mvp() 178 if((ps_slice_hdr->i1_slice_type == BSLICE) && (ps_slice_hdr->i1_collocated_from_l0_flag == 0)) in ihevcd_collocated_mvp() 181 ps_mv_buf_col = (mv_buf_t *)ps_ref_list[1][ps_slice_hdr->i1_collocated_ref_idx].pv_mv_buf; in ihevcd_collocated_mvp() 187 ps_mv_buf_col = (mv_buf_t *)ps_ref_list[0][ps_slice_hdr->i1_collocated_ref_idx].pv_mv_buf; in ihevcd_collocated_mvp() 215 || (ps_slice_hdr->i1_slice_temporal_mvp_enable_flag == 0)) in ihevcd_collocated_mvp() 255 if(1 == ps_slice_hdr->i1_low_delay_flag) in ihevcd_collocated_mvp() [all …]
|
D | ihevcd_inter_pred.c | 120 slice_header_t *ps_slice_hdr; in ihevcd_inter_pred_ctb() local 169 ps_slice_hdr = ps_proc->ps_slice_hdr; in ihevcd_inter_pred_ctb() 190 ASSERT(PSLICE == ps_slice_hdr->i1_slice_type || BSLICE == ps_slice_hdr->i1_slice_type); in ihevcd_inter_pred_ctb() 225 weighted_pred = (ps_slice_hdr->i1_slice_type == PSLICE) ? ps_pps->i1_weighted_pred_flag : in ihevcd_inter_pred_ctb() 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)… in ihevcd_inter_pred_ctb() 238 luma_weight_l0 = ps_slice_hdr->s_wt_ofst.i2_luma_weight_l0[ps_pu->mv.i1_l0_ref_idx]; in ihevcd_inter_pred_ctb() 239 … chroma_weight_l0_cb = ps_slice_hdr->s_wt_ofst.i2_chroma_weight_l0_cb[ps_pu->mv.i1_l0_ref_idx]; in ihevcd_inter_pred_ctb() 240 … chroma_weight_l0_cr = ps_slice_hdr->s_wt_ofst.i2_chroma_weight_l0_cr[ps_pu->mv.i1_l0_ref_idx]; in ihevcd_inter_pred_ctb() 242 luma_offset_l0 = ps_slice_hdr->s_wt_ofst.i2_luma_offset_l0[ps_pu->mv.i1_l0_ref_idx]; in ihevcd_inter_pred_ctb() 243 … chroma_offset_l0_cb = ps_slice_hdr->s_wt_ofst.i2_chroma_offset_l0_cb[ps_pu->mv.i1_l0_ref_idx]; in ihevcd_inter_pred_ctb() [all …]
|
D | ihevcd_process_slice.c | 239 ps_proc->ps_slice_hdr = ps_slice_hdr_next; in ihevcd_slice_hdr_update() 248 slice_header_t *ps_slice_hdr = ps_proc->ps_slice_hdr; in ihevcd_ctb_pos_update() 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); in ihevcd_ctb_pos_update() 273 if(ps_proc->i4_ctb_x > ps_slice_hdr->i2_ctb_x) in ihevcd_ctb_pos_update() 284 WORD32 temp_stride = (ps_sps->i2_pic_wd_in_ctb - ps_slice_hdr->i2_ctb_x); in ihevcd_ctb_pos_update() 314 slice_header_t *ps_slice_hdr = ps_proc->ps_slice_hdr; in ihevcd_ctb_avail_update() local 335 check_tile_wd = ps_slice_hdr->i2_ctb_x + ps_tile_prev->u2_wd; in ihevcd_ctb_avail_update() 337 || ((ps_slice_hdr->i2_ctb_x == ps_tile->u1_pos_x)))) in ihevcd_ctb_avail_update() 342 …slice_start_ctb_idx = ps_slice_hdr->i2_ctb_x + (ps_slice_hdr->i2_ctb_y * ps_sps->i2_pic_wd_in_ctb); in ihevcd_ctb_avail_update() 584 slice_header_t *ps_slice_hdr; in ihevcd_process() local [all …]
|
D | ihevcd_utils.c | 831 slice_header_t *ps_slice_hdr; in ihevcd_parse_pic_init() local 837 ps_slice_hdr = ps_codec->s_parse.ps_slice_hdr; in ihevcd_parse_pic_init() 897 ps_mv_buf->i4_abs_poc = ps_slice_hdr->i4_abs_pic_order_cnt; in ihevcd_parse_pic_init() 922 ps_cur_pic->i4_abs_poc = ps_slice_hdr->i4_abs_pic_order_cnt; in ihevcd_parse_pic_init() 923 ps_cur_pic->i4_poc_lsb = ps_slice_hdr->i4_pic_order_cnt_lsb; in ihevcd_parse_pic_init() 968 …ps_pic_buf_ref = ihevc_dpb_mgr_get_ref_by_nearest_poc(ps_dpb_mgr, ps_slice_hdr->i4_abs_pic_order_c… in ihevcd_parse_pic_init() 1008 for(r_idx = 0; r_idx < ps_slice_hdr->i1_num_ref_idx_l0_active; r_idx++) in ihevcd_parse_pic_init() 1010 if(NULL == ps_slice_hdr->as_ref_pic_list0[r_idx].pv_pic_buf) in ihevcd_parse_pic_init() 1012 ps_slice_hdr->as_ref_pic_list0[r_idx].pv_pic_buf = (void *)ps_pic_buf_ref; in ihevcd_parse_pic_init() 1013 ps_slice_hdr->as_ref_pic_list0[r_idx].pv_mv_buf = (void *)ps_mv_buf_ref; in ihevcd_parse_pic_init() [all …]
|
D | ihevcd_parse_slice.c | 641 slice_header_t *ps_slice_hdr; in ihevcd_parse_pu_mvp() local 646 ps_slice_hdr = ps_codec->s_parse.ps_slice_hdr; in ihevcd_parse_pu_mvp() 648 if(ps_slice_hdr->i1_slice_type == BSLICE) in ihevcd_parse_pu_mvp() 687 WORD32 active_refs = ps_slice_hdr->i1_num_ref_idx_l0_active; in ihevcd_parse_pu_mvp() 736 WORD32 active_refs = ps_slice_hdr->i1_num_ref_idx_l1_active; in ihevcd_parse_pu_mvp() 772 if(ps_slice_hdr->i1_mvd_l1_zero_flag && inter_pred_idc == PRED_BI) in ihevcd_parse_pu_mvp() 822 slice_header_t *ps_slice_hdr; in ihevcd_parse_prediction_unit() local 831 ps_slice_hdr = ps_codec->s_parse.ps_slice_hdr; in ihevcd_parse_prediction_unit() 851 if(ps_slice_hdr->i1_max_num_merge_cand > 1) in ihevcd_parse_prediction_unit() 860 if(ps_slice_hdr->i1_max_num_merge_cand > 2) in ihevcd_parse_prediction_unit() [all …]
|
D | 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_fl… in GET_MV_NBR_LT() argument 277 …CHECK_NBR_MV_LT(pi4_avail_flag, ps_cur_pic_buf_lx->u1_used_as_ref, ps_slice_hdr->i4_abs_pic_order_… in GET_MV_NBR_LT() 284 …CHECK_NBR_MV_LT(pi4_avail_flag, ps_cur_pic_buf_lx->u1_used_as_ref, ps_slice_hdr->i4_abs_pic_order_… in GET_MV_NBR_LT() 297 …CHECK_NBR_MV_LT(pi4_avail_flag, ps_cur_pic_buf_lx->u1_used_as_ref, ps_slice_hdr->i4_abs_pic_order_… in GET_MV_NBR_LT() 304 …CHECK_NBR_MV_LT(pi4_avail_flag, ps_cur_pic_buf_lx->u1_used_as_ref, ps_slice_hdr->i4_abs_pic_order_… in GET_MV_NBR_LT() 367 slice_header_t *ps_slice_hdr; in ihevcd_mv_pred() local 400 ps_slice_hdr = ps_mv_ctxt->ps_slice_hdr; in ihevcd_mv_pred() 408 ps_ref_pic_list[0] = ps_slice_hdr->as_ref_pic_list0; in ihevcd_mv_pred() 409 ps_ref_pic_list[1] = ps_slice_hdr->as_ref_pic_list1; in ihevcd_mv_pred() 410 if(PSLICE == ps_slice_hdr->i1_slice_type) in ihevcd_mv_pred() [all …]
|
D | ihevcd_deblk.c | 129 slice_header_t *ps_slice_hdr; in ihevcd_deblk_ctb() local 136 ps_slice_hdr = ps_deblk->ps_slice_hdr; in ihevcd_deblk_ctb() 260 WORD8 i1_beta_offset_div2 = ps_slice_hdr->i1_beta_offset_div2; in ihevcd_deblk_ctb() 261 WORD8 i1_tc_offset_div2 = ps_slice_hdr->i1_tc_offset_div2; in ihevcd_deblk_ctb() 329 ps_slice_hdr->i1_beta_offset_div2, in ihevcd_deblk_ctb() 330 ps_slice_hdr->i1_tc_offset_div2, in ihevcd_deblk_ctb() 402 WORD8 i1_beta_offset_div2 = ps_slice_hdr->i1_beta_offset_div2; in ihevcd_deblk_ctb() 403 WORD8 i1_tc_offset_div2 = ps_slice_hdr->i1_tc_offset_div2; in ihevcd_deblk_ctb() 471 ps_slice_hdr->i1_beta_offset_div2, in ihevcd_deblk_ctb() 472 ps_slice_hdr->i1_tc_offset_div2, in ihevcd_deblk_ctb() [all …]
|
D | ihevcd_ilf_padding.c | 82 slice_header_t *ps_slice_hdr; in ihevcd_ilf_pad_frame() local 88 ps_slice_hdr = ps_deblk_ctxt->ps_slice_hdr; in ihevcd_ilf_pad_frame() 108 if((0 == ps_slice_hdr->i1_slice_disable_deblocking_filter_flag) && in ihevcd_ilf_pad_frame() 148 if(ps_slice_hdr->i1_slice_sao_luma_flag || ps_slice_hdr->i1_slice_sao_chroma_flag) in ihevcd_ilf_pad_frame()
|
D | ihevcd_get_mv.c | 429 slice_header_t *ps_slice_hdr; in ihevcd_get_mv_ctb() local 431 ps_slice_hdr = ps_mv_ctxt->ps_slice_hdr; in ihevcd_get_mv_ctb() 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)… in ihevcd_get_mv_ctb() 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)… in ihevcd_get_mv_ctb() 435 if(BSLICE == ps_slice_hdr->i1_slice_type) in ihevcd_get_mv_ctb()
|
D | ihevcd_structs.h | 232 slice_header_t *ps_slice_hdr; member 340 slice_header_t *ps_slice_hdr; member 484 slice_header_t *ps_slice_hdr; member 558 slice_header_t *ps_slice_hdr; member 1090 slice_header_t *ps_slice_hdr; member 1243 slice_header_t *ps_slice_hdr; member
|
D | 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_be… argument 109 …ihevcd_debug_print_ref_list_pocs(i4_pic_order_cnt_val, ps_slice_hdr, ps_dpb_mgr, u4_num_st_curr_be… 113 #define DEBUG_PRINT_REF_LIST_POCS(i4_pic_order_cnt_val, ps_slice_hdr, ps_dpb_mgr, u4_num_st_curr_be… argument
|
D | ihevcd_sao.c | 535 slice_header_t *ps_slice_hdr, *ps_slice_hdr_base; in ihevcd_sao_shift_ctb() local 586 ps_slice_hdr = ps_slice_hdr_base + (ps_sao_ctxt->i4_cur_slice_idx & (MAX_SLICE_HDR_CNT - 1)); in ihevcd_sao_shift_ctb() 874 … if((!ps_slice_hdr->i1_first_slice_in_pic_flag) || (ps_pps->i1_tiles_enabled_flag)) in ihevcd_sao_shift_ctb() 901 if(!ps_slice_hdr->i1_first_slice_in_pic_flag) in ihevcd_sao_shift_ctb() 1105 else if((!ps_slice_hdr->i1_first_slice_in_pic_flag) || (ps_pps->i1_tiles_enabled_flag)) in ihevcd_sao_shift_ctb() 1197 … if((!ps_slice_hdr->i1_first_slice_in_pic_flag) || (ps_pps->i1_tiles_enabled_flag)) in ihevcd_sao_shift_ctb() 1221 if(!ps_slice_hdr->i1_first_slice_in_pic_flag) in ihevcd_sao_shift_ctb() 1438 else if((!ps_slice_hdr->i1_first_slice_in_pic_flag) || (ps_pps->i1_tiles_enabled_flag)) in ihevcd_sao_shift_ctb() 1568 … if((!ps_slice_hdr->i1_first_slice_in_pic_flag) || (ps_pps->i1_tiles_enabled_flag)) in ihevcd_sao_shift_ctb() 1586 if(!ps_slice_hdr->i1_first_slice_in_pic_flag) in ihevcd_sao_shift_ctb() [all …]
|
D | ihevcd_ref_list.h | 37 …D32 ihevcd_ref_list(codec_t *ps_codec, pps_t *ps_pps, sps_t *ps_sps, slice_header_t *ps_slice_hdr);
|
/external/libavc/encoder/ |
D | ih264e_encode_header.c | 826 slice_header_t *ps_slice_hdr, in ih264e_generate_slice_header() argument 840 …_status = ih264e_generate_nal_unit_header(ps_bitstrm, ps_slice_hdr->i1_nal_unit_type, ps_slice_hdr… in ih264e_generate_slice_header() 846 … PUT_BITS_UEV(ps_bitstrm, ps_slice_hdr->u2_first_mb_in_slice, return_status, "first_mb_in_slice"); in ih264e_generate_slice_header() 849 PUT_BITS_UEV(ps_bitstrm, ps_slice_hdr->u1_slice_type, return_status, "slice_type"); in ih264e_generate_slice_header() 852 PUT_BITS_UEV(ps_bitstrm, ps_slice_hdr->u1_pps_id, return_status, "pic_parameter_set_id"); in ih264e_generate_slice_header() 855 …PUT_BITS(ps_bitstrm, ps_slice_hdr->i4_frame_num, ps_sps->i1_log2_max_frame_num, return_status, "fr… in ih264e_generate_slice_header() 860 PUT_BITS(ps_bitstrm, ps_slice_hdr->i1_field_pic_flag, 1, return_status, "field_pic_flag"); in ih264e_generate_slice_header() 862 if(ps_slice_hdr->i1_field_pic_flag) in ih264e_generate_slice_header() 865 … PUT_BITS(ps_bitstrm, ps_slice_hdr->i1_bottom_field_flag, 1, return_status, "bottom_field_flag"); in ih264e_generate_slice_header() 869 if (ps_slice_hdr->i1_nal_unit_type == 5) in ih264e_generate_slice_header() [all …]
|
D | ih264e_cabac_init.c | 198 slice_header_t *ps_slice_hdr = ps_ent_ctxt->ps_slice_hdr_base; in ih264e_init_cabac_ctxt() local 199 const UWORD8 u1_slice_type = ps_slice_hdr->u1_slice_type; in ih264e_init_cabac_ctxt() 202 UWORD8 u1_qp_y = ps_slice_hdr->i1_slice_qp; in ih264e_init_cabac_ctxt() 210 i1_cabac_init_idc = ps_slice_hdr->i1_cabac_init_idc; in ih264e_init_cabac_ctxt()
|
D | ih264e_encode_header.h | 221 slice_header_t *ps_slice_hdr, 302 slice_header_t *ps_slice_hdr,
|
/external/libhevc/encoder/ |
D | ihevce_encode_header.c | 486 bitstrm_t *ps_bitstrm, slice_header_t *ps_slice_hdr, WORD32 i4_NumPocTotalCurr) in ref_pic_list_modification() argument 493 ps_bitstrm, ps_slice_hdr->s_rplm.i1_ref_pic_list_modification_flag_l0, 1, return_status); in ref_pic_list_modification() 496 ps_slice_hdr->s_rplm.i1_ref_pic_list_modification_flag_l0); in ref_pic_list_modification() 498 if(ps_slice_hdr->s_rplm.i1_ref_pic_list_modification_flag_l0) in ref_pic_list_modification() 500 for(i = 0; i <= (ps_slice_hdr->i1_num_ref_idx_l0_active - 1); i++) in ref_pic_list_modification() 505 PUT_BITS(ps_bitstrm, ps_slice_hdr->s_rplm.i1_list_entry_l0[i], num_bits, return_status); in ref_pic_list_modification() 506 ENTROPY_TRACE("list_entry_l0", ps_slice_hdr->s_rplm.i1_list_entry_l0[i]); in ref_pic_list_modification() 510 if((BSLICE == ps_slice_hdr->i1_slice_type)) in ref_pic_list_modification() 514 … ps_bitstrm, ps_slice_hdr->s_rplm.i1_ref_pic_list_modification_flag_l1, 1, return_status); in ref_pic_list_modification() 517 ps_slice_hdr->s_rplm.i1_ref_pic_list_modification_flag_l1); in ref_pic_list_modification() [all …]
|
D | ihevce_entropy_interface.c | 359 ps_entropy_ctxt->ps_slice_hdr = &ps_curr_inp->s_slice_hdr; in ihevce_entropy_encode_frame() 526 ps_entropy_ctxt->ps_slice_hdr, in ihevce_entropy_encode_frame() 572 ps_entropy_ctxt->ps_slice_hdr, in ihevce_entropy_encode_frame() 764 ps_entropy_ctxt->ps_slice_hdr->i1_num_ref_idx_l0_active; in ihevce_entropy_encode_frame() 766 ps_entropy_ctxt->ps_slice_hdr->i1_num_ref_idx_l1_active; in ihevce_entropy_encode_frame() 767 for(i = 0; i < ps_entropy_ctxt->ps_slice_hdr->i1_num_ref_idx_l0_active; i++) in ihevce_entropy_encode_frame() 770 ps_entropy_ctxt->ps_slice_hdr->s_rplm.i4_ref_poc_l0[i]; in ihevce_entropy_encode_frame() 772 ps_entropy_ctxt->ps_slice_hdr->s_rplm.i1_list_entry_l0[i]; in ihevce_entropy_encode_frame() 774 (DOUBLE)ps_entropy_ctxt->ps_slice_hdr->s_wt_ofst.i2_luma_weight_l0[i] / in ihevce_entropy_encode_frame() 775 (1 << ps_entropy_ctxt->ps_slice_hdr->s_wt_ofst.i1_luma_log2_weight_denom); in ihevce_entropy_encode_frame() [all …]
|
D | ihevce_mv_pred_merge.c | 172 slice_header_t *ps_slice_hdr = ps_mv_ctxt->ps_slice_hdr; in ihevce_collocated_mvp() local 195 if((ps_slice_hdr->i1_slice_type == BSLICE) && (ps_slice_hdr->i1_collocated_from_l0_flag == 0)) in ihevce_collocated_mvp() 198 ps_col_ref_buf = ps_mv_ctxt->ps_ref_list[1][ps_slice_hdr->i1_collocated_ref_idx]; in ihevce_collocated_mvp() 203 ps_col_ref_buf = ps_mv_ctxt->ps_ref_list[0][ps_slice_hdr->i1_collocated_ref_idx]; in ihevce_collocated_mvp() 238 (ps_slice_hdr->i1_slice_temporal_mvp_enable_flag == 0)) in ihevce_collocated_mvp() 278 if(1 == ps_slice_hdr->i1_low_delay_flag) in ihevce_collocated_mvp() 290 if(0 == ps_slice_hdr->i1_collocated_from_l0_flag) in ihevce_collocated_mvp() 308 ps_slice_hdr->i1_collocated_from_l0_flag; /* L"collocated_from_l0_flag" */ in ihevce_collocated_mvp() 310 ps_slice_hdr->i1_collocated_from_l0_flag; /* L"collocated_from_l0_flag" */ in ihevce_collocated_mvp() 332 cur_poc = ps_slice_hdr->i4_abs_pic_order_cnt; in ihevce_collocated_mvp() [all …]
|
D | ihevce_cabac_cu_pu.c | 779 slice_header_t *ps_slice_hdr = ps_entropy_ctxt->ps_slice_hdr; in ihevce_cabac_encode_inter_pu() local 784 WORD32 max_merge_cand = ps_slice_hdr->i1_max_num_merge_cand; in ihevce_cabac_encode_inter_pu() 882 WORD32 ref_l0_active = ps_slice_hdr->i1_num_ref_idx_l0_active; in ihevce_cabac_encode_inter_pu() 883 WORD32 ref_l1_active = ps_slice_hdr->i1_num_ref_idx_l1_active; in ihevce_cabac_encode_inter_pu() 910 if(ps_slice_hdr->i1_slice_type == BSLICE) in ihevce_cabac_encode_inter_pu() 987 if(ps_slice_hdr->i1_mvd_l1_zero_flag && inter_pred_idc == PRED_BI) in ihevce_cabac_encode_inter_pu() 1060 slice_header_t *ps_slice_hdr = ps_entropy_ctxt->ps_slice_hdr; in ihevce_cabac_encode_coding_unit() local 1099 if(ps_slice_hdr->i1_slice_type != ISLICE) in ihevce_cabac_encode_coding_unit() 1152 if(ps_slice_hdr->i1_slice_type != ISLICE) in ihevce_cabac_encode_coding_unit() 1421 slice_header_t *ps_slice_hdr = ps_entropy_ctxt->ps_slice_hdr; in ihevce_cabac_encode_sao() local [all …]
|
D | ihevce_cabac_rdo.c | 136 slice_header_t *ps_slice_hdr, in ihevce_entropy_rdo_frame_init() argument 143 WORD32 slice_qp = ps_slice_hdr->i1_slice_qp_delta + ps_pps->i1_pic_init_qp; in ihevce_entropy_rdo_frame_init() 160 ps_rdopt_entropy_ctxt->as_cu_entropy_ctxt[0].ps_slice_hdr = ps_slice_hdr; in ihevce_entropy_rdo_frame_init() 165 ps_rdopt_entropy_ctxt->as_cu_entropy_ctxt[1].ps_slice_hdr = ps_slice_hdr; in ihevce_entropy_rdo_frame_init() 242 if(ps_slice_hdr->i1_slice_type == ISLICE) in ihevce_entropy_rdo_frame_init() 246 else if(ps_slice_hdr->i1_slice_type == PSLICE) in ihevce_entropy_rdo_frame_init() 248 cabac_init_idc = ps_slice_hdr->i1_cabac_init_flag ? 2 : 1; in ihevce_entropy_rdo_frame_init() 252 cabac_init_idc = ps_slice_hdr->i1_cabac_init_flag ? 1 : 2; in ihevce_entropy_rdo_frame_init()
|
D | ihevce_encode_header.h | 91 slice_header_t *ps_slice_hdr, 137 slice_header_t *ps_slice_hdr, 153 slice_header_t *ps_slice_hdr,
|
D | ihevce_sao.c | 496 if(ps_sao_ctxt->ps_slice_hdr->i1_slice_sao_luma_flag) in ihevce_sao_analyse() 498 if(ps_sao_ctxt->ps_slice_hdr->i1_slice_sao_luma_flag && !u1_force_no_offset) in ihevce_sao_analyse() 772 s_sao_ctxt.i1_slice_sao_luma_flag = s_sao_ctxt.ps_slice_hdr->i1_slice_sao_luma_flag; in ihevce_sao_analyse() 856 if(ps_sao_ctxt->ps_slice_hdr->i1_slice_sao_chroma_flag) in ihevce_sao_analyse() 858 if(ps_sao_ctxt->ps_slice_hdr->i1_slice_sao_chroma_flag && !u1_force_no_offset) in ihevce_sao_analyse() 1050 if(ps_sao_ctxt->ps_slice_hdr->i1_slice_sao_luma_flag) in ihevce_sao_analyse() 1087 if(ps_sao_ctxt->ps_slice_hdr->i1_slice_sao_chroma_flag) in ihevce_sao_analyse() 1137 s_sao_ctxt.i1_slice_sao_luma_flag = s_sao_ctxt.ps_slice_hdr->i1_slice_sao_luma_flag; in ihevce_sao_analyse() 1138 s_sao_ctxt.i1_slice_sao_chroma_flag = s_sao_ctxt.ps_slice_hdr->i1_slice_sao_chroma_flag; in ihevce_sao_analyse() 1142 if(ps_sao_ctxt->ps_slice_hdr->i1_slice_sao_luma_flag) in ihevce_sao_analyse() [all …]
|