2018-03-16 8:33 GMT+01:00, dylanf...@gmail.com <dylanf...@gmail.com>:
> From: drfer3 <drf...@student.monash.edu>

> --- /dev/null
> +++ b/libavfilter/opencl/avgblur.cl
> @@ -0,0 +1,60 @@
> +/*
> + * This file is part of FFmpeg.

Please add your name.

> +    for (int xx = max(0,loc.x-rad); xx < min(loc.x+rad+1,size.x); xx++)
> +    {
> +        count++;
> +        acc += read_imagef(src, sampler, (int2)(xx, loc.y));
> +    }

Usual style is:
for ( ; ; ) {
  ...
}
which is also what you use for if().

Thank you, Carl Eugen
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to