Re: [FFmpeg-devel] [PATCH v3 1/5] libavutil: some VAAPI infrastructure

2016-01-19 Thread wm4
On Tue, 19 Jan 2016 13:19:36 + Mark Thompson wrote: > ... > >> + > >> +static void vaapi_codec_release_surface(void *opaque, uint8_t *data) > >> +{ > >> +AVVAAPISurface *surface = opaque; > >> + > >> +av_assert0(surface->refcount > 0); > >> +--surface->refcount; > >> +} > > > >

Re: [FFmpeg-devel] [PATCH v3 1/5] libavutil: some VAAPI infrastructure

2016-01-19 Thread Mark Thompson
On 19/01/16 11:54, wm4 wrote: > On Mon, 18 Jan 2016 22:49:51 + > Mark Thompson wrote: > >> --- >> configure | 4 + >> libavutil/Makefile | 1 + >> libavutil/vaapi.c | 497 >> + >> libavutil/vaapi.h | 123 + >> 4

Re: [FFmpeg-devel] [PATCH v3 1/5] libavutil: some VAAPI infrastructure

2016-01-19 Thread wm4
On Mon, 18 Jan 2016 22:49:51 + Mark Thompson wrote: > --- > configure | 4 + > libavutil/Makefile | 1 + > libavutil/vaapi.c | 497 > + > libavutil/vaapi.h | 123 + > 4 files changed, 625 insertions(+) > create

Re: [FFmpeg-devel] [PATCH v3 1/5] libavutil: some VAAPI infrastructure

2016-01-18 Thread Mark Thompson
On 19/01/16 00:18, Michael Niedermayer wrote: > On Mon, Jan 18, 2016 at 10:49:51PM +, Mark Thompson wrote: >> >> --- >> configure | 4 + >> libavutil/Makefile | 1 + >> libavutil/vaapi.c | 497 >> + >> libavutil/vaapi.h | 123

Re: [FFmpeg-devel] [PATCH v3 1/5] libavutil: some VAAPI infrastructure

2016-01-18 Thread Michael Niedermayer
On Mon, Jan 18, 2016 at 10:49:51PM +, Mark Thompson wrote: > > --- > configure | 4 + > libavutil/Makefile | 1 + > libavutil/vaapi.c | 497 > + > libavutil/vaapi.h | 123 + > 4 files changed, 625 insertions(+) >

[FFmpeg-devel] [PATCH v3 1/5] libavutil: some VAAPI infrastructure

2016-01-18 Thread Mark Thompson
--- configure | 4 + libavutil/Makefile | 1 + libavutil/vaapi.c | 497 + libavutil/vaapi.h | 123 + 4 files changed, 625 insertions(+) create mode 100644 libavutil/vaapi.c create mode 100644 libavutil/vaapi.h diff