2018-03-16 8:33 GMT+01:00, [email protected] <[email protected]>:
> From: drfer3 <[email protected]>
> --- /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
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel