Home
last modified time | relevance | path

Searched refs:ps_frm_ctb_prms (Results 1 – 24 of 24) sorted by relevance

/external/libhevc/encoder/
Dihevce_enc_subpel_gen.c213 frm_ctb_ctxt_t *ps_frm_ctb_prms, in ihevce_pad_interp_recon_ctb() argument
224 WORD32 ctb_size = ps_frm_ctb_prms->i4_ctb_size; in ihevce_pad_interp_recon_ctb()
277 if(ctb_ctr == (ps_frm_ctb_prms->i4_num_ctbs_horz - 1)) in ihevce_pad_interp_recon_ctb()
280 ps_frm_ctb_prms->i4_cu_aligned_pic_wd - 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()
285 if(vert_ctr == (ps_frm_ctb_prms->i4_num_ctbs_vert - 1)) in ihevce_pad_interp_recon_ctb()
288 ps_frm_ctb_prms->i4_cu_aligned_pic_ht - 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()
327 if(vert_ctr == (ps_frm_ctb_prms->i4_num_ctbs_vert - 1)) in ihevce_pad_interp_recon_ctb()
369 if(ctb_ctr == (ps_frm_ctb_prms->i4_num_ctbs_horz - 1)) in ihevce_pad_interp_recon_ctb()
[all …]
Dihevce_tile_interface.c353 frm_ctb_ctxt_t *ps_frm_ctb_prms, in ihevce_tiles_get_mem_recs() argument
402 ps_frm_ctb_prms->i4_tile_id_ctb_map_stride = (ctb_aligned_frame_width / MAX_CTB_SIZE); in ihevce_tiles_get_mem_recs()
458 frm_ctb_ctxt_t *ps_frm_ctb_prms = &ps_enc_ctxt->s_frm_ctb_prms; in ihevce_tiles_mem_init() local
510 ps_frm_ctb_prms->i4_tile_id_ctb_map_stride = frame_width_in_ctb + 2; in ihevce_tiles_mem_init()
511 ps_frm_ctb_prms->pi4_tile_id_map = in ihevce_tiles_mem_init()
512 pi4_tile_id_map_base + ps_frm_ctb_prms->i4_tile_id_ctb_map_stride + 1; in ihevce_tiles_mem_init()
516 for(i = 0; i < ps_frm_ctb_prms->i4_tile_id_ctb_map_stride; i++) in ihevce_tiles_mem_init()
531 pi4_tile_id_map_temp = ps_frm_ctb_prms->pi4_tile_id_map + in ihevce_tiles_mem_init()
532 tile_pos_y * ps_frm_ctb_prms->i4_tile_id_ctb_map_stride + tile_pos_x; in ihevce_tiles_mem_init()
551 pi4_tile_id_map_temp += ps_frm_ctb_prms->i4_tile_id_ctb_map_stride; in ihevce_tiles_mem_init()
[all …]
Dihevce_nbr_avail.c118 frm_ctb_ctxt_t *ps_frm_ctb_prms) in ihevce_set_ctb_nbr() argument
125 WORD32 ctb_size = ps_frm_ctb_prms->i4_ctb_size; in ihevce_set_ctb_nbr()
126 WORD32 num_ctb_horz = ps_frm_ctb_prms->i4_num_ctbs_horz; in ihevce_set_ctb_nbr()
127 WORD32 num_ctb_vert = ps_frm_ctb_prms->i4_num_ctbs_vert; in ihevce_set_ctb_nbr()
128 WORD32 cu_aligned_pic_wd = ps_frm_ctb_prms->i4_cu_aligned_pic_wd; in ihevce_set_ctb_nbr()
129 WORD32 cu_aligned_pic_ht = ps_frm_ctb_prms->i4_cu_aligned_pic_ht; in ihevce_set_ctb_nbr()
149 pi4_cur_ctb_tile_id = ps_frm_ctb_prms->pi4_tile_id_map + in ihevce_set_ctb_nbr()
150 ctb_pos_y * ps_frm_ctb_prms->i4_tile_id_ctb_map_stride + ctb_pos_x; in ihevce_set_ctb_nbr()
155 i4_top_ctb_tile_id = *(pi4_cur_ctb_tile_id - ps_frm_ctb_prms->i4_tile_id_ctb_map_stride); in ihevce_set_ctb_nbr()
Dihevce_ipe_pass.c695 frm_ctb_ctxt_t *ps_frm_ctb_prms, in ihevce_ipe_process_ctb() argument
718 ps_frm_ctb_prms); in ihevce_ipe_process_ctb()
763 frm_ctb_ctxt_t *ps_frm_ctb_prms, in ihevce_ipe_process_row() argument
786 u2_pic_wdt = ps_frm_ctb_prms->i4_cu_aligned_pic_wd; in ihevce_ipe_process_row()
787 u2_pic_hgt = ps_frm_ctb_prms->i4_cu_aligned_pic_ht; in ihevce_ipe_process_row()
799 for(ctb_ctr = 0; ctb_ctr < ps_frm_ctb_prms->i4_num_ctbs_horz; ctb_ctr++) in ihevce_ipe_process_row()
813 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()
847 if(ps_ctxt->u2_ctb_num_in_row == (ps_frm_ctb_prms->i4_num_ctbs_horz - 1)) in ihevce_ipe_process_row()
851 if(ps_ctxt->u2_ctb_row_num == (ps_frm_ctb_prms->i4_num_ctbs_vert - 1)) in ihevce_ipe_process_row()
[all …]
Dihevce_enc_subpel_gen.h76 frm_ctb_ctxt_t *ps_frm_ctb_prms,
84 frm_ctb_ctxt_t *ps_frm_ctb_prms,
93 frm_ctb_ctxt_t *ps_frm_ctb_prms,
Dihevce_enc_loop_pass.c1711 frm_ctb_ctxt_t *ps_frm_ctb_prms, in ihevce_enc_loop_process_row() argument
1742 num_ctbs_horz_pic = ps_frm_ctb_prms->i4_num_ctbs_horz; in ihevce_enc_loop_process_row()
1743 ctb_size = ps_frm_ctb_prms->i4_ctb_size; in ihevce_enc_loop_process_row()
1746 ps_ctxt->s_sao_ctxt_t.u4_num_ctbs_horz = ps_frm_ctb_prms->i4_num_ctbs_horz; in ihevce_enc_loop_process_row()
1747 ps_ctxt->s_sao_ctxt_t.u4_num_ctbs_vert = ps_frm_ctb_prms->i4_num_ctbs_vert; in ihevce_enc_loop_process_row()
1769 last_ctb_row_flag = (vert_ctr == (ps_frm_ctb_prms->i4_num_ctbs_vert - 1)); in ihevce_enc_loop_process_row()
1772 last_hz_ctb_wd = ps_frm_ctb_prms->i4_cu_aligned_pic_wd - ((num_ctbs_horz_pic - 1) * ctb_size); in ihevce_enc_loop_process_row()
1775 last_vt_ctb_ht = ps_frm_ctb_prms->i4_cu_aligned_pic_ht - in ihevce_enc_loop_process_row()
1776 ((ps_frm_ctb_prms->i4_num_ctbs_vert - 1) * ctb_size); in ihevce_enc_loop_process_row()
1802 ps_row_cu += (ps_tile_params->i4_first_ctb_x * ps_frm_ctb_prms->i4_num_cus_in_ctb); in ihevce_enc_loop_process_row()
[all …]
Dihevce_tile_interface.h58 frm_ctb_ctxt_t *ps_frm_ctb_prms,
71 frm_ctb_ctxt_t *ps_frm_ctb_prms,
Dihevce_deblk.c120 frm_ctb_ctxt_t *ps_frm_ctb_prms, in ihevce_deblk_populate_qp_map() argument
150 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()
182 ps_frm_ctb_prms, 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()
Dihevce_bs_compute_ctb.c131 frm_ctb_ctxt_t *ps_frm_ctb_prms, in ihevce_bs_init_ctb() argument
135 WORD32 ctb_size = ps_frm_ctb_prms->i4_ctb_size; in ihevce_bs_init_ctb()
145 pi4_tile_id_map_temp = ps_frm_ctb_prms->pi4_tile_id_map + in ihevce_bs_init_ctb()
146 vert_ctr * ps_frm_ctb_prms->i4_tile_id_ctb_map_stride + ctb_ctr; in ihevce_bs_init_ctb()
149 i4_top_ctb_tile_id = *(pi4_tile_id_map_temp - ps_frm_ctb_prms->i4_tile_id_ctb_map_stride); in ihevce_bs_init_ctb()
Dihevce_decomp_pre_intra_pass.h84 frm_ctb_ctxt_t *ps_frm_ctb_prms,
108 frm_ctb_ctxt_t *ps_frm_ctb_prms,
Dihevce_sub_pic_rc.c150 frm_ctb_ctxt_t *ps_frm_ctb_prms = (frm_ctb_ctxt_t *)pv_frm_ctb_prms; in ihevce_sub_pic_rc_in_data() local
283 ps_frm_ctb_prms->i4_num_ctbs_vert * ps_frm_ctb_prms->i4_num_ctbs_horz; in ihevce_sub_pic_rc_in_data()
Dihevce_deblk.h72 frm_ctb_ctxt_t *ps_frm_ctb_prms,
Dihevce_bs_compute_ctb.h138 frm_ctb_ctxt_t *ps_frm_ctb_prms,
Dihevce_nbr_avail.h69 frm_ctb_ctxt_t *ps_frm_ctb_prms);
Dihevce_coarse_me_pass.h258 frm_ctb_ctxt_t *ps_frm_ctb_prms,
Dihevce_ipe_pass.h128 frm_ctb_ctxt_t *ps_frm_ctb_prms,
Dihevce_enc_loop_pass.h132 frm_ctb_ctxt_t *ps_frm_ctb_prms,
Dihevce_me_pass.h208 frm_ctb_ctxt_t *ps_frm_ctb_prms,
Dihevce_encode_header.h118 frm_ctb_ctxt_t *ps_frm_ctb_prms,
Dihevce_decomp_pre_intra_pass.c2218 frm_ctb_ctxt_t *ps_frm_ctb_prms, in ihevce_decomp_pre_intra_process() argument
2285 i4_cu_aligned_pic_wd = ps_frm_ctb_prms->i4_cu_aligned_pic_wd; in ihevce_decomp_pre_intra_process()
2286 i4_cu_aligned_pic_ht = ps_frm_ctb_prms->i4_cu_aligned_pic_ht; in ihevce_decomp_pre_intra_process()
2446 ps_ctxt->ps_ed_ctb_l1 + vert_ctr * ps_frm_ctb_prms->i4_num_ctbs_horz; in ihevce_decomp_pre_intra_process()
2485 i4_cu_aligned_pic_wd = ps_frm_ctb_prms->i4_cu_aligned_pic_wd; in ihevce_decomp_pre_intra_process()
2486 i4_cu_aligned_pic_ht = ps_frm_ctb_prms->i4_cu_aligned_pic_ht; in ihevce_decomp_pre_intra_process()
3055 frm_ctb_ctxt_t *ps_frm_ctb_prms, in ihevce_decomp_pre_intra_curr_frame_pre_intra_deinit() argument
3161 ps_ed_ctb_pic_l1 + vert_ctr * ps_frm_ctb_prms->i4_num_ctbs_horz; in ihevce_decomp_pre_intra_curr_frame_pre_intra_deinit()
Dihevce_coarse_me_pass.c827 frm_ctb_ctxt_t *ps_frm_ctb_prms, in ihevce_coarse_me_frame_init() argument
868 ps_ctxt->pv_ext_frm_prms = (void *)ps_frm_ctb_prms; in ihevce_coarse_me_frame_init()
Dihevce_encode_header.c2283 frm_ctb_ctxt_t *ps_frm_ctb_prms, in ihevce_populate_sps() argument
2307 ps_sps->i2_pic_height_in_luma_samples = ps_frm_ctb_prms->i4_cu_aligned_pic_ht; in ihevce_populate_sps()
2309 ps_sps->i2_pic_width_in_luma_samples = ps_frm_ctb_prms->i4_cu_aligned_pic_wd; in ihevce_populate_sps()
2400 ps_sps->i2_pic_ht_in_ctb = ps_frm_ctb_prms->i4_num_ctbs_vert; in ihevce_populate_sps()
2402 ps_sps->i2_pic_wd_in_ctb = ps_frm_ctb_prms->i4_num_ctbs_horz; in ihevce_populate_sps()
Dihevce_me_pass.c1107 frm_ctb_ctxt_t *ps_frm_ctb_prms, in ihevce_me_frame_init() argument
1180 ps_thrd_ctxt->pv_ext_frm_prms = (void *)ps_frm_ctb_prms; in ihevce_me_frame_init()
Dhme_refine.c6645 frm_ctb_ctxt_t *ps_frm_ctb_prms; in hme_refine() local
6656 ps_frm_ctb_prms = (frm_ctb_ctxt_t *)ps_thrd_ctxt->pv_ext_frm_prms; 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()
6749 ps_ctxt->ps_me_ctb_data_base + i4_ctb_y * ps_frm_ctb_prms->i4_num_ctbs_horz; in hme_refine()
6794 i4_ctb_y * ps_frm_ctb_prms->i4_num_ctbs_horz; in hme_refine()
7420 ps_frm_ctb_prms->i4_num_ctbs_horz - 1); in hme_refine()
7424 ps_frm_ctb_prms->i4_num_ctbs_vert - 1); in hme_refine()