Re: [FFmpeg-devel] [PATCH 3/3] avfilter/scale_cuda: add CUDA scale filter

2017-05-15 Thread Timo Rothenpieler
Am 14.05.2017 um 17:36 schrieb Timo Rothenpieler: >>> +AV_PIX_FMT_P016 >>> +}; >>> + >>> +#define DIV_UP(a, b) ( ((a) + (b) - 1) / (b) ) >> >>> +#define ALIGN_UP(a, b) ((a + b -1) & ~(b-1)) >> >> this is missing () to protect the arguments > > > Fixed locally, will push this evening or

Re: [FFmpeg-devel] [PATCH 3/3] avfilter/scale_cuda: add CUDA scale filter

2017-05-14 Thread Timo Rothenpieler
+AV_PIX_FMT_P016 +}; + +#define DIV_UP(a, b) ( ((a) + (b) - 1) / (b) ) +#define ALIGN_UP(a, b) ((a + b -1) & ~(b-1)) this is missing () to protect the arguments Fixed locally, will push this evening or tomorrow if no further comments show up.

Re: [FFmpeg-devel] [PATCH 3/3] avfilter/scale_cuda: add CUDA scale filter

2017-05-13 Thread Michael Niedermayer
On Fri, May 12, 2017 at 09:40:16PM +0200, Timo Rothenpieler wrote: > From: Yogender Gupta > > --- > libavfilter/Makefile | 1 + > libavfilter/allfilters.c | 1 + > libavfilter/vf_scale_cuda.c | 555 > +++ >

[FFmpeg-devel] [PATCH 3/3] avfilter/scale_cuda: add CUDA scale filter

2017-05-12 Thread Timo Rothenpieler
From: Yogender Gupta --- libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_scale_cuda.c | 555 +++ libavfilter/vf_scale_cuda.cu | 212 + 4 files changed, 769 insertions(+)

[FFmpeg-devel] [PATCH 3/3] avfilter/scale_cuda: add CUDA scale filter

2017-05-11 Thread Timo Rothenpieler
From: Yogender Gupta --- libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_scale_cuda.c | 555 +++ libavfilter/vf_scale_cuda.cu | 212 + 4 files changed, 769 insertions(+)