/external/libhevc/encoder/ |
D | ihevce_error_check.c | 315 …i4_br_id, "IHEVCE : i4_num_frms_to_encode %d \n", ps_static_cfg_prms->s_config_prms.i4_num_frms_to… in ihevce_hle_validate_static_params() 316 …, i4_br_id, "IHEVCE : i4_max_log2_cu_size %d \n", ps_static_cfg_prms->s_config_prms.i4_max_log2_cu… in ihevce_hle_validate_static_params() 317 …, i4_br_id, "IHEVCE : i4_max_log2_cu_size %d \n", ps_static_cfg_prms->s_config_prms.i4_min_log2_cu… in ihevce_hle_validate_static_params() 318 …, i4_br_id, "IHEVCE : i4_max_log2_cu_size %d \n", ps_static_cfg_prms->s_config_prms.i4_max_log2_tu… in ihevce_hle_validate_static_params() 319 …, i4_br_id, "IHEVCE : i4_max_log2_cu_size %d \n", ps_static_cfg_prms->s_config_prms.i4_min_log2_cu… in ihevce_hle_validate_static_params() 320 …4_br_id, "IHEVCE : i4_max_tr_tree_depth_I %d \n", ps_static_cfg_prms->s_config_prms.i4_max_tr_tree… in ihevce_hle_validate_static_params() 321 …_br_id, "IHEVCE : i4_max_tr_tree_depth_nI %d \n", ps_static_cfg_prms->s_config_prms.i4_max_tr_tree… in ihevce_hle_validate_static_params() 322 …br_id, "IHEVCE : i4_max_search_range_horz %d \n", ps_static_cfg_prms->s_config_prms.i4_max_search_… in ihevce_hle_validate_static_params() 323 …br_id, "IHEVCE : i4_max_search_range_vert %d \n", ps_static_cfg_prms->s_config_prms.i4_max_search_… in ihevce_hle_validate_static_params() 330 … i4_br_id, "IHEVCE : i4_rate_control_mode %d \n", ps_static_cfg_prms->s_config_prms.i4_rate_contro… in ihevce_hle_validate_static_params() [all …]
|
D | ihevce_plugin.c | 303 ps_params->s_config_prms.i4_size = sizeof(ihevce_config_prms_t); in ihevce_set_def_params() 304 ps_params->s_config_prms.i4_cu_level_rc = 1; in ihevce_set_def_params() 305 ps_params->s_config_prms.i4_init_vbv_fullness = 0; in ihevce_set_def_params() 306 ps_params->s_config_prms.i4_max_frame_qp = 51; in ihevce_set_def_params() 307 ps_params->s_config_prms.i4_max_log2_cu_size = 6; in ihevce_set_def_params() 308 ps_params->s_config_prms.i4_max_log2_tu_size = 5; in ihevce_set_def_params() 309 ps_params->s_config_prms.i4_max_search_range_horz = 512; in ihevce_set_def_params() 310 ps_params->s_config_prms.i4_max_search_range_vert = 256; in ihevce_set_def_params() 311 ps_params->s_config_prms.i4_max_tr_tree_depth_I = 1; in ihevce_set_def_params() 312 ps_params->s_config_prms.i4_max_tr_tree_depth_nI = 3; in ihevce_set_def_params() [all …]
|
D | ihevce_me_pass.c | 185 min_cu_size = ps_init_prms->s_config_prms.i4_min_log2_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() 306 ps_hme_init_prms->max_horz_search_range = ps_init_prms->s_config_prms.i4_max_search_range_horz; in ihevce_derive_me_init_prms() 307 ps_hme_init_prms->max_vert_search_range = ps_init_prms->s_config_prms.i4_max_search_range_vert; in ihevce_derive_me_init_prms() 1181 ps_me_tmp_frm_ctxt->i4_l0me_qp_mod = ps_stat_prms->s_config_prms.i4_cu_level_rc & 1; in ihevce_me_frame_init()
|
D | ihevce_tile_interface.c | 131 i4_max_log2_cu_size = ps_static_cfg_prms->s_config_prms.i4_max_log2_cu_size; in ihevce_update_tile_params() 134 min_cu_size = 1 << ps_static_cfg_prms->s_config_prms.i4_min_log2_cu_size; in ihevce_update_tile_params()
|
D | ihevce_ipe_pass.c | 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() 463 ps_ctxt->i4_l0ipe_qp_mod = ps_init_prms->s_config_prms.i4_cu_level_rc & 1; in ihevce_ipe_init()
|
D | ihevce_entropy_cod.c | 376 if(ps_enc_ctxt->ps_stat_prms->s_config_prms.i4_rate_control_mode != 3) in ihevce_ent_coding_thrd() 447 if(ps_enc_ctxt->ps_stat_prms->s_config_prms.i4_rate_control_mode != 3) in ihevce_ent_coding_thrd()
|
D | ihevce_rc_interface.c | 437 ps_rc_quant->i2_max_qp = MIN(ps_init_prms->s_config_prms.i4_max_frame_qp, in ihevce_rc_mem_init() 440 MAX(-(ps_rc_quant->i1_qp_offset), ps_init_prms->s_config_prms.i4_min_frame_qp); in ihevce_rc_mem_init() 529 ps_rc_ctxt->i4_min_frame_qp = ps_init_prms->s_config_prms.i4_min_frame_qp; in ihevce_rc_mem_init() 530 ps_rc_ctxt->i4_max_frame_qp = ps_init_prms->s_config_prms.i4_max_frame_qp; in ihevce_rc_mem_init() 538 if((ps_init_prms->s_config_prms.i4_rate_control_mode == VBR_STREAMING) && in ihevce_rc_mem_init() 542 ps_init_prms->s_config_prms.i4_rate_control_mode = CBR_NLDRC; in ihevce_rc_mem_init() 545 ps_rc_ctxt->e_rate_control_type = (rc_type_e)ps_init_prms->s_config_prms.i4_rate_control_mode; in ihevce_rc_mem_init() 547 if(1 == ps_init_prms->s_config_prms.i4_rate_control_mode) in ihevce_rc_mem_init() 584 ((float)ps_init_prms->s_config_prms.i4_vbr_max_peak_rate_dur) / 1000; in ihevce_rc_mem_init() 585 ps_rc_ctxt->i8_num_frms_to_encode = (WORD32)ps_init_prms->s_config_prms.i4_num_frms_to_encode; in ihevce_rc_mem_init() [all …]
|
D | ihevce_hle_interface.c | 247 (ps_enc_static_cfg_params->s_config_prms.i4_cu_level_rc)) in ihevce_hle_interface_create() 252 ps_enc_static_cfg_params->s_config_prms.i4_cu_level_rc = 0; in ihevce_hle_interface_create() 256 (ps_enc_static_cfg_params->s_config_prms.i4_cu_level_rc)) in ihevce_hle_interface_create() 261 ps_enc_static_cfg_params->s_config_prms.i4_cu_level_rc = 0; in ihevce_hle_interface_create()
|
D | ihevce_frame_process.c | 2578 if(ps_enc_ctxt->ps_stat_prms->s_config_prms.i4_rate_control_mode != CONST_QP) in ihevce_update_qp_L1_sad_based() 2601 if(ps_enc_ctxt->ps_stat_prms->s_config_prms.i4_rate_control_mode != 3) in ihevce_update_qp_L1_sad_based() 2698 if(ps_enc_ctxt->ps_stat_prms->s_config_prms.i4_rate_control_mode != 3) in ihevce_update_qp_L1_sad_based() 2774 ps_enc_ctxt->ps_stat_prms->s_config_prms.i4_cu_level_rc; in ihevce_frame_init() 4918 &ps_enc_ctxt->ps_stat_prms->s_config_prms, in ihevce_set_pre_enc_prms() 4930 &ps_enc_ctxt->ps_stat_prms->s_config_prms, in ihevce_set_pre_enc_prms() 4942 &ps_enc_ctxt->ps_stat_prms->s_config_prms, in ihevce_set_pre_enc_prms() 5039 min_cu_size = ps_enc_ctxt->ps_stat_prms->s_config_prms.i4_min_log2_cu_size; in ihevce_pre_enc_init() 5196 if(ps_enc_ctxt->ps_stat_prms->s_config_prms.i4_rate_control_mode == 3) in ihevce_pre_enc_init() 6263 ps_enc_ctxt->ps_stat_prms->s_config_prms.i4_rate_control_mode != 3) in ihevce_pre_enc_process_frame_thrd() [all …]
|
D | ihevce_enc_loop_pass.c | 4360 ctb_size = (1 << ps_init_prms->s_config_prms.i4_max_log2_cu_size); in ihevce_enc_loop_init() 4375 ps_init_prms->s_config_prms.i4_max_search_range_horz; in ihevce_enc_loop_init() 4377 ps_init_prms->s_config_prms.i4_max_search_range_vert; in ihevce_enc_loop_init() 4604 (1 << ps_init_prms->s_config_prms.i4_max_log2_cu_size); in ihevce_enc_loop_init() 5041 if(ps_init_prms->s_config_prms.i4_cu_level_rc & 1) in ihevce_enc_loop_init() 5475 ps_ctxt->i4_qp_mod = ps_init_prms->s_config_prms.i4_cu_level_rc & 1; in ihevce_enc_loop_init() 5500 ps_ctxt->u1_max_inter_tr_depth = ps_init_prms->s_config_prms.i4_max_tr_tree_depth_nI; in ihevce_enc_loop_init() 5501 ps_ctxt->u1_max_intra_tr_depth = ps_init_prms->s_config_prms.i4_max_tr_tree_depth_I; in ihevce_enc_loop_init() 5522 WORD32 min_cu_size = 1 << ps_init_prms->s_config_prms.i4_min_log2_cu_size; in ihevce_enc_loop_init()
|
D | ihevce_api.h | 1069 ihevce_config_prms_t s_config_prms; member
|
D | ihevce_encode_header_sei_vui.c | 2660 if((ps_stat_prms->s_config_prms.i4_rate_control_mode == 2) || in ihevce_populate_vui() 2661 (ps_stat_prms->s_config_prms.i4_rate_control_mode == in ihevce_populate_vui() 2669 if(3 == ps_stat_prms->s_config_prms.i4_rate_control_mode) in ihevce_populate_vui()
|
D | ihevce_decomp_pre_intra_pass.c | 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()
|
D | ihevce_memory_init.c | 248 ctb_size = ps_enc_ctxt->ps_stat_prms->s_config_prms.i4_max_log2_cu_size; in ihevce_mem_manager_init() 251 min_cu_size = ps_enc_ctxt->ps_stat_prms->s_config_prms.i4_min_log2_cu_size; in ihevce_mem_manager_init()
|
D | hme_interface.c | 2296 min_cu_size = ps_init_prms->s_config_prms.i4_min_log2_cu_size; in hme_coarse_dep_mngr_alloc_mem() 2365 min_cu_size = ps_init_prms->s_config_prms.i4_min_log2_cu_size; in hme_coarse_dep_mngr_init() 2473 min_cu_size = ps_init_prms->s_config_prms.i4_min_log2_cu_size; in hme_coarse_dep_mngr_delete()
|
D | ihevce_lap_interface.c | 2290 (1 << ps_lap_struct->s_static_cfg_params.s_config_prms.i4_min_log2_cu_size); in ihevce_lap_process()
|
/external/libhevc/test/encoder/ |
D | main.c | 285 ps_static_prms->s_config_prms.i4_num_frms_to_encode = INT32_MAX - 1; in parse_argument() 287 ps_static_prms->s_config_prms.i4_num_frms_to_encode = i4_value; in parse_argument() 378 ps_static_prms->s_config_prms.i4_max_tr_tree_depth_I = i4_value; in parse_argument() 383 ps_static_prms->s_config_prms.i4_max_tr_tree_depth_nI = i4_value; in parse_argument() 388 ps_static_prms->s_config_prms.i4_max_search_range_horz = i4_value; in parse_argument() 393 ps_static_prms->s_config_prms.i4_max_search_range_vert = i4_value; in parse_argument() 423 ps_static_prms->s_config_prms.i4_rate_control_mode = i4_value; in parse_argument() 427 ps_static_prms->s_config_prms.i4_cu_level_rc = i4_value; in parse_argument() 431 ps_static_prms->s_config_prms.i4_max_frame_qp = i4_value; in parse_argument() 436 ps_static_prms->s_config_prms.i4_min_frame_qp = i4_value; in parse_argument() [all …]
|
/external/libhevc/fuzzer/ |
D | hevc_enc_fuzzer.cpp | 107 mEncParams.s_config_prms.i4_max_tr_tree_depth_I = (data[IDX_MAX_INTRA_TX_DEPTH] % 3) + 1; in initEncoder() 108 mEncParams.s_config_prms.i4_max_tr_tree_depth_nI = (data[IDX_MAX_INTER_TX_DEPTH] & 0x03) + 1; in initEncoder() 109 mEncParams.s_config_prms.i4_cu_level_rc = data[IDX_CU_RC] & 0x01; in initEncoder() 110 mEncParams.s_config_prms.i4_rate_control_mode = kRcType[data[IDX_RC_MODE] % kRcTypeNum]; in initEncoder()
|