Lines Matching refs:inPtr
27 // int inPtr = (y * width + x);
29 // int pixel = cpuArray[inPtr];
30 // cpuArray[inPtr] = cpuArray[outPtr];
53 int inPtr = (y * width + x) * 4;
56 byte b1 = cpuArray[inPtr+0];
57 byte g1 = cpuArray[inPtr+1];
58 byte r1 = cpuArray[inPtr+2];
59 byte a1 = cpuArray[inPtr+3];
71 cpuArray[inPtr+0] = a2;
72 cpuArray[inPtr+1] = b2;
73 cpuArray[inPtr+2] = g2;
74 cpuArray[inPtr+3] = r2;