[FFmpeg-devel] [PATCH 2/2] lavc: vdpau: add support for new hw_frames_ctx and hw_device_ctx API

wm4 nfxjfg at googlemail.com
Thu Mar 23 10:40:19 EET 2017


On Wed, 22 Mar 2017 19:48:00 +0000
Mark Thompson <sw at jkqxz.net> wrote:

> On 22/03/17 06:47, wm4 wrote:
> > This supports retrieving the device from a provided hw_frames_ctx, and
> > automatically creating a hw_frames_ctx if hw_device_ctx is set.
> > 
> > The old API is not deprecated yet. The user can still use
> > av_vdpau_bind_context() (with or without setting hw_frames_ctx), or use
> > the API before that by allocating and setting hwaccel_context manually.
> > 
> > (Adds missing APIchanges entry to the Libav version.)
> > ---
> > Libav merge.
> > ---
> >  doc/APIchanges              |  5 +++
> >  libavcodec/vdpau.c          | 95 +++++++++++++++++++++++++++++++++------------
> >  libavcodec/vdpau_internal.h |  2 +
> >  libavcodec/version.h        |  2 +-
> >  4 files changed, 78 insertions(+), 26 deletions(-)  
> 
> Tested both new modes with Mesa / AMD, all working as expected.  Set LGTM.
> 

Pushed those 2 patches. Thanks for testing/review.


More information about the ffmpeg-devel mailing list