obs-qsv: Expose additional QSV encoder settings through GUI

- Allow user to change # of B frames. New Default -> 1
- Allow user to enable Content Adaptive Quantization (MBBRC) if CPU is Skylake or newer.
- Allow user to choose LA_CBR as a rate control.
- LA depth: New Default -> 15, only when LA rate control is used.
This commit is contained in:
Bird, Christopher
2018-08-08 10:39:57 -07:00
parent 3caf5d04d3
commit 58812bc0b3
4 changed files with 59 additions and 26 deletions
+11 -2
View File
@@ -223,8 +223,17 @@ enum qsv_cpu_platform qsv_get_cpu_platform()
case 0x45:
case 0x46:
return QSV_CPU_PLATFORM_HSW;
}
//assume newer revisions are at least as capable as Haswell
case 0x3d:
case 0x47:
case 0x4f:
case 0x56:
return QSV_CPU_PLATFORM_BDW;
case 0x4e:
case 0x5e:
return QSV_CPU_PLATFORM_SKL;
}
//assume newer revisions are at least as capable as Skylake
return QSV_CPU_PLATFORM_INTEL;
}