/external/libhevc/decoder/ |
D | ihevcd_ilf_padding.c | 84 WORD32 i4_ctb_x, i4_ctb_y; in ihevcd_ilf_pad_frame() local 92 for(i4_ctb_y = 0; i4_ctb_y < ps_sps->i2_pic_ht_in_ctb; i4_ctb_y++) in ihevcd_ilf_pad_frame() 103 ps_deblk_ctxt->i4_ctb_y = i4_ctb_y; in ihevcd_ilf_pad_frame() 106 ps_sao_ctxt->i4_ctb_y = i4_ctb_y; in ihevcd_ilf_pad_frame() 134 if(i4_ctb_y == ps_sps->i2_pic_ht_in_ctb - 1) in ihevcd_ilf_pad_frame() 157 + i4_ctb_y * ctb_size in ihevcd_ilf_pad_frame() 161 + (i4_ctb_y * ctb_size * ps_codec->i4_strd / 2); in ihevcd_ilf_pad_frame() 169 pad_ht_luma += (ps_sps->i2_pic_ht_in_ctb - 1) == i4_ctb_y ? 8 : 0; in ihevcd_ilf_pad_frame() 171 pad_ht_chroma += (ps_sps->i2_pic_ht_in_ctb - 1) == i4_ctb_y ? 8 : 0; in ihevcd_ilf_pad_frame() 183 pad_ht_luma += (ps_sps->i2_pic_ht_in_ctb - 1) == i4_ctb_y ? 8 : 0; in ihevcd_ilf_pad_frame() [all …]
|
D | ihevcd_sao.c | 120 …pu1_src_luma = ps_sao_ctxt->pu1_cur_pic_luma + ((ps_sao_ctxt->i4_ctb_x + ps_sao_ctxt->i4_ctb_y * p… in ihevcd_sao_ctb() 121 …s_sao_ctxt->pu1_cur_pic_chroma + ((ps_sao_ctxt->i4_ctb_x + ps_sao_ctxt->i4_ctb_y * ps_sao_ctxt->ps… in ihevcd_sao_ctb() 123 …ps_sao = ps_sao_ctxt->ps_pic_sao + ps_sao_ctxt->i4_ctb_x + ps_sao_ctxt->i4_ctb_y * ps_sps->i2_pic_… in ihevcd_sao_ctb() 140 … remaining_rows = ps_sps->i2_pic_height_in_luma_samples - (ps_sao_ctxt->i4_ctb_y << log2_ctb_size); in ihevcd_sao_ctb() 146 … pu1_src_left_luma = ps_sao_ctxt->pu1_sao_src_left_luma + (ps_sao_ctxt->i4_ctb_y << log2_ctb_size); in ihevcd_sao_ctb() 147 …pu1_src_left_chroma = ps_sao_ctxt->pu1_sao_src_left_chroma + (ps_sao_ctxt->i4_ctb_y << log2_ctb_si… in ihevcd_sao_ctb() 150 ((ps_sao_ctxt->i4_ctb_y * ctb_size) / 8) * loop_filter_strd + in ihevcd_sao_ctb() 197 if(0 == ps_sao_ctxt->i4_ctb_y) in ihevcd_sao_ctb() 208 if(ps_sps->i2_pic_ht_in_ctb - 1 == ps_sao_ctxt->i4_ctb_y) in ihevcd_sao_ctb() 596 …pu1_src_luma = ps_sao_ctxt->pu1_cur_pic_luma + ((ps_sao_ctxt->i4_ctb_x + ps_sao_ctxt->i4_ctb_y * p… in ihevcd_sao_shift_ctb() [all …]
|
D | ihevcd_process_slice.c | 134 if(ps_proc->i4_ctb_y > 0) in ihevcd_proc_map_check() 142 idx += ((ps_proc->i4_ctb_y - 1) in ihevcd_proc_map_check() 158 idx = x_pos + (ps_proc->i4_ctb_y * ps_sps->i2_pic_wd_in_ctb); in ihevcd_proc_map_check() 164 if((ps_proc->i4_ctb_x > 0) && (0 != status) && (ps_proc->i4_ctb_y > 0)) in ihevcd_proc_map_check() 167 idx = x_pos + ((ps_proc->i4_ctb_y - 1) * ps_sps->i2_pic_wd_in_ctb); in ihevcd_proc_map_check() 212 idx += ((ps_proc->i4_ctb_y) * ps_sps->i2_pic_wd_in_ctb); in ihevcd_proc_map_update() 225 if(!((ps_proc->i4_ctb_x == 0) && (ps_proc->i4_ctb_y == 0))) in ihevcd_slice_hdr_update() 230 && (ps_slice_hdr_next->i2_ctb_y == ps_proc->i4_ctb_y)) in ihevcd_slice_hdr_update() 355 + ps_proc->i4_ctb_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_ctb_avail_update() 365 if((0 == ps_proc->i4_ctb_y) || (0 == ps_proc->i4_ctb_tile_y)) in ihevcd_ctb_avail_update() [all …]
|
D | ihevcd_boundary_strength.c | 249 ps_bs_ctxt->i4_ctb_y * bs_strd); in ihevcd_ctb_boundary_strength_islice() 252 ps_bs_ctxt->i4_ctb_y * bs_strd); in ihevcd_ctb_boundary_strength_islice() 256 …pu1_qp = ps_bs_ctxt->pu1_pic_qp + ((ps_bs_ctxt->i4_ctb_x + ps_bs_ctxt->i4_ctb_y * qp_strd) << (log… in ihevcd_ctb_boundary_strength_islice() 258 ctb_indx = ps_bs_ctxt->i4_ctb_x + ps_sps->i2_pic_wd_in_ctb * ps_bs_ctxt->i4_ctb_y; in ihevcd_ctb_boundary_strength_islice() 282 if(0 != ps_bs_ctxt->i4_ctb_y) in ihevcd_ctb_boundary_strength_islice() 379 ctb_addr = ps_bs_ctxt->i4_ctb_x + (ps_bs_ctxt->i4_ctb_y * ps_sps->i2_pic_wd_in_ctb); in ihevcd_ctb_boundary_strength_islice() 383 … ctb_addr = (ps_bs_ctxt->i4_ctb_x - 1) + (ps_bs_ctxt->i4_ctb_y * ps_sps->i2_pic_wd_in_ctb); in ihevcd_ctb_boundary_strength_islice() 401 ctb_addr = ps_bs_ctxt->i4_ctb_x + (ps_bs_ctxt->i4_ctb_y * ps_sps->i2_pic_wd_in_ctb); in ihevcd_ctb_boundary_strength_islice() 403 if(ps_bs_ctxt->i4_ctb_y) in ihevcd_ctb_boundary_strength_islice() 405 … ctb_addr = (ps_bs_ctxt->i4_ctb_x) + ((ps_bs_ctxt->i4_ctb_y - 1) * ps_sps->i2_pic_wd_in_ctb); in ihevcd_ctb_boundary_strength_islice() [all …]
|
D | ihevcd_deblk.c | 147 ps_deblk->i4_ctb_y * bs_strd); in ihevcd_deblk_ctb() 152 ps_deblk->i4_ctb_y * bs_strd); in ihevcd_deblk_ctb() 156 …pu1_qp = ps_deblk->s_bs_ctxt.pu1_pic_qp + ((ps_deblk->i4_ctb_x + ps_deblk->i4_ctb_y * qp_strd) << … in ihevcd_deblk_ctb() 160 ctb_indx = ps_deblk->i4_ctb_x + ps_sps->i2_pic_wd_in_ctb * ps_deblk->i4_ctb_y; in ihevcd_deblk_ctb() 197 if((ps_deblk->i4_ctb_x || i4_is_last_ctb_x) && (ps_deblk->i4_ctb_y || i4_is_last_ctb_y)) in ihevcd_deblk_ctb() 206 if(ps_deblk->i4_ctb_y || i4_is_last_ctb_y) in ihevcd_deblk_ctb() 222 … WORD32 cur_ctb_indx = ps_deblk->i4_ctb_x + ps_deblk->i4_ctb_y * ps_sps->i2_pic_wd_in_ctb; in ihevcd_deblk_ctb() 228 …pu1_src = ps_deblk->pu1_cur_pic_luma + ((ps_deblk->i4_ctb_x + ps_deblk->i4_ctb_y * ps_deblk->ps_co… in ihevcd_deblk_ctb() 250 if(ps_deblk->i4_ctb_y || i4_is_last_ctb_y) in ihevcd_deblk_ctb() 364 … WORD32 cur_ctb_indx = ps_deblk->i4_ctb_x + ps_deblk->i4_ctb_y * ps_sps->i2_pic_wd_in_ctb; in ihevcd_deblk_ctb() [all …]
|
D | ihevcd_get_mv.c | 147 …pu1_pic_pu_map_ctb = ps_mv_ctxt->pu1_pic_pu_map + (ps_mv_ctxt->i4_ctb_x + ps_mv_ctxt->i4_ctb_y * p… in ihevcd_get_mv_ctb() 170 - (ps_mv_ctxt->i4_ctb_y << ps_sps->i1_log2_ctb_size); in ihevcd_get_mv_ctb() 211 … index_pic_map = ((ps_mv_ctxt->i4_ctb_x - 1) + ps_mv_ctxt->i4_ctb_y * ps_sps->i2_pic_wd_in_ctb); in ihevcd_get_mv_ctb() 225 …index_pic_map = ((ps_mv_ctxt->i4_ctb_x - 1) + (ps_mv_ctxt->i4_ctb_y - 1) * ps_sps->i2_pic_wd_in_ct… in ihevcd_get_mv_ctb() 233 if(((ps_tile->u1_pos_y) == (ps_mv_ctxt->i4_ctb_y)) && (ps_mv_ctxt->i4_ctb_y != 0)) in ihevcd_get_mv_ctb() 240 … index_pic_map = (ps_mv_ctxt->i4_ctb_x) + ((ps_mv_ctxt->i4_ctb_y - 1) * ps_sps->i2_pic_wd_in_ctb); in ihevcd_get_mv_ctb() 513 … - (ps_mv_ctxt->i4_ctb_y << ps_sps->i1_log2_ctb_size)) / MIN_PU_SIZE), ctb_size_in_min_pu); in ihevcd_get_mv_ctb()
|
D | ihevcd_parse_slice.c | 247 ctb_y_base = ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size; in ihevcd_parse_transform_tree() 838 ctb_y_base = ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size; in ihevcd_parse_prediction_unit() 978 ctb_y_base = ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size; in ihevcd_parse_coding_unit_intra() 1328 ctb_y_base = ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size; in ihevcd_parse_coding_unit() 1621 ctb_y_base = ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size; in ihevcd_parse_coding_unit() 1705 cu_pos_y = (y0 - (ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size)) >> 3; in ihevcd_parse_coding_quadtree() 1940 … ctb_indx = ps_codec->s_parse.i4_ctb_x + ps_sps->i2_pic_wd_in_ctb * ps_codec->s_parse.i4_ctb_y; in ihevcd_parse_coding_quadtree() 1994 ry = ps_codec->s_parse.i4_ctb_y; in ihevcd_parse_sao() 2211 - (ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size); in ihevcd_set_ctb_skip() 2243 tu_abs_y = (ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size) + pu_y; in ihevcd_set_ctb_skip() [all …]
|
D | ihevcd_structs.h | 243 WORD32 i4_ctb_y; member 356 WORD32 i4_ctb_y; member 500 WORD32 i4_ctb_y; member 573 WORD32 i4_ctb_y; member 797 WORD32 i4_ctb_y; member 1190 WORD32 i4_ctb_y; member
|
D | ihevcd_iquant_itrans_recon_ctb.c | 378 y_cur = ps_proc->i4_ctb_y * ctb_size + cur_y * MIN_TU_SIZE; in ihevcd_get_intra_nbr_flag() 503 - (ps_proc->i4_ctb_y << ps_sps->i1_log2_ctb_size) in ihevcd_get_intra_nbr_flag() 624 …WORD32 rows_remaining = ps_sps->i2_pic_height_in_luma_samples - (ps_proc->i4_ctb_y << ps_sps->i1_l… in ihevcd_iquant_itrans_recon_ctb() 697 WORD32 tu_abs_y = (ps_proc->i4_ctb_y << ps_sps->i1_log2_ctb_size) + (tu_y); in ihevcd_iquant_itrans_recon_ctb()
|
D | ihevcd_inter_pred.c | 173 + ps_proc->i4_ctb_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_inter_pred_ctb() 220 pu_y = (ps_proc->i4_ctb_y << ps_sps->i1_log2_ctb_size) + (ps_pu->b4_pos_y << 2); in ihevcd_inter_pred_ctb()
|
D | ihevcd_mv_merge.c | 194 && (((y_col + (ps_mv_ctxt->i4_ctb_y << log2_ctb_size)) in ihevcd_collocated_mvp() 200 col_ctb_y = ps_mv_ctxt->i4_ctb_y + (yp_col >> log2_ctb_size); in ihevcd_collocated_mvp()
|
D | ihevcd_decode.c | 807 ps_proc->i4_ctb_y = s_job.i2_ctb_y; in ihevcd_decode()
|
D | ihevcd_parse_slice_header.c | 1082 ps_codec->s_parse.i4_ctb_y = 0; in ihevcd_parse_slice_header()
|
/external/libhevc/encoder/ |
D | ihevce_cabac_cu_pu.c | 1274 WORD32 ctb_y0_frm = (ps_entropy_ctxt->i4_ctb_y << ps_entropy_ctxt->i1_log2_ctb_size); in ihevce_cabac_encode_coding_unit() 1941 ps_entropy_ctxt->i4_ctb_y = ps_entropy_ctxt->i4_next_slice_seg_y; in ihevce_encode_slice_data() 1988 y0_frm = ps_entropy_ctxt->i4_ctb_y << log2_ctb_size; in ihevce_encode_slice_data() 2014 i4_curr_ctb_y = ps_entropy_ctxt->i4_ctb_y; in ihevce_encode_slice_data() 2103 ps_entropy_ctxt->i4_ctb_y++; in ihevce_encode_slice_data() 2125 ps_entropy_ctxt->i4_next_slice_seg_y = ps_entropy_ctxt->i4_ctb_y; in ihevce_encode_slice_data() 2165 ps_entropy_ctxt->i4_next_slice_seg_y = ps_entropy_ctxt->i4_ctb_y; in ihevce_encode_slice_data() 2247 ASSERT(ps_entropy_ctxt->i4_ctb_y < MAX_NUM_CTB_ROWS_FRM); in ihevce_encode_slice_data() 2248 ps_slice_hdr->pu4_entry_point_offset[ps_entropy_ctxt->i4_ctb_y] = in ihevce_encode_slice_data() 2259 ps_slice_hdr->pu4_entry_point_offset[ps_entropy_ctxt->i4_ctb_y] = in ihevce_encode_slice_data()
|
D | ihevce_sao.c | 124 WORD32 ctb_y_pos = ps_sao_ctxt->i4_ctb_y; in ihevce_sao_set_avilability() 248 1 + (ps_sao_ctxt->i4_frm_luma_recon_stride * ps_sao_ctxt->i4_ctb_y * ctb_size) + in ihevce_sao_ctb() 268 if((ps_sao_ctxt->i4_ctb_y > 0)) in ihevce_sao_ctb() 300 if((ps_sao_ctxt->i4_ctb_y > 0)) in ihevce_sao_ctb() 334 (ps_sao_ctxt->i4_frm_chroma_recon_stride * ps_sao_ctxt->i4_ctb_y * in ihevce_sao_ctb() 358 if((ps_sao_ctxt->i4_ctb_y > 0)) in ihevce_sao_ctb() 393 if((ps_sao_ctxt->i4_ctb_y > 0)) in ihevce_sao_ctb() 456 [ps_sao_ctxt->i4_ctb_x + ps_sao_ctxt->i4_ctb_data_stride * ps_sao_ctxt->i4_ctb_y] in ihevce_sao_analyse()
|
D | ihevce_enc_loop_pass.c | 1967 ps_ctxt->s_mv_pred_ctxt.i4_ctb_y = vert_ctr; in ihevce_enc_loop_process_row() 2509 ps_sao_ctxt->i4_ctb_y = vert_ctr - 1; in ihevce_enc_loop_process_row() 2524 (ps_sao_ctxt->i4_frm_luma_recon_stride * ps_sao_ctxt->i4_ctb_y * ctb_size) + in ihevce_enc_loop_process_row() 2531 (ps_sao_ctxt->i4_frm_chroma_recon_stride * ps_sao_ctxt->i4_ctb_y * in ihevce_enc_loop_process_row() 2540 (ps_sao_ctxt->i4_frm_luma_src_stride * ps_sao_ctxt->i4_ctb_y * ctb_size) + in ihevce_enc_loop_process_row() 2547 (ps_sao_ctxt->i4_frm_chroma_src_stride * ps_sao_ctxt->i4_ctb_y * in ihevce_enc_loop_process_row() 2559 (ps_sao_ctxt->i4_ctb_y) * in ihevce_enc_loop_process_row() 2567 (ps_sao_ctxt->i4_ctb_y - 1) * ps_sao_ctxt->i4_frm_top_luma_buf_stride + in ihevce_enc_loop_process_row() 2575 (ps_sao_ctxt->i4_ctb_y - 1) * ps_sao_ctxt->i4_frm_top_chroma_buf_stride + in ihevce_enc_loop_process_row() 2623 ps_ctxt->s_sao_ctxt_t.i4_ctb_y = vert_ctr - 1; in ihevce_enc_loop_process_row() [all …]
|
D | ihevce_common_utils.c | 1089 if((ps_sao_ctxt->i4_ctb_y == 0) && (eo_sao_class != SAO_EDGE_0_DEG)) in ihevce_get_chroma_eo_sao_params() 1094 if(((ps_sao_ctxt->i4_ctb_y + 1) == ps_sao_ctxt->ps_sps->i2_pic_ht_in_ctb) && in ihevce_get_chroma_eo_sao_params() 1198 if((ps_sao_ctxt->i4_ctb_y == 0) && (eo_sao_class != SAO_EDGE_0_DEG)) in ihevce_get_luma_eo_sao_params() 1203 if(((ps_sao_ctxt->i4_ctb_y + 1) == ps_sao_ctxt->ps_sps->i2_pic_ht_in_ctb) && in ihevce_get_luma_eo_sao_params()
|
D | hme_refine.c | 5961 S32 blk_x, blk_y, i4_ctb_x, i4_ctb_y, tile_col_idx, blk_id_in_ctb; in hme_refine() local 6598 i4_ctb_y = 0; in hme_refine() 6667 i4_ctb_y = -1; in hme_refine() 6681 i4_ctb_y = ps_job->s_job_info.s_me_job_info.i4_vert_unit_row_no; in hme_refine() 6715 i4_ctb_y, in hme_refine() 6726 set_dep_pos = i4_ctb_y + 1; in hme_refine() 6727 if(i4_ctb_y > 0) in hme_refine() 6730 check_dep_pos = i4_ctb_y - 1; in hme_refine() 6741 ps_ctxt->ps_ctb_analyse_base + i4_ctb_y * ps_frm_ctb_prms->i4_num_ctbs_horz; in hme_refine() 6746 i4_ctb_y * ps_frm_ctb_prms->i4_num_ctbs_horz * MAX_NUM_NODES_CU_TREE; in hme_refine() [all …]
|
D | ihevce_cabac_rdo.c | 305 ps_rdopt_entropy_ctxt->as_cu_entropy_ctxt[0].i4_ctb_y = ctb_y; in ihevce_entropy_rdo_ctb_init() 306 ps_rdopt_entropy_ctxt->as_cu_entropy_ctxt[1].i4_ctb_y = ctb_y; in ihevce_entropy_rdo_ctb_init()
|
D | ihevce_entropy_structs.h | 171 WORD32 i4_ctb_y; member
|
D | ihevce_mv_pred_merge.c | 210 ((((y_col + (ps_mv_ctxt->i4_ctb_y << log2_ctb_size)) < in ihevce_collocated_mvp() 217 col_ctb_y = ps_mv_ctxt->i4_ctb_y + (yp_col >> log2_ctb_size); in ihevce_collocated_mvp()
|
D | hme_utils.h | 199 S32 get_num_blks_in_ctb(S32 i4_ctb_x, S32 i4_ctb_y, S32 i4_pic_wd, S32 i4_pic_ht, S32 i4_blk_size);
|
D | ihevce_enc_loop_structs.h | 969 WORD32 i4_ctb_y; member 1757 WORD32 i4_ctb_y; member
|
D | ihevce_me_pass.c | 691 void *pv_me_ctxt, void *pv_me_frm_ctxt, WORD32 i4_ctb_x, WORD32 i4_ctb_y) in ihevce_me_update_ctb_results() argument
|
/external/libhevc/encoder/arm/ |
D | ihevce_common_utils_neon.c | 507 if((ps_sao_ctxt->i4_ctb_y == 0) && (eo_sao_class != SAO_EDGE_0_DEG)) in ihevce_get_luma_eo_sao_params_neon() 512 if(((ps_sao_ctxt->i4_ctb_y + 1) == ps_sao_ctxt->ps_sps->i2_pic_ht_in_ctb) && in ihevce_get_luma_eo_sao_params_neon() 1308 if((ps_sao_ctxt->i4_ctb_y == 0) && (eo_sao_class != SAO_EDGE_0_DEG)) in ihevce_get_chroma_eo_sao_params_neon() 1313 if(((ps_sao_ctxt->i4_ctb_y + 1) == ps_sao_ctxt->ps_sps->i2_pic_ht_in_ctb) && in ihevce_get_chroma_eo_sao_params_neon()
|