[libav-devel] [PATCH] avcodec/qsvenc: add VDENC support for H264 and HEVC

Luca Barbato lu_zero at gentoo.org
Sat Nov 3 19:13:06 CET 2018


On 01/11/2018 07:45, Linjie Fu wrote:
> Add VDENC(lowpower mode) support for QSV h264 and HEVC
> with the limitation of MSDK API verion greater than 1.15.
> 
> 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 >=4.16)
> - HEVC VDENC was supported >= ICE LAKE
> 
> use option "-low_power 1" to enable VDENC.
> 
> Signed-off-by: Linjie Fu <linjie.fu at intel.com>
> ---
>   libavcodec/qsvenc.c      | 3 +++
>   libavcodec/qsvenc.h      | 1 +
>   libavcodec/qsvenc_h264.c | 3 +++
>   libavcodec/qsvenc_hevc.c | 3 +++
>   4 files changed, 10 insertions(+)
> 

Looks good, would be great if you could update the documentation about 
it since it seems to require some additional setup.

I'd merge it Monday if nobody is against it.

lu



More information about the libav-devel mailing list