[FFmpeg-devel] [PATCH v2] avcodec/dxva2: add AV1 decode support

Hendrik Leppkes h.leppkes at gmail.com
Fri Nov 6 15:53:06 EET 2020


On Fri, Nov 6, 2020 at 11:42 AM Hendrik Leppkes <h.leppkes at gmail.com> wrote:
>
> On Fri, Nov 6, 2020 at 11:39 AM Hendrik Leppkes <h.leppkes at gmail.com> wrote:
> >
> > ---
> >  Changelog              |   1 +
> >  configure              |   7 +
> >  libavcodec/Makefile    |   2 +
> >  libavcodec/av1dec.c    |  25 +-
> >  libavcodec/dxva2.c     |  10 +-
> >  libavcodec/dxva2_av1.c | 504 +++++++++++++++++++++++++++++++++++++++++
> >  libavcodec/hwaccels.h  |   3 +
> >  libavcodec/version.h   |   2 +-
> >  8 files changed, 550 insertions(+), 4 deletions(-)
> >  create mode 100644 libavcodec/dxva2_av1.c
> >
>
> From v1:
> - Updated the comment for Status Reporting to include a driver version
> and a bit more descriptive text
> - Hardcoded the reference_frame_update to 1, with a comment of its meaning
> - Minor cosmetics
>
> Additionally, an Intel contact has offered to test this, and hopefully
> I'll get feedback back from that soon.
>

I got feedback, and decoding in general works fine, only filmgrain is
missing - which NVIDIA applies magically in the background right now.
The filmgrain implementation is separate from any of the code added
here, so I'll work on that when possible.

- Hendrik


More information about the ffmpeg-devel mailing list