Re: [FFmpeg-devel] [PATCH] ffmpeg: add ffmpeg_d3d11va

2016-12-14 Thread compn
On Wed, 14 Dec 2016 11:44:13 +0100 wm4 wrote: > On Wed, 14 Dec 2016 09:30:35 + > Stève Lhomme wrote: > > > On Tue, Dec 13, 2016 at 2:35 PM, wm4 wrote: > > > On Tue, 13 Dec 2016 14:19:35 +0100 > > > Steve Lhomme wrote: > > > > > > > I'm pretty much against this, since it duplicates the pr

Re: [FFmpeg-devel] [PATCH] ffmpeg: add ffmpeg_d3d11va

2016-12-14 Thread wm4
On Tue, 13 Dec 2016 14:19:35 +0100 Steve Lhomme wrote: > +static int d3d11va_transfer_data(AVHWFramesContext *ctx, AVFrame *dst, > + const AVFrame *src) > +{ > +ID3D11VideoDecoderOutputView *surface; > +D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESCsurfaceDesc;

Re: [FFmpeg-devel] [PATCH] ffmpeg: add ffmpeg_d3d11va

2016-12-14 Thread wm4
On Wed, 14 Dec 2016 09:30:35 + Stève Lhomme wrote: > On Tue, Dec 13, 2016 at 2:35 PM, wm4 wrote: > > On Tue, 13 Dec 2016 14:19:35 +0100 > > Steve Lhomme wrote: > > > > I'm pretty much against this, since it duplicates the profile selection > > code all over again, even if it could be share

Re: [FFmpeg-devel] [PATCH] ffmpeg: add ffmpeg_d3d11va

2016-12-14 Thread Hendrik Leppkes
On Wed, Dec 14, 2016 at 10:30 AM, Stève Lhomme wrote: >> >> I'm pretty much against this, since it duplicates the profile selection >> code all over again, even if it could be shared. (And this code should >> be in libavcodec in the first place.) Someone adding such code would >> have to refactor

Re: [FFmpeg-devel] [PATCH] ffmpeg: add ffmpeg_d3d11va

2016-12-14 Thread Stève Lhomme
On Tue, Dec 13, 2016 at 2:35 PM, wm4 wrote: > On Tue, 13 Dec 2016 14:19:35 +0100 > Steve Lhomme wrote: > >> From: Steve Lhomme >> >> The code is similar to ffmpeg_dxva2. The decoded output needs to be copied >> into >> a staging texture that can be accessed by the CPU as the decoder texture >>

Re: [FFmpeg-devel] [PATCH] ffmpeg: add ffmpeg_d3d11va

2016-12-13 Thread wm4
On Tue, 13 Dec 2016 14:19:35 +0100 Steve Lhomme wrote: > From: Steve Lhomme > > The code is similar to ffmpeg_dxva2. The decoded output needs to be copied > into > a staging texture that can be accessed by the CPU as the decoder texture can't > be accessed by the CPU. > --- > Makefile

[FFmpeg-devel] [PATCH] ffmpeg: add ffmpeg_d3d11va

2016-12-13 Thread Steve Lhomme
From: Steve Lhomme The code is similar to ffmpeg_dxva2. The decoded output needs to be copied into a staging texture that can be accessed by the CPU as the decoder texture can't be accessed by the CPU. --- Makefile | 1 + configure | 14 ++ ffmpeg.h

[FFmpeg-devel] [PATCH] ffmpeg: add ffmpeg_d3d11va

2016-12-13 Thread Steve Lhomme
From: Steve Lhomme The code is similar to ffmpeg_dxva2. The decoded output needs to be copied into a staging texture that can be accessed by the CPU as the decoder texture can't be accessed by the CPU. --- Makefile | 1 + configure | 14 ++ ffmpeg.h