Home
last modified time | relevance | path

Searched refs:ps_init_prms (Results 1 – 16 of 16) sorted by relevance

/external/libhevc/encoder/
Dihevce_me_pass.c173 ihevce_static_cfg_params_t *ps_init_prms, in ihevce_derive_me_init_prms() argument
178 WORD32 i4_field_pic = ps_init_prms->s_src_prms.i4_field_pic; in ihevce_derive_me_init_prms()
185 min_cu_size = ps_init_prms->s_config_prms.i4_min_log2_cu_size; in ihevce_derive_me_init_prms()
191 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_width + in ihevce_derive_me_init_prms()
193 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_width, min_cu_size); in ihevce_derive_me_init_prms()
196 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_height + in ihevce_derive_me_init_prms()
198 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_height, min_cu_size); in ihevce_derive_me_init_prms()
211 ps_hme_init_prms->u1_max_tr_depth = ps_init_prms->s_config_prms.i4_max_tr_tree_depth_nI; in ihevce_derive_me_init_prms()
213 ps_hme_init_prms->log_ctb_size = ps_init_prms->s_config_prms.i4_max_log2_cu_size; in ihevce_derive_me_init_prms()
228 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_quality_preset) || in ihevce_derive_me_init_prms()
[all …]
Dihevce_enc_loop_pass.c3469 ihevce_static_cfg_params_t *ps_init_prms, in ihevce_enc_loop_get_mem_recs() argument
3479 WORD32 i4_chroma_format = ps_init_prms->s_src_prms.i4_chr_format; in ihevce_enc_loop_get_mem_recs()
3483 u4_width = ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_width; in ihevce_enc_loop_get_mem_recs()
3486 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_width, MAX_CTB_SIZE); in ihevce_enc_loop_get_mem_recs()
3489 u4_height = ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_height; in ihevce_enc_loop_get_mem_recs()
3492 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_height, MAX_CTB_SIZE); in ihevce_enc_loop_get_mem_recs()
3527 if(ps_init_prms->s_tgt_lyr_prms.i4_internal_bit_depth > 8) in ihevce_enc_loop_get_mem_recs()
3545 if(ps_init_prms->s_tgt_lyr_prms.i4_internal_bit_depth > 8) in ihevce_enc_loop_get_mem_recs()
3665 ((ps_init_prms->s_tgt_lyr_prms.i4_internal_bit_depth > 8) ? 2 : 1) * sizeof(UWORD8); in ihevce_enc_loop_get_mem_recs()
3677 ((ps_init_prms->s_tgt_lyr_prms.i4_internal_bit_depth > 8) ? 2 : 1) * sizeof(UWORD8); in ihevce_enc_loop_get_mem_recs()
[all …]
Dihevce_ipe_pass.c366 ihevce_static_cfg_params_t *ps_init_prms, in ihevce_ipe_init() argument
390 u4_width = ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_width; in ihevce_ipe_init()
393 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_width, MAX_CTB_SIZE); in ihevce_ipe_init()
403 ps_ctxt->u1_ctb_size = (1 << ps_init_prms->s_config_prms.i4_max_log2_cu_size); in ihevce_ipe_init()
404 ps_ctxt->u1_min_cu_size = (1 << ps_init_prms->s_config_prms.i4_min_log2_cu_size); in ihevce_ipe_init()
405 ps_ctxt->u1_min_tu_size = (1 << ps_init_prms->s_config_prms.i4_min_log2_tu_size); in ihevce_ipe_init()
413 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_quality_preset; in ihevce_ipe_init()
425 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].ai4_frame_qp[i4_ref_id]; in ihevce_ipe_init()
427 (1 << ps_init_prms->s_coding_tools_prms.i4_max_temporal_layers) - 1; in ihevce_ipe_init()
463 ps_ctxt->i4_l0ipe_qp_mod = ps_init_prms->s_config_prms.i4_cu_level_rc & 1; in ihevce_ipe_init()
[all …]
Dihevce_coarse_me_pass.h107 ihevce_static_cfg_params_t *ps_init_prms,
133 ihevce_static_cfg_params_t *ps_init_prms,
181 void *pv_me_ctxt, ihevce_static_cfg_params_t *ps_init_prms, WORD32 i4_resolution_id);
Dihevce_me_pass.h104 ihevce_static_cfg_params_t *ps_init_prms,
131 ihevce_static_cfg_params_t *ps_init_prms,
304 ihevce_static_cfg_params_t *ps_init_prms,
Dihevce_entropy_interface.h78 ihevce_static_cfg_params_t *ps_init_prms,
84 ihevce_static_cfg_params_t *ps_init_prms,
Dihevce_entropy_interface.c170 ihevce_static_cfg_params_t *ps_init_prms, in ihevce_entropy_get_mem_recs() argument
175 WORD32 max_width = ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_width; in ihevce_entropy_get_mem_recs()
176 WORD32 max_height = ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_height; in ihevce_entropy_get_mem_recs()
225 ihevce_static_cfg_params_t *ps_init_prms, in ihevce_entropy_init() argument
255 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_res_id].i4_codec_level; in ihevce_entropy_init()
258 ps_entropy_ctxt->i4_sps_at_cdr_enable = ps_init_prms->s_out_strm_prms.i4_sps_at_cdr_enable; in ihevce_entropy_init()
263 ps_entropy_ctxt->pv_sys_api = (void *)&ps_init_prms->s_sys_api; in ihevce_entropy_init()
265 ps_entropy_ctxt->i4_slice_segment_mode = ps_init_prms->s_slice_params.i4_slice_segment_mode; in ihevce_entropy_init()
272 ps_init_prms->s_slice_params.i4_slice_segment_argument; in ihevce_entropy_init()
Dihevce_coarse_me_pass.c161 ihevce_static_cfg_params_t *ps_init_prms, in ihevce_coarse_me_get_mem_recs() argument
182 ihevce_derive_me_init_prms(ps_init_prms, &s_hme_init_prms, i4_num_proc_thrds, i4_resolution_id); in ihevce_coarse_me_get_mem_recs()
210 ps_mem_tab, ps_init_prms, i4_mem_space, i4_num_proc_thrds, i4_resolution_id); in ihevce_coarse_me_get_mem_recs()
242 ihevce_static_cfg_params_t *ps_init_prms, in ihevce_coarse_me_init() argument
263 ihevce_derive_me_init_prms(ps_init_prms, &s_hme_init_prms, i4_num_proc_thrds, i4_resolution_id); in ihevce_coarse_me_init()
296 ps_mem_tab, ps_init_prms, pv_me_ctxt, pv_osal_handle, i4_num_proc_thrds, i4_resolution_id); in ihevce_coarse_me_init()
303 ps_init_prms->e_arch_type); in ihevce_coarse_me_init()
306 &ps_ctxt->s_cmn_opt_func, u1_is_popcnt_available, ps_init_prms->e_arch_type); in ihevce_coarse_me_init()
359 void *pv_me_ctxt, ihevce_static_cfg_params_t *ps_init_prms, WORD32 i4_resolution_id) in ihevce_coarse_me_delete() argument
362 hme_coarse_dep_mngr_delete(pv_me_ctxt, ps_init_prms, i4_resolution_id); in ihevce_coarse_me_delete()
Dihevce_rc_interface.c274 ihevce_static_cfg_params_t *ps_init_prms, in ihevce_rc_get_mem_recs() argument
295 i4_temp_size = (51 + ((ps_init_prms->s_tgt_lyr_prms.i4_internal_bit_depth - 8) * 6)); in ihevce_rc_get_mem_recs()
305 f_temp = (float)(51 + ((ps_init_prms->s_tgt_lyr_prms.i4_internal_bit_depth - 8) * 6)); in ihevce_rc_get_mem_recs()
353 ihevce_static_cfg_params_t *ps_init_prms, in ihevce_rc_mem_init() argument
370 if(ps_init_prms->s_coding_tools_prms.i4_max_cra_open_gop_period) in ihevce_rc_mem_init()
372 i4_cdr_period = ps_init_prms->s_coding_tools_prms.i4_max_cra_open_gop_period; in ihevce_rc_mem_init()
374 if(ps_init_prms->s_coding_tools_prms.i4_max_i_open_gop_period) in ihevce_rc_mem_init()
376 i4_cdr_period = ps_init_prms->s_coding_tools_prms.i4_max_i_open_gop_period; in ihevce_rc_mem_init()
378 i4_idr_period = ps_init_prms->s_coding_tools_prms.i4_max_closed_gop_period; in ihevce_rc_mem_init()
403 ps_rc_ctxt->i4_field_pic = ps_init_prms->s_src_prms.i4_field_pic; in ihevce_rc_mem_init()
[all …]
Dihevce_enc_loop_pass.h70 ihevce_static_cfg_params_t *ps_init_prms,
79 ihevce_static_cfg_params_t *ps_init_prms,
Dhme_interface.h669 ihevce_static_cfg_params_t *ps_init_prms,
782 ihevce_static_cfg_params_t *ps_init_prms,
803 ihevce_static_cfg_params_t *ps_init_prms,
839 void *pv_me_ctxt, ihevce_static_cfg_params_t *ps_init_prms, WORD32 i4_resolution_id);
Dihevce_rc_interface.h77 ihevce_static_cfg_params_t *ps_init_prms,
83 ihevce_static_cfg_params_t *ps_init_prms,
Dhme_interface.c2284 ihevce_static_cfg_params_t *ps_init_prms, in hme_coarse_dep_mngr_alloc_mem() argument
2296 min_cu_size = ps_init_prms->s_config_prms.i4_min_log2_cu_size; in hme_coarse_dep_mngr_alloc_mem()
2301 *a_wd = ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_width + in hme_coarse_dep_mngr_alloc_mem()
2303 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_width, min_cu_size); in hme_coarse_dep_mngr_alloc_mem()
2306 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_height + in hme_coarse_dep_mngr_alloc_mem()
2308 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_height, min_cu_size); in hme_coarse_dep_mngr_alloc_mem()
2350 ihevce_static_cfg_params_t *ps_init_prms, in hme_coarse_dep_mngr_init() argument
2365 min_cu_size = ps_init_prms->s_config_prms.i4_min_log2_cu_size; in hme_coarse_dep_mngr_init()
2370 *a_wd = ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_width + in hme_coarse_dep_mngr_init()
2372 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_width, min_cu_size); in hme_coarse_dep_mngr_init()
[all …]
Dihevce_decomp_pre_intra_pass.h69 ihevce_static_cfg_params_t *ps_init_prms,
Dihevce_ipe_pass.h113 ihevce_static_cfg_params_t *ps_init_prms,
Dihevce_decomp_pre_intra_pass.c1723 ihevce_static_cfg_params_t *ps_init_prms, in ihevce_decomp_pre_intra_init() argument
1732 … ihevce_tgt_params_t *ps_tgt_prms = &ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id]; in ihevce_decomp_pre_intra_init()
1733 WORD32 min_cu_size = 1 << ps_init_prms->s_config_prms.i4_min_log2_cu_size; in ihevce_decomp_pre_intra_init()
1752 WORD32 max_ctb_size = 1 << ps_init_prms->s_config_prms.i4_max_log2_cu_size; in ihevce_decomp_pre_intra_init()
1785 if(ps_init_prms->s_coding_tools_prms.i4_vqet & in ihevce_decomp_pre_intra_init()
1788 if(ps_init_prms->s_coding_tools_prms.i4_vqet & in ihevce_decomp_pre_intra_init()
1803 &ps_ctxt->s_cmn_opt_func, u1_is_popcnt_available, ps_init_prms->e_arch_type); in ihevce_decomp_pre_intra_init()
1805 &ps_ctxt->s_ipe_optimised_function_list, ps_init_prms->e_arch_type); in ihevce_decomp_pre_intra_init()