summaryrefslogtreecommitdiff
path: root/AutoVideosLiveBlackWhite.cl
blob: 238b0288cba6c6a65ab263445a9fd685c479f586 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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;
	
}