Home
last modified time | relevance | path

Searched refs:i4_resolution_id (Results 1 – 25 of 30) sorted by relevance

12

/external/libhevc/encoder/
Dihevce_entropy_cod.c154 WORD32 i4_bitrate_instance_num, i4_resolution_id, i4_out_res_id; in ihevce_ent_coding_thrd() local
176 i4_resolution_id = ps_enc_ctxt->i4_resolution_id; in ihevce_ent_coding_thrd()
177 i4_out_res_id = i4_resolution_id; in ihevce_ent_coding_thrd()
213 if(1 == ps_enc_ctxt->s_multi_thrd.pi4_active_res_id[i4_resolution_id]) in ihevce_ent_coding_thrd()
214 ps_enc_ctxt->s_multi_thrd.pi4_active_res_id[i4_resolution_id] = 0; in ihevce_ent_coding_thrd()
220 if(0 == ps_enc_ctxt->s_multi_thrd.pi4_active_res_id[i4_resolution_id]) in ihevce_ent_coding_thrd()
235 if(ctr != i4_resolution_id) in ihevce_ent_coding_thrd()
251 ps_enc_ctxt->s_multi_thrd.pi4_active_res_id[i4_resolution_id] = 1; in ihevce_ent_coding_thrd()
284 &ps_hle_ctxt->profile_entropy[ps_enc_ctxt->i4_resolution_id][i4_bitrate_instance_num]); in ihevce_ent_coding_thrd()
452 i4_resolution_id, in ihevce_ent_coding_thrd()
[all …]
Dihevce_tile_interface.c108 WORD32 i4_resolution_id) in ihevce_update_tile_params() argument
138 ps_static_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_width + in ihevce_update_tile_params()
140 ps_static_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_width, in ihevce_update_tile_params()
145 ps_static_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_height + in ihevce_update_tile_params()
147 ps_static_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_height, in ihevce_update_tile_params()
354 WORD32 i4_resolution_id, in ihevce_tiles_get_mem_recs() argument
387 ps_static_cfg_params->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_width; in ihevce_tiles_get_mem_recs()
389 ps_static_cfg_params->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_height; in ihevce_tiles_get_mem_recs()
393 ps_static_cfg_params->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_width, in ihevce_tiles_get_mem_recs()
396 ps_static_cfg_params->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_height, in ihevce_tiles_get_mem_recs()
[all …]
Dihevce_error_check.c161 WORD32 i4_resolution_id; in ihevce_hle_validate_static_params() local
169 for(i4_resolution_id = 0; i4_resolution_id < i4_num_resolutions; i4_resolution_id++) in ihevce_hle_validate_static_params()
171 ai4_num_bitrate_instances[i4_resolution_id] = in ihevce_hle_validate_static_params()
172 ps_static_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id] in ihevce_hle_validate_static_params()
1020 for(i4_resolution_id = 0; i4_resolution_id < i4_num_resolutions; i4_resolution_id++) in ihevce_hle_validate_static_params()
1029 ps_static_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_codec_level); in ihevce_hle_validate_static_params()
1031 ps_static_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_quality_preset; in ihevce_hle_validate_static_params()
1032 height = ps_static_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_height; in ihevce_hle_validate_static_params()
1033 width = ps_static_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_width; in ihevce_hle_validate_static_params()
1034 frm_rate_scale_factor = ps_static_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id] in ihevce_hle_validate_static_params()
[all …]
Dihevce_hle_interface.h379 WORD32 i4_resolution_id);
385 WORD32 i4_resolution_id);
401 WORD32 i4_resolution_id);
412 WORD32 i4_resolution_id);
433 ihevce_hle_ctxt_t *ps_hle_ctxt, WORD32 i4_bitrate_instance_id, WORD32 i4_resolution_id);
Dihevce_tile_interface.h51 WORD32 i4_resolution_id);
59 WORD32 i4_resolution_id,
66 WORD32 i4_resolution_id);
Dihevce_memory_init.c185 WORD32 i, i4_resolution_id = ps_enc_ctxt->i4_resolution_id; //counter in ihevce_mem_manager_init() local
259 ps_enc_ctxt->ps_stat_prms->s_tgt_lyr_prms.as_tgt_params[ps_enc_ctxt->i4_resolution_id] in ihevce_mem_manager_init()
262 ps_enc_ctxt->ps_stat_prms->s_tgt_lyr_prms.as_tgt_params[ps_enc_ctxt->i4_resolution_id] in ihevce_mem_manager_init()
266 ps_enc_ctxt->ps_stat_prms->s_tgt_lyr_prms.as_tgt_params[ps_enc_ctxt->i4_resolution_id] in ihevce_mem_manager_init()
269 ps_enc_ctxt->ps_stat_prms->s_tgt_lyr_prms.as_tgt_params[ps_enc_ctxt->i4_resolution_id] in ihevce_mem_manager_init()
303 ps_enc_ctxt->ps_stat_prms->s_tgt_lyr_prms.as_tgt_params[ps_enc_ctxt->i4_resolution_id] in ihevce_mem_manager_init()
306 ps_enc_ctxt->ps_stat_prms->s_tgt_lyr_prms.as_tgt_params[ps_enc_ctxt->i4_resolution_id] in ihevce_mem_manager_init()
313 ps_enc_ctxt->ps_stat_prms->s_tgt_lyr_prms.as_tgt_params[ps_enc_ctxt->i4_resolution_id] in ihevce_mem_manager_init()
316 ps_enc_ctxt->ps_stat_prms->s_tgt_lyr_prms.as_tgt_params[ps_enc_ctxt->i4_resolution_id] in ihevce_mem_manager_init()
441 if(0 == i4_resolution_id) in ihevce_mem_manager_init()
[all …]
Dihevce_me_pass.c176 S32 i4_resolution_id) in ihevce_derive_me_init_prms() argument
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()
228 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_quality_preset) || in ihevce_derive_me_init_prms()
230 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_quality_preset) || in ihevce_derive_me_init_prms()
232 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_quality_preset) || in ihevce_derive_me_init_prms()
234 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_quality_preset)) in ihevce_derive_me_init_prms()
248 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_quality_preset) in ihevce_derive_me_init_prms()
[all …]
Dihevce_coarse_me_pass.h110 WORD32 i4_resolution_id);
136 WORD32 i4_resolution_id,
181 void *pv_me_ctxt, ihevce_static_cfg_params_t *ps_init_prms, WORD32 i4_resolution_id);
Dihevce_me_pass.h107 WORD32 i4_resolution_id,
136 WORD32 i4_resolution_id,
307 WORD32 i4_resolution_id);
Dihevce_hle_q_func.c649 WORD32 i4_resolution_id = 0; in ihevce_force_end() local
654 for(i4_resolution_id = 0; i4_resolution_id < i4_num_res_layers; i4_resolution_id++) in ihevce_force_end()
656 ps_enc_ctxt = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[i4_resolution_id]; in ihevce_force_end()
Dihevce_encode_header.h108 WORD32 i4_resolution_id);
120 WORD32 i4_resolution_id);
131 WORD32 i4_resolution_id,
Dihevce_hle_interface.c365 ps_enc_ctxt->i4_resolution_id = ctr; in ihevce_hle_interface_create()
488 WORD32 ctb_align_pic_ht, i4_resolution_id = 0, i4_num_resolutions, i4_num_bitrate_instances; in ihevce_query_io_buf_req() local
491 ps_enc_ctxt = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[i4_resolution_id]; in ihevce_query_io_buf_req()
816 if(0 == ps_enc_ctxt->i4_resolution_id) in ihevce_hle_interface_thrd()
844 if(0 == ps_enc_ctxt->i4_resolution_id) in ihevce_hle_interface_thrd()
873 if(0 == ps_enc_ctxt->i4_resolution_id) in ihevce_hle_interface_thrd()
898 if(0 == ps_enc_ctxt->i4_resolution_id) in ihevce_hle_interface_thrd()
1644 WORD32 i4_resolution_id = 0; in ihevce_q_get_free_inp_data_buff() local
1646 ps_enc_ctxt = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[i4_resolution_id]; in ihevce_q_get_free_inp_data_buff()
1842 WORD32 i4_resolution_id) in ihevce_q_set_out_strm_buff_prod() argument
[all …]
Dhme_interface.h672 WORD32 i4_resolution_id);
785 WORD32 i4_resolution_id);
807 WORD32 i4_resolution_id);
839 void *pv_me_ctxt, ihevce_static_cfg_params_t *ps_init_prms, WORD32 i4_resolution_id);
Dihevce_enc_loop_pass.h75 WORD32 i4_resolution_id);
85 WORD32 i4_resolution_id,
Dihevce_coarse_me_pass.c164 WORD32 i4_resolution_id) 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()
245 WORD32 i4_resolution_id, 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()
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_frame_process.c1085 WORD32 i4_resolution_id = ps_enc_ctxt->i4_resolution_id; in ihevce_manage_ref_pics() local
2597 .as_tgt_params[ps_enc_ctxt->i4_resolution_id] in ihevce_update_qp_L1_sad_based()
2890 WORD32 i4_resolution_id; in ihevce_enc_frm_proc_slave_thrd() local
2902 i4_resolution_id = ps_enc_ctxt->i4_resolution_id; in ihevce_enc_frm_proc_slave_thrd()
3890 &ps_hle_ctxt->profile_enc[ps_enc_ctxt->i4_resolution_id][i]); in ihevce_enc_frm_proc_slave_thrd()
3977 &ps_hle_ctxt->profile_enc[ps_enc_ctxt->i4_resolution_id][i], NULL); in ihevce_enc_frm_proc_slave_thrd()
4431 i4_resolution_id /* res_intance */); in ihevce_enc_frm_proc_slave_thrd()
4748 i4_resolution_id /* res_intance */); in ihevce_enc_frm_proc_slave_thrd()
4799 i4_resolution_id = ps_enc_ctxt->i4_resolution_id; //number of bit-rate instances in ihevce_set_pre_enc_prms() local
4806 ps_enc_ctxt->ps_stat_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_width + in ihevce_set_pre_enc_prms()
[all …]
Dihevce_encode_header.c1999 WORD32 i4_resolution_id) in ihevce_populate_vps() argument
2088 ps_stat_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_codec_level; in ihevce_populate_vps()
2093 ps_stat_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_codec_level); in ihevce_populate_vps()
2142 ps_stat_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_codec_level; in ihevce_populate_vps()
2285 WORD32 i4_resolution_id) in ihevce_populate_sps() argument
2290 ps_stat_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_quality_preset; in ihevce_populate_sps()
2302 ps_sps->i1_sps_id = i4_resolution_id; in ihevce_populate_sps()
2451 ps_stat_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_codec_level; in ihevce_populate_sps()
2456 ps_stat_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_codec_level); in ihevce_populate_sps()
2573 ps_stat_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_codec_level; in ihevce_populate_sps()
[all …]
Dihevce_rc_interface.h86 WORD32 i4_resolution_id,
203 WORD32 i4_resolution_id,
Dihevce_entropy_interface.h80 WORD32 i4_resolution_id);
Dihevce_enc_loop_pass.c3594 WORD32 i4_resolution_id) in ihevce_enc_loop_get_mem_recs() argument
3603 u4_width = ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_width; in ihevce_enc_loop_get_mem_recs()
3606 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()
3609 u4_height = ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_height; in ihevce_enc_loop_get_mem_recs()
3612 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()
3799 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_quality_preset; in ihevce_enc_loop_get_mem_recs()
3874 if(ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_quality_preset == 0) in ihevce_enc_loop_get_mem_recs()
3914 if(ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_quality_preset == 0) in ihevce_enc_loop_get_mem_recs()
4074 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_quality_preset; in ihevce_enc_loop_get_mem_recs()
4167 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_quality_preset; in ihevce_enc_loop_get_mem_recs()
[all …]
Dihevce_encode_header_sei_vui.c2503 WORD32 i4_resolution_id, in ihevce_populate_vui() argument
2513 ps_vui->u1_aspect_ratio_idc = ps_vui_sei_prms->au1_aspect_ratio_idc[i4_resolution_id]; in ihevce_populate_vui()
2515 ps_vui->u2_sar_height = ps_vui_sei_prms->au2_sar_height[i4_resolution_id]; in ihevce_populate_vui()
2517 ps_vui->u2_sar_width = ps_vui_sei_prms->au2_sar_width[i4_resolution_id]; in ihevce_populate_vui()
2652 max_vbv_size = ps_stat_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id] in ihevce_populate_vui()
2657 (ULWORD64)ps_stat_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id] in ihevce_populate_vui()
2664 (ULWORD64)(ps_stat_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id] in ihevce_populate_vui()
2673 … ps_stat_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_codec_level); in ihevce_populate_vui()
Dhme_interface.c2287 WORD32 i4_resolution_id) in hme_coarse_dep_mngr_alloc_mem() argument
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()
2354 WORD32 i4_resolution_id) in hme_coarse_dep_mngr_init() argument
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()
2374 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_height + in hme_coarse_dep_mngr_init()
2376 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_height, min_cu_size); in hme_coarse_dep_mngr_init()
[all …]
Dihevce_ipe_pass.c386 WORD32 i4_resolution_id, in ihevce_ipe_init() argument
405 u4_width = ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_width; in ihevce_ipe_init()
408 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_width, MAX_CTB_SIZE); in ihevce_ipe_init()
428 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_quality_preset; in ihevce_ipe_init()
440 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].ai4_frame_qp[i4_ref_id]; in ihevce_ipe_init()
Dihevce_entropy_interface.c172 WORD32 i4_resolution_id) 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()
Dihevce_ipe_pass.h118 WORD32 i4_resolution_id,

12