qsvenc: Add VDENC support for H264 and HEVC
authorLinjie Fu <linjie.fu@intel.com>
Mon, 5 Nov 2018 02:28:59 +0000 (10:28 +0800)
committerLuca Barbato <lu_zero@gentoo.org>
Tue, 13 Nov 2018 16:36:04 +0000 (16:36 +0000)
commite716323fa8526c7243ce73edd077761dc40e5f86
treeabe299c5c5702d2edf63bb62b403fd16703b64d1
parent9bf9358b615dbf3d0f81ca2dbfbec6103dc77f25
qsvenc: Add VDENC support for H264 and HEVC

Add VDENC(lowpower mode) support for QSV h264 and HEVC

It's an experimental function(like lowpower in vaapi) with
some limitations:
- CBR/VBR require HuC which should be explicitly loaded via i915
module parameter(i915.enable_guc=2 for linux kerner version >= 4.16)
- HEVC VDENC was supported >= ICE LAKE

use option "-low_power 1" to enable VDENC.

Signed-off-by: Linjie Fu <linjie.fu@intel.com>
libavcodec/qsvenc.c
libavcodec/qsvenc.h
libavcodec/qsvenc_h264.c
libavcodec/qsvenc_hevc.c