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

Fu, Linjie linjie.fu at intel.com
Mon Nov 5 03:28:02 CET 2018


> -----Original Message-----
> From: libav-devel [mailto:libav-devel-bounces at libav.org] On Behalf Of Luca
> Barbato
> Sent: Sunday, November 4, 2018 02:13
> To: libav-devel at libav.org
> Subject: Re: [libav-devel] [PATCH] avcodec/qsvenc: add VDENC support for
> H264 and HEVC
> 
> 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
> 
> _______________________________________________
> libav-devel mailing list
> libav-devel at libav.org
> https://lists.libav.org/mailman/listinfo/libav-devel

Modified according to Zhong's comments, see [V2].


More information about the libav-devel mailing list