/external/libhevc/encoder/ |
D | ihevce_entropy_cod.c | 154 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() 456 i4_resolution_id, in ihevce_ent_coding_thrd() [all …]
|
D | ihevce_tile_interface.c | 108 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 …]
|
D | ihevce_tile_interface.h | 51 WORD32 i4_resolution_id); 59 WORD32 i4_resolution_id, 66 WORD32 i4_resolution_id);
|
D | ihevce_error_check.c | 161 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() 1019 for(i4_resolution_id = 0; i4_resolution_id < i4_num_resolutions; i4_resolution_id++) in ihevce_hle_validate_static_params() 1028 ps_static_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_codec_level); in ihevce_hle_validate_static_params() 1030 ps_static_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_quality_preset; in ihevce_hle_validate_static_params() 1031 height = ps_static_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_height; in ihevce_hle_validate_static_params() 1032 width = ps_static_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_width; in ihevce_hle_validate_static_params() 1033 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 …]
|
D | ihevce_hle_interface.h | 381 WORD32 i4_resolution_id); 387 WORD32 i4_resolution_id); 403 WORD32 i4_resolution_id); 414 WORD32 i4_resolution_id); 435 ihevce_hle_ctxt_t *ps_hle_ctxt, WORD32 i4_bitrate_instance_id, WORD32 i4_resolution_id);
|
D | ihevce_memory_init.c | 185 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() 444 if(0 == i4_resolution_id) in ihevce_mem_manager_init() [all …]
|
D | ihevce_me_pass.c | 176 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 …]
|
D | ihevce_coarse_me_pass.h | 110 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);
|
D | ihevce_me_pass.h | 107 WORD32 i4_resolution_id, 136 WORD32 i4_resolution_id, 307 WORD32 i4_resolution_id);
|
D | ihevce_encode_header.h | 108 WORD32 i4_resolution_id); 120 WORD32 i4_resolution_id); 131 WORD32 i4_resolution_id,
|
D | ihevce_hle_q_func.c | 649 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()
|
D | ihevce_hle_interface.c | 348 ps_enc_ctxt->i4_resolution_id = ctr; in ihevce_hle_interface_create() 473 WORD32 ctb_align_pic_ht, i4_resolution_id = 0, i4_num_resolutions, i4_num_bitrate_instances; in ihevce_query_io_buf_req() local 476 ps_enc_ctxt = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[i4_resolution_id]; in ihevce_query_io_buf_req() 801 if(0 == ps_enc_ctxt->i4_resolution_id) in ihevce_hle_interface_thrd() 829 if(0 == ps_enc_ctxt->i4_resolution_id) in ihevce_hle_interface_thrd() 858 if(0 == ps_enc_ctxt->i4_resolution_id) in ihevce_hle_interface_thrd() 883 if(0 == ps_enc_ctxt->i4_resolution_id) in ihevce_hle_interface_thrd() 1621 WORD32 i4_resolution_id = 0; in ihevce_q_get_free_inp_data_buff() local 1623 ps_enc_ctxt = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[i4_resolution_id]; in ihevce_q_get_free_inp_data_buff() 1819 WORD32 i4_resolution_id) in ihevce_q_set_out_strm_buff_prod() argument [all …]
|
D | ihevce_enc_loop_pass.h | 75 WORD32 i4_resolution_id); 85 WORD32 i4_resolution_id,
|
D | hme_interface.h | 672 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);
|
D | ihevce_coarse_me_pass.c | 164 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()
|
D | ihevce_frame_process.c | 1099 WORD32 i4_resolution_id = ps_enc_ctxt->i4_resolution_id; in ihevce_manage_ref_pics() local 2611 .as_tgt_params[ps_enc_ctxt->i4_resolution_id] in ihevce_update_qp_L1_sad_based() 2904 WORD32 i4_resolution_id; in ihevce_enc_frm_proc_slave_thrd() local 2916 i4_resolution_id = ps_enc_ctxt->i4_resolution_id; in ihevce_enc_frm_proc_slave_thrd() 3219 PROFILE_START(&ps_hle_ctxt->profile_enc_me[ps_enc_ctxt->i4_resolution_id]); in ihevce_enc_frm_proc_slave_thrd() 3282 PROFILE_STOP(&ps_hle_ctxt->profile_enc_me[ps_enc_ctxt->i4_resolution_id], NULL); in ihevce_enc_frm_proc_slave_thrd() 3906 &ps_hle_ctxt->profile_enc[ps_enc_ctxt->i4_resolution_id][i]); in ihevce_enc_frm_proc_slave_thrd() 3993 &ps_hle_ctxt->profile_enc[ps_enc_ctxt->i4_resolution_id][i], NULL); in ihevce_enc_frm_proc_slave_thrd() 4447 i4_resolution_id /* res_intance */); in ihevce_enc_frm_proc_slave_thrd() 4764 i4_resolution_id /* res_intance */); in ihevce_enc_frm_proc_slave_thrd() [all …]
|
D | ihevce_entropy_interface.h | 80 WORD32 i4_resolution_id);
|
D | ihevce_rc_interface.h | 86 WORD32 i4_resolution_id, 203 WORD32 i4_resolution_id,
|
D | ihevce_encode_header.c | 1999 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 …]
|
D | ihevce_enc_loop_pass.c | 3474 WORD32 i4_resolution_id) in ihevce_enc_loop_get_mem_recs() argument 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() 3679 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_quality_preset; in ihevce_enc_loop_get_mem_recs() 3762 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() 3802 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() 3962 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_quality_preset; in ihevce_enc_loop_get_mem_recs() 4055 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_quality_preset; in ihevce_enc_loop_get_mem_recs() [all …]
|
D | ihevce_decomp_pre_intra_pass.h | 72 WORD32 i4_resolution_id,
|
D | ihevce_ipe_pass.h | 118 WORD32 i4_resolution_id,
|
D | ihevce_ipe_pass.c | 371 WORD32 i4_resolution_id, 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() 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()
|
D | ihevce_encode_header_sei_vui.c | 2503 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()
|
D | ihevce_entropy_interface.c | 172 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()
|