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
+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.
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
> +++
>
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(+)
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(+)