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
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
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
>>
---
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