Re: [FFmpeg-devel] [PATCH v3 2/5] ffmpeg: initialisation code for VAAPI, hwaccel helper

2016-01-19 Thread wm4
On Mon, 18 Jan 2016 22:50:50 + Mark Thompson wrote: > --- > Makefile | 1 + > ffmpeg.c | 5 + > ffmpeg.h | 5 + > ffmpeg_opt.c | 14 ++ > ffmpeg_vaapi.c | 622 > + > 5 files changed, 647

Re: [FFmpeg-devel] [PATCH v3 2/5] ffmpeg: initialisation code for VAAPI, hwaccel helper

2016-01-19 Thread wm4
On Tue, 19 Jan 2016 13:54:25 + Mark Thompson wrote: > >> +surface = (AVVAAPISurface*)input_frame->buf[0]->data; > > > > I haven't paid attention to this before. Shouldn't this be a vaapi > > surface ID according to how libavcodec works? > > data[3] is the VAAPI

Re: [FFmpeg-devel] [PATCH v3 2/5] ffmpeg: initialisation code for VAAPI, hwaccel helper

2016-01-19 Thread Mark Thompson
On 19/01/16 12:16, wm4 wrote: > On Mon, 18 Jan 2016 22:50:50 + > Mark Thompson wrote: > >> --- >> Makefile | 1 + >> ffmpeg.c | 5 + >> ffmpeg.h | 5 + >> ffmpeg_opt.c | 14 ++ >> ffmpeg_vaapi.c | 622 >>

[FFmpeg-devel] [PATCH v3 2/5] ffmpeg: initialisation code for VAAPI, hwaccel helper

2016-01-18 Thread Mark Thompson
--- Makefile | 1 + ffmpeg.c | 5 + ffmpeg.h | 5 + ffmpeg_opt.c | 14 ++ ffmpeg_vaapi.c | 622 + 5 files changed, 647 insertions(+) create mode 100644 ffmpeg_vaapi.c diff --git a/Makefile b/Makefile index