Home
last modified time | relevance | path

Searched refs:i4_ctb_size (Results 1 – 15 of 15) sorted by relevance

/external/libhevc/encoder/
Dihevce_tile_interface.c122 WORD32 i4_max_log2_cu_size, i4_ctb_size; in ihevce_update_tile_params() local
132 i4_ctb_size = 1 << i4_max_log2_cu_size; in ihevce_update_tile_params()
244 if(i4_cu_aligned_tgt_frame_wd % i4_ctb_size) in ihevce_update_tile_params()
247 (ps_tile_params->i4_curr_tile_width - i4_ctb_size) + in ihevce_update_tile_params()
248 (i4_cu_aligned_tgt_frame_wd % i4_ctb_size); in ihevce_update_tile_params()
270 if(i4_cu_aligned_tgt_frame_ht % i4_ctb_size) in ihevce_update_tile_params()
273 (ps_tile_params->i4_curr_tile_height - i4_ctb_size) + in ihevce_update_tile_params()
274 (i4_cu_aligned_tgt_frame_ht % i4_ctb_size); in ihevce_update_tile_params()
287 SET_CTB_ALIGN(ps_tile_params->i4_curr_tile_width, i4_ctb_size); in ihevce_update_tile_params()
291 SET_CTB_ALIGN(ps_tile_params->i4_curr_tile_height, i4_ctb_size); in ihevce_update_tile_params()
[all …]
Dihevce_enc_subpel_gen.c224 WORD32 ctb_size = ps_frm_ctb_prms->i4_ctb_size; in ihevce_pad_interp_recon_ctb()
252 wd = ps_pad_interp_recon->i4_ctb_size; in ihevce_pad_interp_recon_ctb()
253 ht = ps_pad_interp_recon->i4_ctb_size; in ihevce_pad_interp_recon_ctb()
259 wd_uv = ps_pad_interp_recon->i4_ctb_size; in ihevce_pad_interp_recon_ctb()
260 ht_uv = ps_pad_interp_recon->i4_ctb_size >> (0 == u1_is_422); in ihevce_pad_interp_recon_ctb()
281 ((ps_frm_ctb_prms->i4_num_ctbs_horz - 1) * ps_pad_interp_recon->i4_ctb_size); in ihevce_pad_interp_recon_ctb()
289 ((ps_frm_ctb_prms->i4_num_ctbs_vert - 1) * ps_pad_interp_recon->i4_ctb_size); in ihevce_pad_interp_recon_ctb()
492 WORD32 ctb_size = ps_frm_ctb_prms->i4_ctb_size; in ihevce_pad_interp_recon_src_ctb()
508 wd = ps_pad_interp_recon->i4_ctb_size; in ihevce_pad_interp_recon_src_ctb()
509 ht = ps_pad_interp_recon->i4_ctb_size; in ihevce_pad_interp_recon_src_ctb()
[all …]
Dihevce_deblk.c150 tile_qp_offset = ps_col_tile_params->i4_first_ctb_x * (ps_frm_ctb_prms->i4_ctb_size / 4); in ihevce_deblk_populate_qp_map()
243 pi1_ctb_qp_map_tile += (ps_frm_ctb_prms->i4_ctb_size / 4); //one qp per 4x4 block. in ihevce_deblk_populate_qp_map()
251 (pi1_ctb_tile_qp + (ps_frm_ctb_prms->i4_ctb_size / 4) * u4_qp_buffer_stride), in ihevce_deblk_populate_qp_map()
329 ctb_size = ps_deblk->i4_ctb_size; in ihevce_deblk_ctb()
Dihevce_ipe_pass.c813 pu1_tmp += (ctb_ctr * ps_frm_ctb_prms->i4_ctb_size); in ihevce_ipe_process_row()
819 pu1_tmp += (ctb_ctr * (ps_frm_ctb_prms->i4_ctb_size >> 1)); in ihevce_ipe_process_row()
1049 blk_inc_ctb_l1 = ps_frm_ctb_prms->i4_ctb_size >> 3; in ihevce_ipe_process()
1055 blk_inc_ctb_l2 = ps_frm_ctb_prms->i4_ctb_size >> 4; in ihevce_ipe_process()
1142 pu1_tmp += (vert_ctr * ps_frm_ctb_prms->i4_ctb_size * ps_inp->i4_y_strd); in ihevce_ipe_process()
1148 pu1_tmp += (vert_ctr * (ps_frm_ctb_prms->i4_ctb_size >> 1) * ps_inp->i4_uv_strd); in ihevce_ipe_process()
Dihevce_enc_loop_pass.c188 pu1_buff = ps_cu_prms->pu1_luma_recon + ps_cu_prms->i4_ctb_size - 1; in ihevce_enc_loop_ctb_left_copy()
190 for(num_pels = 0; num_pels < ps_cu_prms->i4_ctb_size; num_pels++) in ihevce_enc_loop_ctb_left_copy()
198 pu1_buff = ps_cu_prms->pu1_chrm_recon + ps_cu_prms->i4_ctb_size - 2; in ihevce_enc_loop_ctb_left_copy()
200 for(num_pels = 0; num_pels < (ps_cu_prms->i4_ctb_size >> (0 == u1_is_422)); num_pels++) in ihevce_enc_loop_ctb_left_copy()
213 nbr_strd = ps_cu_prms->i4_ctb_size >> 2; in ihevce_enc_loop_ctb_left_copy()
217 ps_nbr += ((ps_cu_prms->i4_ctb_size >> 2) - 1); in ihevce_enc_loop_ctb_left_copy()
219 for(ctr = 0; ctr < (ps_cu_prms->i4_ctb_size >> 2); ctr++) in ihevce_enc_loop_ctb_left_copy()
363 num_4x4_in_ctb = (ps_cu_prms->i4_ctb_size >> 2); in ihevce_cu_mode_decide()
419 pu1_cu_top += ps_cu_prms->i4_ctb_pos * ps_cu_prms->i4_ctb_size; in ihevce_cu_mode_decide()
423 ps_top_nbr_4x4 += (ps_cu_prms->i4_ctb_pos * (ps_cu_prms->i4_ctb_size >> 2)); in ihevce_cu_mode_decide()
[all …]
Dihevce_enc_cu_recursion.c297 num_4x4_in_ctb = (ps_cu_prms->i4_ctb_size >> 2); in ihevce_store_cu_final()
322 ps_top_nbr_4x4 += (ps_cu_prms->i4_ctb_pos * (ps_cu_prms->i4_ctb_size >> 2)); in ihevce_store_cu_final()
476 num_4x4_in_ctb = (ps_cu_prms->i4_ctb_size >> 2); in ihevce_store_cu_results()
485 GETRANGE(log2_ctb_size, ps_cu_prms->i4_ctb_size); in ihevce_store_cu_results()
2144 nbr_strd = ps_cu_prms->i4_ctb_size >> 2; in ihevce_enc_loop_cu_bot_copy()
2148 (ps_cu_prms->i4_luma_recon_stride * (ps_cu_prms->i4_ctb_size - 1)); in ihevce_enc_loop_cu_bot_copy()
2156 ((ps_cu_prms->i4_ctb_size >> (0 == u1_is_422)) - 1)); in ihevce_enc_loop_cu_bot_copy()
2168 ps_nbr += ((ps_cu_prms->i4_ctb_size >> 2) - 1) * nbr_strd; in ihevce_enc_loop_cu_bot_copy()
2217 curr_cu_pos_in_row = ctb_ctr * ps_cu_prms->i4_ctb_size + (ps_cu_final->b3_cu_pos_x << 3); in ihevce_update_final_cu_results()
2381 WORD32 num_4x4_in_ctb = (ps_cu_prms->i4_ctb_size >> 2); in ihevce_cu_recurse_decide()
Dihevce_enc_loop_structs.h814 WORD32 i4_ctb_size; member
879 WORD32 i4_ctb_size; member
1050 WORD32 i4_ctb_size; member
1705 WORD32 i4_ctb_size; member
2879 WORD32 i4_ctb_size; member
Dihevce_sao.c228 ctb_size = ps_sao_ctxt->i4_ctb_size; in ihevce_sao_ctb()
311 ctb_size = ps_sao_ctxt->i4_ctb_size; in ihevce_sao_ctb()
463 ctb_size = ps_sao_ctxt->i4_ctb_size; in ihevce_sao_analyse()
Dihevce_hle_interface.c509 SET_CTB_ALIGN(ps_src_prms->i4_width, ps_enc_ctxt->s_frm_ctb_prms.i4_ctb_size); in ihevce_query_io_buf_req()
513 SET_CTB_ALIGN(ps_src_prms->i4_height, ps_enc_ctxt->s_frm_ctb_prms.i4_ctb_size); in ihevce_query_io_buf_req()
549 ps_enc_ctxt->s_frm_ctb_prms.i4_ctb_size); in ihevce_query_io_buf_req()
554 ps_enc_ctxt->s_frm_ctb_prms.i4_ctb_size); in ihevce_query_io_buf_req()
Dihevce_nbr_avail.c125 WORD32 ctb_size = ps_frm_ctb_prms->i4_ctb_size; in ihevce_set_ctb_nbr()
Dihevce_bs_compute_ctb.c135 WORD32 ctb_size = ps_frm_ctb_prms->i4_ctb_size; in ihevce_bs_init_ctb()
Dihevce_frame_process.c4809 ps_enc_ctxt->s_frm_ctb_prms.i4_ctb_size); in ihevce_set_pre_enc_prms()
4812 ps_enc_ctxt->s_frm_ctb_prms.i4_cu_aligned_pic_wd / ps_enc_ctxt->s_frm_ctb_prms.i4_ctb_size; in ihevce_set_pre_enc_prms()
4818 ps_enc_ctxt->s_frm_ctb_prms.i4_ctb_size); in ihevce_set_pre_enc_prms()
4821 ps_enc_ctxt->s_frm_ctb_prms.i4_cu_aligned_pic_ht / ps_enc_ctxt->s_frm_ctb_prms.i4_ctb_size; in ihevce_set_pre_enc_prms()
4831 ps_enc_ctxt->s_frm_ctb_prms.i4_cu_aligned_pic_wd / ps_enc_ctxt->s_frm_ctb_prms.i4_ctb_size; in ihevce_set_pre_enc_prms()
4834 ps_enc_ctxt->s_frm_ctb_prms.i4_ctb_size) != 0) in ihevce_set_pre_enc_prms()
4846 ps_enc_ctxt->s_frm_ctb_prms.i4_cu_aligned_pic_ht / ps_enc_ctxt->s_frm_ctb_prms.i4_ctb_size; in ihevce_set_pre_enc_prms()
4849 ps_enc_ctxt->s_frm_ctb_prms.i4_ctb_size) != 0) in ihevce_set_pre_enc_prms()
Dihevce_multi_thrd_funcs.c768 GETRANGE(u4_log_ctb_size, ps_ctxt->s_frm_ctb_prms.i4_ctb_size); in ihevce_prepare_pre_enc_job_queue()
Dihevce_memory_init.c334 ps_enc_ctxt->s_frm_ctb_prms.i4_ctb_size = ctb_size; in ihevce_mem_manager_init()
877 ps_enc_ctxt->s_frm_ctb_prms.i4_ctb_size); in ihevce_mem_manager_init()
882 ps_enc_ctxt->s_frm_ctb_prms.i4_ctb_size); in ihevce_mem_manager_init()
Dihevce_enc_structs.h2320 WORD32 i4_ctb_size; member