diff options
Diffstat (limited to 'AutoVideosLiveBlackWhite.cl')
-rw-r--r-- | AutoVideosLiveBlackWhite.cl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/AutoVideosLiveBlackWhite.cl b/AutoVideosLiveBlackWhite.cl new file mode 100644 index 0000000..238b028 --- /dev/null +++ b/AutoVideosLiveBlackWhite.cl @@ -0,0 +1,16 @@ + +__kernel void AutoFrame(__global float *output) +{ + unsigned int id = get_global_id(0); + int width = <WIDTH>; + + int xInt = (id/3) % width; + int yInt = (id/3) / width; + float t = <FRAMENUMBER>; + + float x = (float)xInt; + float y = (float)yInt; + + output[id] = function; + +} |