/external/libhevc/encoder/ |
D | ihevce_tile_interface.c | 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() 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() 467 ps_static_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_width; in ihevce_tiles_mem_init()
|
D | ihevce_error_check.c | 172 ps_static_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id] in ihevce_hle_validate_static_params() 207 …id %d %d ", i4_resolution_id_loop, ps_static_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_… in ihevce_hle_validate_static_params() 213 …id %d %d ", i4_resolution_id_loop, ps_static_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_… in ihevce_hle_validate_static_params() 220 … ps_static_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id_loop].i4_frm_rate_scale_factor); in ihevce_hle_validate_static_params() 226 …id %d %d ", i4_resolution_id_loop, ps_static_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_… in ihevce_hle_validate_static_params() 233 … ps_static_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id_loop].i4_num_bitrate_instances); in ihevce_hle_validate_static_params() 240 …i4_num_bitrate_instances = ps_static_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id_loop]… in ihevce_hle_validate_static_params() 245 …br_id, "br_id %d %d ", i4_br_loop, ps_static_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_… in ihevce_hle_validate_static_params() 252 …ps_static_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id_loop].ai4_peak_bitrate[i4_br_loo… in ihevce_hle_validate_static_params() 259 …ps_static_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id_loop].ai4_max_vbv_buffer_size[i4… in ihevce_hle_validate_static_params() [all …]
|
D | ihevce_plugin.c | 389 ps_params->s_tgt_lyr_prms.as_tgt_params[i].i4_size = sizeof(ihevce_tgt_params_t); in ihevce_set_def_params() 392 ps_params->s_tgt_lyr_prms.as_tgt_params[i].ai4_frame_qp[j] = 32; in ihevce_set_def_params() 393 ps_params->s_tgt_lyr_prms.as_tgt_params[i].ai4_tgt_bitrate[j] = 5000000; in ihevce_set_def_params() 394 ps_params->s_tgt_lyr_prms.as_tgt_params[i].ai4_peak_bitrate[j] = 10000000; in ihevce_set_def_params() 395 ps_params->s_tgt_lyr_prms.as_tgt_params[i].ai4_max_vbv_buffer_size[j] = -1; in ihevce_set_def_params() 397 ps_params->s_tgt_lyr_prms.as_tgt_params[i].i4_codec_level = 156; in ihevce_set_def_params() 398 ps_params->s_tgt_lyr_prms.as_tgt_params[i].i4_frm_rate_scale_factor = 1; in ihevce_set_def_params() 399 ps_params->s_tgt_lyr_prms.as_tgt_params[i].i4_height = 0; in ihevce_set_def_params() 400 ps_params->s_tgt_lyr_prms.as_tgt_params[i].i4_num_bitrate_instances = 1; in ihevce_set_def_params() 401 ps_params->s_tgt_lyr_prms.as_tgt_params[i].i4_quality_preset = IHEVCE_QUALITY_P5; in ihevce_set_def_params() [all …]
|
D | ihevce_me_pass.c | 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() 256 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_entropy_cod.c | 388 ps_enc_ctxt->ps_stat_prms->s_tgt_lyr_prms.as_tgt_params[0] in ihevce_ent_coding_thrd() 487 .as_tgt_params[ps_enc_ctxt->i4_resolution_id] in ihevce_ent_coding_thrd() 490 .as_tgt_params[ps_enc_ctxt->i4_resolution_id] in ihevce_ent_coding_thrd() 696 ps_tgt_lyr_prms->as_tgt_params[i4_resolution_id].i4_num_bitrate_instances) in ihevce_entropy_encode_header()
|
D | ihevce_memory_init.c | 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() 449 ps_enc_ctxt->ps_stat_prms->s_tgt_lyr_prms.as_tgt_params[ctr].i4_quality_preset; in ihevce_mem_manager_init() 470 &ps_enc_ctxt->ps_stat_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id], in ihevce_mem_manager_init() [all …]
|
D | ihevce_enc_loop_pass.c | 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() 4172 WORD32 ht = ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_height; in ihevce_enc_loop_get_mem_recs() [all …]
|
D | ihevce_hle_interface.c | 245 if((ps_enc_static_cfg_params->s_tgt_lyr_prms.as_tgt_params[0].i4_quality_preset == in ihevce_hle_interface_create() 254 if((ps_enc_static_cfg_params->s_tgt_lyr_prms.as_tgt_params[0].i4_quality_preset == in ihevce_hle_interface_create() 321 ps_enc_static_cfg_params->s_tgt_lyr_prms.as_tgt_params[ctr].i4_num_bitrate_instances; in ihevce_hle_interface_create() 769 ps_enc_ctxt_base->ps_stat_prms->s_tgt_lyr_prms.as_tgt_params[res_ctr] in ihevce_hle_interface_thrd() 1213 ps_enc_ctxt_base->ps_stat_prms->s_tgt_lyr_prms.as_tgt_params[res_ctr] in ihevce_hle_interface_thrd() 1566 ps_enc_ctxt_base->ps_stat_prms->s_tgt_lyr_prms.as_tgt_params[res_ctr] in ihevce_hle_interface_thrd() 2023 ps_hle_ctxt->ps_static_cfg_prms->s_tgt_lyr_prms.as_tgt_params[ctr] in ihevce_hle_interface_delete() 2051 for(i = 0; i < ps_hle_ctxt->ps_static_cfg_prms->s_tgt_lyr_prms.as_tgt_params[res_ctr] in ihevce_hle_interface_delete()
|
D | ihevce_entropy_interface.c | 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() 255 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_res_id].i4_codec_level; in ihevce_entropy_init()
|
D | ihevce_encode_header.c | 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() 2290 ps_stat_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_quality_preset; 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() 2827 ps_stat_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id] in ihevce_populate_pps() 2857 if(ps_stat_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_quality_preset < in ihevce_populate_pps() 2863 ps_stat_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_quality_preset == in ihevce_populate_pps()
|
D | ihevce_ipe_pass.c | 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 | hme_interface.c | 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() 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() 2478 *a_wd = ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_width + in hme_coarse_dep_mngr_delete() 2480 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_width, min_cu_size); in hme_coarse_dep_mngr_delete() [all …]
|
D | ihevce_rc_interface.c | 419 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_quality_preset; in ihevce_rc_mem_init() 477 … (ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_frm_rate_scale_factor * in ihevce_rc_mem_init() 535 i4_avg_bitrate = ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id] in ihevce_rc_mem_init() 539 (ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id] in ihevce_rc_mem_init() 565 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id] in ihevce_rc_mem_init() 577 u4_buf_size = (WORD32)(ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id] in ihevce_rc_mem_init() 586 i4_peak_bitrate_factor = (ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id] in ihevce_rc_mem_init() 592 float f_delay = ((float)ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id] in ihevce_rc_mem_init() 595 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id] in ihevce_rc_mem_init() 599 (ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id] in ihevce_rc_mem_init() [all …]
|
D | ihevce_encode_header_sei_vui.c | 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_frame_process.c | 2611 .as_tgt_params[ps_enc_ctxt->i4_resolution_id] in ihevce_update_qp_L1_sad_based() 4822 ps_enc_ctxt->ps_stat_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_width + in ihevce_set_pre_enc_prms() 4824 ps_enc_ctxt->ps_stat_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_width, in ihevce_set_pre_enc_prms() 4831 ps_enc_ctxt->ps_stat_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_height + in ihevce_set_pre_enc_prms() 4833 ps_enc_ctxt->ps_stat_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_height, in ihevce_set_pre_enc_prms() 4841 ps_enc_ctxt->ps_stat_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_width + in ihevce_set_pre_enc_prms() 4843 ps_enc_ctxt->ps_stat_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_width, in ihevce_set_pre_enc_prms() 4856 ps_enc_ctxt->ps_stat_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_height + in ihevce_set_pre_enc_prms() 4858 ps_enc_ctxt->ps_stat_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_height, in ihevce_set_pre_enc_prms() 4891 i4_num_instance = ps_enc_ctxt->ps_stat_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id] in ihevce_set_pre_enc_prms() [all …]
|
D | ihevce_api.h | 388 ihevce_tgt_params_t as_tgt_params[IHEVCE_MAX_NUM_RESOLUTIONS]; member
|
D | ihevce_lap_interface.c | 2034 &ps_lap_struct->s_static_cfg_params.s_tgt_lyr_prms.as_tgt_params[0]; in ihevce_lap_process()
|
D | ihevce_decomp_pre_intra_pass.c | 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()
|
/external/libhevc/test/encoder/ |
D | main.c | 319 ps_static_prms->s_tgt_lyr_prms.as_tgt_params[0].i4_codec_level = i4_value; in parse_argument() 323 ps_static_prms->s_tgt_lyr_prms.as_tgt_params[0].ai4_tgt_bitrate[0] = i4_value; in parse_argument() 328 ps_static_prms->s_tgt_lyr_prms.as_tgt_params[0].ai4_frame_qp[0] = i4_value; in parse_argument() 357 ps_static_prms->s_tgt_lyr_prms.as_tgt_params[0].i4_quality_preset = in parse_argument() 838 inp_pic->i4_curr_bitrate = params->s_tgt_lyr_prms.as_tgt_params[0].ai4_tgt_bitrate[0]; in allocate_input() 839 inp_pic->i4_curr_peak_bitrate = params->s_tgt_lyr_prms.as_tgt_params[0].ai4_peak_bitrate[0]; in allocate_input()
|