Home
last modified time | relevance | path

Searched refs:i4_ctb_y (Results 1 – 25 of 27) sorted by relevance

12

/external/libhevc/decoder/
Dihevcd_ilf_padding.c84 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 …]
Dihevcd_sao.c118 …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()
119 …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()
121 …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()
138 … remaining_rows = ps_sps->i2_pic_height_in_luma_samples - (ps_sao_ctxt->i4_ctb_y << log2_ctb_size); in ihevcd_sao_ctb()
144 … 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()
145 …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()
148 ((ps_sao_ctxt->i4_ctb_y * ctb_size) / 8) * loop_filter_strd + in ihevcd_sao_ctb()
195 if(0 == ps_sao_ctxt->i4_ctb_y) in ihevcd_sao_ctb()
206 if(ps_sps->i2_pic_ht_in_ctb - 1 == ps_sao_ctxt->i4_ctb_y) in ihevcd_sao_ctb()
590 …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 …]
Dihevcd_process_slice.c134 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 …]
Dihevcd_boundary_strength.c249 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 …]
Dihevcd_deblk.c147 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 …]
Dihevcd_get_mv.c147 …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()
Dihevcd_parse_slice.c247 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 …]
Dihevcd_structs.h243 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
Dihevcd_iquant_itrans_recon_ctb.c378 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()
625 …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()
Dihevcd_inter_pred.c173 + 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()
Dihevcd_mv_merge.c194 && (((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()
Dihevcd_decode.c818 ps_proc->i4_ctb_y = s_job.i2_ctb_y; in ihevcd_decode()
Dihevcd_parse_slice_header.c1094 ps_codec->s_parse.i4_ctb_y = 0; in ihevcd_parse_slice_header()
/external/libhevc/encoder/
Dihevce_sao.c124 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()
Dihevce_cabac_cu_pu.c1274 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()
Dihevce_common_utils.c1093 if((ps_sao_ctxt->i4_ctb_y == 0) && (eo_sao_class != SAO_EDGE_0_DEG)) in ihevce_get_chroma_eo_sao_params()
1098 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()
1202 if((ps_sao_ctxt->i4_ctb_y == 0) && (eo_sao_class != SAO_EDGE_0_DEG)) in ihevce_get_luma_eo_sao_params()
1207 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()
Dhme_refine.c5961 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 …]
Dihevce_cabac_rdo.c305 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()
Dihevce_entropy_structs.h171 WORD32 i4_ctb_y; member
Dihevce_enc_loop_pass.c1985 ps_ctxt->s_mv_pred_ctxt.i4_ctb_y = vert_ctr; in ihevce_enc_loop_process_row()
2547 ps_sao_ctxt->i4_ctb_y = vert_ctr - 1; in ihevce_enc_loop_process_row()
2569 (ps_sao_ctxt->i4_frm_luma_recon_stride * ps_sao_ctxt->i4_ctb_y * ctb_size) + in ihevce_enc_loop_process_row()
2576 (ps_sao_ctxt->i4_frm_chroma_recon_stride * ps_sao_ctxt->i4_ctb_y * in ihevce_enc_loop_process_row()
2585 (ps_sao_ctxt->i4_frm_luma_src_stride * ps_sao_ctxt->i4_ctb_y * ctb_size) + in ihevce_enc_loop_process_row()
2592 (ps_sao_ctxt->i4_frm_chroma_src_stride * ps_sao_ctxt->i4_ctb_y * in ihevce_enc_loop_process_row()
2604 (ps_sao_ctxt->i4_ctb_y) * in ihevce_enc_loop_process_row()
2612 (ps_sao_ctxt->i4_ctb_y - 1) * ps_sao_ctxt->i4_frm_top_luma_buf_stride + in ihevce_enc_loop_process_row()
2620 (ps_sao_ctxt->i4_ctb_y - 1) * ps_sao_ctxt->i4_frm_top_chroma_buf_stride + in ihevce_enc_loop_process_row()
2691 ps_ctxt->s_sao_ctxt_t.i4_ctb_y = vert_ctr; in ihevce_enc_loop_process_row()
[all …]
Dihevce_mv_pred_merge.c210 ((((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()
Dhme_utils.h199 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);
Dihevce_enc_loop_structs.h970 WORD32 i4_ctb_y; member
1758 WORD32 i4_ctb_y; member
Dihevce_me_pass.c691 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/
Dihevce_common_utils_neon.c507 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()

12