Re: [FFmpeg-devel] [PATCH] dxva2: add AV1 decode support

2020-11-06 Thread Hendrik Leppkes
On Fri, Nov 6, 2020 at 2:29 AM Mark Thompson wrote: > > On 05/11/2020 15:53, Hendrik Leppkes wrote: > > --- > > Changelog | 1 + > > configure | 7 + > > libavcodec/Makefile| 2 + > > libavcodec/av1dec.c| 25 +- > > libavcodec/dxva2.c | 10 +- > >

Re: [FFmpeg-devel] [PATCH] dxva2: add AV1 decode support

2020-11-05 Thread Mark Thompson
On 05/11/2020 15:53, Hendrik Leppkes wrote: --- Changelog | 1 + configure | 7 + libavcodec/Makefile| 2 + libavcodec/av1dec.c| 25 +- libavcodec/dxva2.c | 10 +- libavcodec/dxva2_av1.c | 504 + libavco

Re: [FFmpeg-devel] [PATCH] dxva2: add AV1 decode support

2020-11-05 Thread Hendrik Leppkes
On Thu, Nov 5, 2020 at 7:12 PM James Almer wrote: > > > > That depends on the behavior of av1dec. Are all tile groups guaranteed > > to be available at the same time, so that I can simply save pointers > > to them, and copy them into the final buffer later? > > Not currently, in theory, but can be

Re: [FFmpeg-devel] [PATCH] dxva2: add AV1 decode support

2020-11-05 Thread James Almer
On 11/5/2020 1:55 PM, Hendrik Leppkes wrote: On Thu, Nov 5, 2020 at 5:45 PM James Almer wrote: +pp->coding.reference_frame_update = !(frame_header->show_existing_frame == 1 && frame_header->frame_type == AV1_FRAME_KEY); hwaccel->start_frame() is not called for frame_header->show_ex

Re: [FFmpeg-devel] [PATCH] dxva2: add AV1 decode support

2020-11-05 Thread Hendrik Leppkes
On Thu, Nov 5, 2020 at 5:45 PM James Almer wrote: > > +pp->coding.reference_frame_update = > > !(frame_header->show_existing_frame == 1 && frame_header->frame_type == > > AV1_FRAME_KEY); > > hwaccel->start_frame() is not called for > frame_header->show_existing_frame == 1 frames (Those

Re: [FFmpeg-devel] [PATCH] dxva2: add AV1 decode support

2020-11-05 Thread James Almer
On 11/5/2020 12:53 PM, Hendrik Leppkes wrote: --- Changelog | 1 + configure | 7 + libavcodec/Makefile| 2 + libavcodec/av1dec.c| 25 +- libavcodec/dxva2.c | 10 +- libavcodec/dxva2_av1.c | 504 + libav

Re: [FFmpeg-devel] [PATCH] dxva2: add AV1 decode support

2020-11-05 Thread Hendrik Leppkes
On Thu, Nov 5, 2020 at 4:54 PM Hendrik Leppkes wrote: > > --- > Changelog | 1 + > configure | 7 + > libavcodec/Makefile| 2 + > libavcodec/av1dec.c| 25 +- > libavcodec/dxva2.c | 10 +- > libavcodec/dxva2_av1.c | 504

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

2020-11-05 Thread Hendrik Leppkes
--- 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