Home
last modified time | relevance | path

Searched refs:i4_ctb_x (Results 1 – 25 of 28) sorted by relevance

12

/external/libhevc/decoder/
Dihevcd_ilf_padding.c84 WORD32 i4_ctb_x, i4_ctb_y; in ihevcd_ilf_pad_frame() local
94 for(i4_ctb_x = 0; i4_ctb_x < ps_sps->i2_pic_wd_in_ctb; i4_ctb_x++) in ihevcd_ilf_pad_frame()
102 ps_deblk_ctxt->i4_ctb_x = i4_ctb_x; in ihevcd_ilf_pad_frame()
105 ps_sao_ctxt->i4_ctb_x = i4_ctb_x; in ihevcd_ilf_pad_frame()
116 if(i4_ctb_x == ps_sps->i2_pic_wd_in_ctb - 1) in ihevcd_ilf_pad_frame()
156 + (i4_ctb_x * ctb_size in ihevcd_ilf_pad_frame()
160 + i4_ctb_x * ctb_size in ihevcd_ilf_pad_frame()
163 if(0 == i4_ctb_x) in ihevcd_ilf_pad_frame()
176 else if((ps_sps->i2_pic_wd_in_ctb - 1) == i4_ctb_x) in ihevcd_ilf_pad_frame()
180 …WORD32 cols_remaining = ps_sps->i2_pic_width_in_luma_samples - (i4_ctb_x << ps_sps->i1_log2_ctb_si… in ihevcd_ilf_pad_frame()
Dihevcd_process_slice.c155 if((ps_proc->i4_ctb_x > 0) && ((0 != status))) 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()
211 idx = (ps_proc->i4_ctb_x + i); in ihevcd_proc_map_update()
225 if(!((ps_proc->i4_ctb_x == 0) && (ps_proc->i4_ctb_y == 0))) in ihevcd_slice_hdr_update()
229 if((ps_slice_hdr_next->i2_ctb_x == ps_proc->i4_ctb_x) in ihevcd_slice_hdr_update()
254 ps_proc->i4_ctb_x += nctb; in ihevcd_ctb_pos_update()
273 if(ps_proc->i4_ctb_x > ps_slice_hdr->i2_ctb_x) in ihevcd_ctb_pos_update()
354 cur_ctb_idx = ps_proc->i4_ctb_x in ihevcd_ctb_avail_update()
372 if((0 == ps_proc->i4_ctb_x) || (0 == ps_proc->i4_ctb_tile_x)) in ihevcd_ctb_avail_update()
386 else if(ps_proc->i4_ctb_x > 0) in ihevcd_ctb_avail_update()
[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 …pu1_src_chroma = ps_sao_ctxt->pu1_cur_pic_chroma + ((ps_sao_ctxt->i4_ctb_x + ps_sao_ctxt->i4_ctb_y… 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()
134 … remaining_cols = ps_sps->i2_pic_width_in_luma_samples - (ps_sao_ctxt->i4_ctb_x << log2_ctb_size); in ihevcd_sao_ctb()
142 … pu1_src_top_luma = ps_sao_ctxt->pu1_sao_src_top_luma + (ps_sao_ctxt->i4_ctb_x << log2_ctb_size); in ihevcd_sao_ctb()
143 …pu1_src_top_chroma = ps_sao_ctxt->pu1_sao_src_top_chroma + (ps_sao_ctxt->i4_ctb_x << log2_ctb_size… in ihevcd_sao_ctb()
149 ((ps_sao_ctxt->i4_ctb_x * ctb_size) / 64); in ihevcd_sao_ctb()
173 if(0 == ps_sao_ctxt->i4_ctb_x) in ihevcd_sao_ctb()
184 if(ps_sps->i2_pic_wd_in_ctb - 1 == ps_sao_ctxt->i4_ctb_x) in ihevcd_sao_ctb()
246 … ((((ps_sao_ctxt->i4_ctb_x << log2_ctb_size) - sao_wd_luma) / 8) % 8); in ihevcd_sao_ctb()
[all …]
Dihevcd_boundary_strength.c248 (ps_bs_ctxt->i4_ctb_x << (2 * log2_ctb_size - 7)) + in ihevcd_ctb_boundary_strength_islice()
251 (ps_bs_ctxt->i4_ctb_x << (2 * log2_ctb_size - 7)) + 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()
276 if(0 != ps_bs_ctxt->i4_ctb_x) in ihevcd_ctb_boundary_strength_islice()
365 (0 == ps_bs_ctxt->i4_ctb_x)) 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()
381 if(ps_bs_ctxt->i4_ctb_x) 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()
393 (0 == ps_bs_ctxt->i4_ctb_x)) in ihevcd_ctb_boundary_strength_islice()
[all …]
Dihevcd_deblk.c146 (ps_deblk->i4_ctb_x << (2 * log2_ctb_size - 7)) + in ihevcd_deblk_ctb()
151 (ps_deblk->i4_ctb_x << (2 * log2_ctb_size - 7)) + 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()
192 if(ps_deblk->i4_ctb_x || i4_is_last_ctb_x) 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()
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()
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()
369 …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()
[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()
183 - (ps_mv_ctxt->i4_ctb_x << ps_sps->i1_log2_ctb_size); in ihevcd_get_mv_ctb()
204 if(((ps_tile->u1_pos_x) == (ps_mv_ctxt->i4_ctb_x)) && (ps_mv_ctxt->i4_ctb_x != 0)) 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()
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()
515 … - (ps_mv_ctxt->i4_ctb_x << ps_sps->i1_log2_ctb_size)) / MIN_PU_SIZE), ctb_size_in_min_pu); in ihevcd_get_mv_ctb()
Dihevcd_parse_slice.c246 ctb_x_base = ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size; in ihevcd_parse_transform_tree()
837 ctb_x_base = ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size; in ihevcd_parse_prediction_unit()
977 ctb_x_base = ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size; in ihevcd_parse_coding_unit_intra()
1327 ctb_x_base = ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size; in ihevcd_parse_coding_unit()
1620 ctb_x_base = ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size; in ihevcd_parse_coding_unit()
1704 cu_pos_x = (x0 - (ps_codec->s_parse.i4_ctb_x << 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()
1993 rx = ps_codec->s_parse.i4_ctb_x; in ihevcd_parse_sao()
2215 - (ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size); in ihevcd_set_ctb_skip()
2242 tu_abs_x = (ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size) + pu_x; in ihevcd_set_ctb_skip()
[all …]
Dihevcd_structs.h237 WORD32 i4_ctb_x; member
350 WORD32 i4_ctb_x; member
494 WORD32 i4_ctb_x; member
567 WORD32 i4_ctb_x; member
791 WORD32 i4_ctb_x; member
1184 WORD32 i4_ctb_x; member
Dihevcd_iquant_itrans_recon_ctb.c377 x_cur = ps_proc->i4_ctb_x * ctb_size + cur_x * MIN_TU_SIZE; in ihevcd_get_intra_nbr_flag()
495 - (ps_proc->i4_ctb_x << ps_sps->i1_log2_ctb_size) in ihevcd_get_intra_nbr_flag()
638 …WORD32 cols_remaining = ps_sps->i2_pic_width_in_luma_samples - (ps_proc->i4_ctb_x << ps_sps->i1_lo… in ihevcd_iquant_itrans_recon_ctb()
696 WORD32 tu_abs_x = (ps_proc->i4_ctb_x << ps_sps->i1_log2_ctb_size) + (tu_x); in ihevcd_iquant_itrans_recon_ctb()
Dihevcd_inter_pred.c172 cur_ctb_idx = ps_proc->i4_ctb_x in ihevcd_inter_pred_ctb()
219 pu_x = (ps_proc->i4_ctb_x << ps_sps->i1_log2_ctb_size) + (ps_pu->b4_pos_x << 2); in ihevcd_inter_pred_ctb()
Dihevcd_mv_merge.c193 … && ((x_col + (ps_mv_ctxt->i4_ctb_x << log2_ctb_size)) < ps_sps->i2_pic_width_in_luma_samples) in ihevcd_collocated_mvp()
199 col_ctb_x = ps_mv_ctxt->i4_ctb_x + (xp_col >> log2_ctb_size); in ihevcd_collocated_mvp()
Dihevcd_decode.c817 ps_proc->i4_ctb_x = s_job.i2_ctb_x; in ihevcd_decode()
Dihevcd_parse_slice_header.c1093 ps_codec->s_parse.i4_ctb_x = 0; in ihevcd_parse_slice_header()
/external/libhevc/encoder/
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
6702 i4_ctb_x = i4_first_ctb_x; in hme_refine()
6706 for(i4_ctb_x = i4_first_ctb_x; in hme_refine()
6707 i4_ctb_x < (ps_col_tile_params->i4_first_ctb_x + num_sync_units_in_tile); in hme_refine()
6708 i4_ctb_x++) in hme_refine()
6714 (i4_ctb_x + 1), in hme_refine()
6781 for(i4_ctb_x = i4_first_ctb_x; i4_ctb_x < (i4_first_ctb_x + num_sync_units_in_tile); in hme_refine()
6782 i4_ctb_x++) in hme_refine()
6785 &ps_ctxt->ps_ctb_analyse_curr_row[i4_ctb_x].s_ctb_noise_params; in hme_refine()
6787 s_common_frm_prms.i4_ctb_x_off = i4_ctb_x << 6; in hme_refine()
[all …]
Dihevce_cabac_cu_pu.c319 WORD32 ctb_x0_frm = (ps_entropy_ctxt->i4_ctb_x << ps_entropy_ctxt->i1_log2_ctb_size); in ihevce_cabac_encode_skip_flag()
1269 WORD32 ctb_x0_frm = (ps_entropy_ctxt->i4_ctb_x << ps_entropy_ctxt->i1_log2_ctb_size); in ihevce_cabac_encode_coding_unit()
1940 ps_entropy_ctxt->i4_ctb_x = ps_entropy_ctxt->i4_next_slice_seg_x; in ihevce_encode_slice_data()
1987 x0_frm = ps_entropy_ctxt->i4_ctb_x << log2_ctb_size; in ihevce_encode_slice_data()
2013 i4_curr_ctb_x = ps_entropy_ctxt->i4_ctb_x; in ihevce_encode_slice_data()
2085 ps_entropy_ctxt->i4_ctb_x++; in ihevce_encode_slice_data()
2088 if(ps_pps->i1_entropy_coding_sync_enabled_flag && ps_entropy_ctxt->i4_ctb_x == 2) in ihevce_encode_slice_data()
2102 ps_entropy_ctxt->i4_ctb_x = 0; in ihevce_encode_slice_data()
2124 ps_entropy_ctxt->i4_next_slice_seg_x = ps_entropy_ctxt->i4_ctb_x; in ihevce_encode_slice_data()
2164 ps_entropy_ctxt->i4_next_slice_seg_x = ps_entropy_ctxt->i4_ctb_x; in ihevce_encode_slice_data()
[all …]
Dihevce_cabac_rdo.c302 ps_rdopt_entropy_ctxt->as_cu_entropy_ctxt[0].i4_ctb_x = ctb_x; in ihevce_entropy_rdo_ctb_init()
303 ps_rdopt_entropy_ctxt->as_cu_entropy_ctxt[1].i4_ctb_x = ctb_x; in ihevce_entropy_rdo_ctb_init()
617 WORD32 ctb_x0_frm = (ps_best_cu_entropy->i4_ctb_x << ps_best_cu_entropy->i1_log2_ctb_size); in ihevce_entropy_update_best_cu_states()
Dihevce_common_utils.c1082 if((ps_sao_ctxt->i4_ctb_x == 0) && (eo_sao_class != SAO_EDGE_90_DEG)) in ihevce_get_chroma_eo_sao_params()
1087 if(((ps_sao_ctxt->i4_ctb_x + 1) == ps_sao_ctxt->ps_sps->i2_pic_wd_in_ctb) && in ihevce_get_chroma_eo_sao_params()
1191 if((ps_sao_ctxt->i4_ctb_x == 0) && (eo_sao_class != SAO_EDGE_90_DEG)) in ihevce_get_luma_eo_sao_params()
1196 if(((ps_sao_ctxt->i4_ctb_x + 1) == ps_sao_ctxt->ps_sps->i2_pic_wd_in_ctb) && in ihevce_get_luma_eo_sao_params()
Dihevce_entropy_structs.h168 WORD32 i4_ctb_x; member
Dihevce_enc_loop_pass.c1984 ps_ctxt->s_mv_pred_ctxt.i4_ctb_x = ctb_ctr; in ihevce_enc_loop_process_row()
2544 ps_sao_ctxt->i4_ctb_x = ctb_ctr; in ihevce_enc_loop_process_row()
2570 (ps_sao_ctxt->i4_ctb_x * ctb_size); in ihevce_enc_loop_process_row()
2578 (ps_sao_ctxt->i4_ctb_x * ctb_size); in ihevce_enc_loop_process_row()
2586 (ps_sao_ctxt->i4_ctb_x * ctb_size); in ihevce_enc_loop_process_row()
2594 (ps_sao_ctxt->i4_ctb_x * ctb_size); in ihevce_enc_loop_process_row()
2603 [ps_sao_ctxt->i4_ctb_x + in ihevce_enc_loop_process_row()
2613 ps_sao_ctxt->i4_ctb_x * ctb_size + in ihevce_enc_loop_process_row()
2621 ps_sao_ctxt->i4_ctb_x * ctb_size + in ihevce_enc_loop_process_row()
2688 ps_ctxt->s_sao_ctxt_t.i4_ctb_x = ctb_ctr; in ihevce_enc_loop_process_row()
[all …]
Dihevce_sao.c123 WORD32 ctb_x_pos = ps_sao_ctxt->i4_ctb_x; in ihevce_sao_set_avilability()
249 (ps_sao_ctxt->i4_ctb_x * ctb_size); /* Bottom left*/ in ihevce_sao_ctb()
336 (ps_sao_ctxt->i4_ctb_x * ctb_size); /* Bottom left*/ 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_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
700 ps_ctb_out = ps_frm_ctxt->ps_ctb_analyse_curr_row + i4_ctb_x; in ihevce_me_update_ctb_results()
702 ps_me_ctb_data = ps_frm_ctxt->ps_me_ctb_data_curr_row + i4_ctb_x; in ihevce_me_update_ctb_results()
703 ps_cu_tree = ps_frm_ctxt->ps_cu_tree_curr_row + (i4_ctb_x * MAX_NUM_NODES_CU_TREE); in ihevce_me_update_ctb_results()
Dihevce_mv_pred_merge.c208 … (((x_col + (ps_mv_ctxt->i4_ctb_x << log2_ctb_size)) < ps_sps->i2_pic_width_in_luma_samples) || in ihevce_collocated_mvp()
216 col_ctb_x = ps_mv_ctxt->i4_ctb_x + (xp_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.h967 WORD32 i4_ctb_x; member
1754 WORD32 i4_ctb_x; member
/external/libhevc/encoder/arm/
Dihevce_common_utils_neon.c496 if((ps_sao_ctxt->i4_ctb_x == 0) && (eo_sao_class != SAO_EDGE_90_DEG)) in ihevce_get_luma_eo_sao_params_neon()
501 if(((ps_sao_ctxt->i4_ctb_x + 1) == ps_sao_ctxt->ps_sps->i2_pic_wd_in_ctb) && in ihevce_get_luma_eo_sao_params_neon()
1297 if((ps_sao_ctxt->i4_ctb_x == 0) && (eo_sao_class != SAO_EDGE_90_DEG)) in ihevce_get_chroma_eo_sao_params_neon()
1302 if(((ps_sao_ctxt->i4_ctb_x + 1) == ps_sao_ctxt->ps_sps->i2_pic_wd_in_ctb) && in ihevce_get_chroma_eo_sao_params_neon()

12