/external/libhevc/encoder/ |
D | ihevce_enc_cu_recursion.c | 411 if(ps_ctxt->i4_quality_preset < IHEVCE_QUALITY_P2) in ihevce_store_cu_results() 554 WORD32 quality_preset = ps_ctxt->i4_quality_preset; in ihevce_populate_cu_struct() 1124 WORD32 i4_quality_preset) in ihevce_intra_mode_populator() argument 1137 if(i4_quality_preset < IHEVCE_QUALITY_P3) in ihevce_intra_mode_populator() 1159 if((i1_slice_type != ISLICE) && (i4_quality_preset == IHEVCE_QUALITY_P0)) in ihevce_intra_mode_populator() 1163 else if((i1_slice_type == ISLICE) && (i4_quality_preset == IHEVCE_QUALITY_P0)) in ihevce_intra_mode_populator() 1201 if((i1_slice_type != ISLICE) && (i4_quality_preset == IHEVCE_QUALITY_P0)) in ihevce_intra_mode_populator() 1205 else if((i1_slice_type == ISLICE) && (i4_quality_preset == IHEVCE_QUALITY_P0)) in ihevce_intra_mode_populator() 1298 else if(i4_quality_preset == IHEVCE_QUALITY_P6) in ihevce_intra_mode_populator() 1432 if((i4_quality_preset == IHEVCE_QUALITY_P6) && (i1_slice_type != ISLICE)) in ihevce_intra_mode_populator() [all …]
|
D | ihevce_ipe_pass.c | 412 ps_ctxt->i4_quality_preset = 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() 415 if(ps_ctxt->i4_quality_preset == IHEVCE_QUALITY_P7) in ihevce_ipe_init() 417 ps_ctxt->i4_quality_preset = IHEVCE_QUALITY_P6; in ihevce_ipe_init() 1440 WORD32 i4_quality_preset, in ihevce_populate_ipe_frame_init() argument 1450 ps_ctxt->i4_quality_preset = i4_quality_preset; in ihevce_populate_ipe_frame_init() 1567 if(((ps_ctxt->i4_quality_preset == IHEVCE_QUALITY_P5) || in ihevce_populate_ipe_frame_init() 1568 (ps_ctxt->i4_quality_preset == IHEVCE_QUALITY_P6)) && in ihevce_populate_ipe_frame_init() 1578 if((ps_ctxt->i4_quality_preset == IHEVCE_QUALITY_P4) && (ps_ctxt->i4_slice_type != ISLICE)) in ihevce_populate_ipe_frame_init() 1580 if(ps_ctxt->i4_quality_preset > IHEVCE_QUALITY_P3) in ihevce_populate_ipe_frame_init()
|
D | ihevce_enc_loop_pass.c | 657 s_prms.u1_quality_preset = ps_ctxt->i4_quality_preset; in ihevce_cu_mode_decide() 916 if(IHEVCE_QUALITY_P3 > ps_ctxt->i4_quality_preset) in ihevce_cu_mode_decide() 921 if((IHEVCE_QUALITY_P0 == ps_ctxt->i4_quality_preset) && (ps_cu_prms->u1_is_cu_noisy) && in ihevce_cu_mode_decide() 1003 if((ps_ctxt->i1_slice_type != ISLICE) && (ps_ctxt->i4_quality_preset >= IHEVCE_QUALITY_P3)) in ihevce_cu_mode_decide() 1119 ((ps_ctxt->i4_quality_preset == IHEVCE_QUALITY_P5) || in ihevce_cu_mode_decide() 1120 (ps_ctxt->i4_quality_preset == IHEVCE_QUALITY_P6)) && in ihevce_cu_mode_decide() 1180 ((ps_ctxt->i4_quality_preset == IHEVCE_QUALITY_P5) || in ihevce_cu_mode_decide() 1181 (ps_ctxt->i4_quality_preset == IHEVCE_QUALITY_P6)) && in ihevce_cu_mode_decide() 1270 (ps_ctxt->i4_quality_preset <= IHEVCE_QUALITY_P2) && !FORCE_INTRA_TU_DEPTH_TO_0) in ihevce_cu_mode_decide() 1351 if(ps_ctxt->i4_quality_preset < IHEVCE_QUALITY_P2) in ihevce_cu_mode_decide() [all …]
|
D | ihevce_decomp_pre_intra_pass.c | 303 WORD32 i4_quality_preset, in ihevce_ed_calc_4x4_blk() argument 359 if(i4_quality_preset < IHEVCE_QUALITY_P4) in ihevce_ed_calc_4x4_blk() 418 WORD32 i4_quality_preset, in ihevce_ed_calc_8x8_blk() argument 488 i4_quality_preset, in ihevce_ed_calc_8x8_blk() 526 …u1_cond_4x4_satd = ((1 == i4_layer_id) || (!merge_success && i4_quality_preset < IHEVCE_QUALITY_P4… in ihevce_ed_calc_8x8_blk() 577 if(i4_quality_preset < IHEVCE_QUALITY_P4) in ihevce_ed_calc_8x8_blk() 806 ps_ed_ctxt->i4_quality_preset, in ihevce_ed_calc_ctb() 1487 if((1 == i4_layer_no) && (IHEVCE_QUALITY_P6 == ps_ctxt->i4_quality_preset)) in ihevce_decomp_pre_intra_process() 1493 if((ps_ctxt->i4_quality_preset == IHEVCE_QUALITY_P6) && in ihevce_decomp_pre_intra_process() 1520 ((IHEVCE_QUALITY_P6 != ps_ctxt->i4_quality_preset) && (0 != i4_layer_no))) in ihevce_decomp_pre_intra_process() [all …]
|
D | ihevce_decomp_pre_intra_structs.h | 119 WORD32 i4_quality_preset; member 188 WORD32 i4_quality_preset; member
|
D | ihevce_me_pass.c | 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() 264 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_quality_preset) in ihevce_derive_me_init_prms() 272 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_quality_preset) in ihevce_derive_me_init_prms() 280 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_quality_preset) in ihevce_derive_me_init_prms() 288 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_recur_bracketing.c | 694 WORD32 i4_quality_preset = ps_ctxt->i4_quality_preset; in ihevce_bracketing_analysis() local 697 WORD32 i4_enable_1cu_4tu = (i4_quality_preset == IHEVCE_QUALITY_P2) || in ihevce_bracketing_analysis() 698 (i4_quality_preset == IHEVCE_QUALITY_P0); in ihevce_bracketing_analysis() 702 WORD32 i4_enable_4cu_16tu = (i4_quality_preset == IHEVCE_QUALITY_P2) || in ihevce_bracketing_analysis() 703 (i4_quality_preset == IHEVCE_QUALITY_P0); in ihevce_bracketing_analysis() 886 if((i4_quality_preset == IHEVCE_QUALITY_P6) && (ps_ctxt->i4_slice_type != ISLICE)) in ihevce_bracketing_analysis() 1054 if((ps_ctxt->i4_quality_preset == IHEVCE_QUALITY_P6) && in ihevce_bracketing_analysis() 1383 if((IHEVCE_QUALITY_P3 > i4_quality_preset)) in ihevce_bracketing_analysis() 1661 if((ps_ctxt->i4_quality_preset == IHEVCE_QUALITY_P6) && in ihevce_bracketing_analysis() 2006 if((IHEVCE_QUALITY_P3 > i4_quality_preset)) in ihevce_bracketing_analysis() [all …]
|
D | rate_control_api_structs.h | 91 WORD32 i4_quality_preset; member
|
D | ihevce_ipe_pass.h | 161 WORD32 i4_quality_preset,
|
D | ihevce_enc_loop_pass.h | 117 WORD32 i4_quality_preset,
|
D | ihevce_encode_header.h | 148 WORD32 i4_quality_preset,
|
D | ihevce_encode_header.c | 2289 WORD32 i4_quality_preset = in ihevce_populate_sps() local 2290 ps_stat_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_quality_preset; in ihevce_populate_sps() 2293 if(i4_quality_preset == IHEVCE_QUALITY_P7) in ihevce_populate_sps() 2295 i4_quality_preset = IHEVCE_QUALITY_P6; in ihevce_populate_sps() 2346 if(i4_quality_preset < IHEVCE_QUALITY_P4) in ihevce_populate_sps() 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() 2947 WORD32 i4_quality_preset, in ihevce_populate_slice_header() argument 2961 if(i4_quality_preset == IHEVCE_QUALITY_P7) in ihevce_populate_slice_header() 2963 i4_quality_preset = IHEVCE_QUALITY_P6; in ihevce_populate_slice_header()
|
D | ihevce_lap_enc_structs.h | 382 WORD32 i4_quality_preset; member
|
D | ihevce_frame_process.c | 947 if(ps_curr_inp->s_lap_out.i4_quality_preset >= IHEVCE_QUALITY_P3) in ihevce_pre_enc_manage_ref_pics() 951 if(IHEVCE_QUALITY_P6 == ps_curr_inp->s_lap_out.i4_quality_preset) in ihevce_pre_enc_manage_ref_pics() 1849 if(ps_curr_inp->s_lap_out.i4_quality_preset >= IHEVCE_QUALITY_P3) in ihevce_manage_ref_pics() 1853 if(ps_curr_inp->s_lap_out.i4_quality_preset == IHEVCE_QUALITY_P6) in ihevce_manage_ref_pics() 2440 if((ps_curr_inp->s_lap_out.i4_quality_preset == IHEVCE_QUALITY_P6) && in ihevce_update_qp_L1_sad_based() 2454 if((ps_curr_inp->s_lap_out.i4_quality_preset == IHEVCE_QUALITY_P6) && in ihevce_update_qp_L1_sad_based() 2508 if((ps_curr_inp->s_lap_out.i4_quality_preset == IHEVCE_QUALITY_P6) && in ihevce_update_qp_L1_sad_based() 2530 if((ps_curr_inp->s_lap_out.i4_quality_preset == IHEVCE_QUALITY_P6) && in ihevce_update_qp_L1_sad_based() 2552 if((ps_curr_inp->s_lap_out.i4_quality_preset == IHEVCE_QUALITY_P6) && in ihevce_update_qp_L1_sad_based() 3968 ps_curr_inp_enc->ps_curr_inp->s_lap_out.i4_quality_preset, in ihevce_enc_frm_proc_slave_thrd() [all …]
|
D | ihevce_ipe_structs.h | 399 WORD32 i4_quality_preset; member
|
D | ihevce_rc_structs.h | 225 WORD32 i4_quality_preset; member
|
D | ihevce_enc_loop_utils.c | 761 if((ps_ctxt->i1_slice_type == BSLICE) && (ps_ctxt->i4_quality_preset == IHEVCE_QUALITY_P6)) in ihevce_compute_cu_level_QP() 3016 if(IHEVCE_QUALITY_P3 > ps_ctxt->i4_quality_preset) in ihevce_intra_rdopt_cu_ntu() 3055 (ps_ctxt->i4_quality_preset < IHEVCE_QUALITY_P3) && in ihevce_intra_rdopt_cu_ntu() 3213 (ps_ctxt->i4_quality_preset >= IHEVCE_QUALITY_P3)) in ihevce_intra_rdopt_cu_ntu() 3224 if((TU_EQ_SUBCU == func_proc_mode) && (ps_ctxt->i4_quality_preset < IHEVCE_QUALITY_P3) && in ihevce_intra_rdopt_cu_ntu() 3317 if(ps_ctxt->i4_quality_preset >= IHEVCE_QUALITY_P3) in ihevce_intra_rdopt_cu_ntu() 4396 (ps_ctxt->i4_quality_preset < IHEVCE_QUALITY_P3) && in ihevce_inter_rdopt_cu_ntu() 5218 (ps_ctxt->i4_quality_preset < IHEVCE_QUALITY_P3) && in ihevce_inter_tu_tree_selector_and_rdopt_cost_computer() 5236 if(INCLUDE_CHROMA_DURING_TU_RECURSION && (ps_ctxt->i4_quality_preset <= IHEVCE_QUALITY_P0)) in ihevce_inter_tu_tree_selector_and_rdopt_cost_computer() 5254 INCLUDE_CHROMA_DURING_TU_RECURSION && (ps_ctxt->i4_quality_preset <= IHEVCE_QUALITY_P0), in ihevce_inter_tu_tree_selector_and_rdopt_cost_computer() [all …]
|
D | ihevce_rc_interface.c | 418 ps_rc_ctxt->i4_quality_preset = in ihevce_rc_mem_init() 419 ps_init_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id].i4_quality_preset; in ihevce_rc_mem_init() 421 if(ps_rc_ctxt->i4_quality_preset == IHEVCE_QUALITY_P7) in ihevce_rc_mem_init() 423 ps_rc_ctxt->i4_quality_preset = IHEVCE_QUALITY_P6; in ihevce_rc_mem_init() 991 ps_rc_ctxt->i4_quality_preset, in ihevce_rc_init() 1127 ps_rc_lap_out->i4_rc_quality_preset = ps_lap_out->i4_quality_preset; in ihevce_rc_populate_common_params() 1269 if(ps_rc_ctxt->i4_quality_preset == IHEVCE_QUALITY_P6) in ihevce_rc_get_bpp_based_frame_qp() 2116 ps_rc_ctxt->i4_quality_preset = ps_rc_lap_out->i4_rc_quality_preset; in ihevce_rc_get_pic_quant() 3989 WORD32 i4_rc_quality_preset = ps_rc_ctxt->i4_quality_preset; in ihevce_get_offline_index()
|
D | ihevce_api.h | 317 IHEVCE_QUALITY_CONFIG_T i4_quality_preset; member
|
D | rate_control_api.h | 79 WORD32 i4_quality_preset,
|
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()
|
D | rate_control_api.c | 244 WORD32 i4_quality_preset, in initialise_rate_control() argument 293 ps_rate_control_api->i4_quality_preset = i4_quality_preset; in initialise_rate_control()
|
D | ihevce_error_check.c | 283 …d_loop, ps_static_cfg_prms->s_tgt_lyr_prms.as_tgt_params[i4_resolution_id_loop].i4_quality_preset); 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()
|
/external/libhevc/fuzzer/ |
D | README.md | 86 8. Encoder quality preset (parameter name: `i4_quality_preset`) 114 | `i4_quality_preset` | 0. `IHEVCE_QUALITY_P0` 1. `IHEVCE_QUALITY_P2` 2. `IHEVCE_QUALITY_P3` 3. `IH…
|
D | hevc_enc_fuzzer.cpp | 112 mEncParams.s_tgt_lyr_prms.as_tgt_params[0].i4_quality_preset = in initEncoder()
|