diff options
-rw-r--r-- | libhb/qsv_common.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libhb/qsv_common.c b/libhb/qsv_common.c index a79a44bf7..171071a14 100644 --- a/libhb/qsv_common.c +++ b/libhb/qsv_common.c @@ -1892,7 +1892,14 @@ int hb_qsv_param_default_preset(hb_qsv_param_t *param, } else if (!strcasecmp(preset, "speed")) { - if (qsv_hardware_generation(hb_get_cpu_platform()) >= QSV_G3) + if (qsv_hardware_generation(hb_get_cpu_platform()) >= QSV_G7) + { + // Since IceLake only + param->rc.lookahead = 0; + param->videoParam->mfx.NumRefFrame = 1; + param->videoParam->mfx.TargetUsage = MFX_TARGETUSAGE_7; + } + else if (qsv_hardware_generation(hb_get_cpu_platform()) >= QSV_G3) { /* * HSW TargetUsage: 6 |