Re: [libav-devel] [PATCH 2/6] lavf: generic hardware surface upload and download

2016-02-29 Thread Anton Khirnov
Quoting Mark Thompson (2016-02-28 23:13:37) > On 28/02/16 21:19, Anton Khirnov wrote: > > Quoting Anton Khirnov (2016-02-28 14:20:25) > >> Quoting Mark Thompson (2016-02-27 19:15:34) > >>> On 27/02/16 09:11, Anton Khirnov wrote: > Quoting Mark Thompson (2016-02-26 00:48:11) > > +static int

Re: [libav-devel] [PATCH 2/6] lavf: generic hardware surface upload and download

2016-02-28 Thread Mark Thompson
On 28/02/16 21:19, Anton Khirnov wrote: > Quoting Anton Khirnov (2016-02-28 14:20:25) >> Quoting Mark Thompson (2016-02-27 19:15:34) >>> On 27/02/16 09:11, Anton Khirnov wrote: Quoting Mark Thompson (2016-02-26 00:48:11) > +static int hwdownload_config_input(AVFilterLink *inlink) > +{

Re: [libav-devel] [PATCH 2/6] lavf: generic hardware surface upload and download

2016-02-28 Thread Anton Khirnov
Quoting Anton Khirnov (2016-02-28 14:20:25) > Quoting Mark Thompson (2016-02-27 19:15:34) > > On 27/02/16 09:11, Anton Khirnov wrote: > > > Quoting Mark Thompson (2016-02-26 00:48:11) > > >> +static int hwdownload_query_formats(AVFilterContext *avctx) > > >> +{ > > >> +if (avctx->inputs[0]) { >

Re: [libav-devel] [PATCH 2/6] lavf: generic hardware surface upload and download

2016-02-28 Thread Anton Khirnov
Quoting Mark Thompson (2016-02-27 19:15:34) > On 27/02/16 09:11, Anton Khirnov wrote: > > Quoting Mark Thompson (2016-02-26 00:48:11) > >> +static int hwdownload_query_formats(AVFilterContext *avctx) > >> +{ > >> +if (avctx->inputs[0]) { > >> +ff_formats_ref(ff_all_formats(AVMEDIA_TYPE_

Re: [libav-devel] [PATCH 2/6] lavf: generic hardware surface upload and download

2016-02-27 Thread Mark Thompson
On 27/02/16 09:11, Anton Khirnov wrote: > Quoting Mark Thompson (2016-02-26 00:48:11) >> --- >> libavfilter/Makefile| 2 + >> libavfilter/allfilters.c| 2 + >> libavfilter/avfilter.c | 1 + >> libavfilter/avfilter.h | 9 ++ >> libavfilter/vf_hwdownload.c | 178 +++

Re: [libav-devel] [PATCH 2/6] lavf: generic hardware surface upload and download

2016-02-27 Thread Anton Khirnov
Quoting Mark Thompson (2016-02-26 00:48:11) > --- > libavfilter/Makefile| 2 + > libavfilter/allfilters.c| 2 + > libavfilter/avfilter.c | 1 + > libavfilter/avfilter.h | 9 ++ > libavfilter/vf_hwdownload.c | 178 ++ > libavfilter/vf_hw

[libav-devel] [PATCH 2/6] lavf: generic hardware surface upload and download

2016-02-25 Thread Mark Thompson
--- libavfilter/Makefile| 2 + libavfilter/allfilters.c| 2 + libavfilter/avfilter.c | 1 + libavfilter/avfilter.h | 9 ++ libavfilter/vf_hwdownload.c | 178 ++ libavfilter/vf_hwupload.c | 227 +