Lines Matching refs:index
313 int32 index = 0;
317 uint8 colorIndex = imageData[0][index];
324 index++;
336 int32 index = 0;
340 ptr[0] = imageData[0][index];
341 ptr[1] = imageData[0][index];
342 ptr[2] = imageData[0][index];
343 ptr[3] = isAlpha ? imageData[1][index] : 255;
346 index += depthBytes;
357 int32 index = 0;
361 ptr[0] = imageData[2][index];
362 ptr[1] = imageData[1][index];
363 ptr[2] = imageData[0][index];
364 ptr[3] = isAlpha ? imageData[3][index] : 255;
367 index += depthBytes;
377 int32 index = 0;
381 double c = 1.0 - imageData[0][index] / 255.0;
382 double m = 1.0 - imageData[1][index] / 255.0;
383 double y = 1.0 - imageData[2][index] / 255.0;
384 double k = 1.0 - imageData[3][index] / 255.0;
388 ptr[3] = isAlpha ? imageData[4][index] : 255;
391 index += depthBytes;
401 int32 index = 0;
405 double L = imageData[0][index] / 255.0 * 100.0;
406 double a = imageData[1][index] - 128.0;
407 double b = imageData[2][index] - 128.0;
443 ptr[3] = isAlpha ? imageData[3][index] : 255;
446 index += depthBytes;