• Home
  • Raw
  • Download

Lines Matching refs:imageWidth

1246     const unsigned int imageWidth, const unsigned int imageHeight,
1285 imagePixelIndex.x = ClampToCanvas(imagePixelIndex.x, imageWidth);
1288 pixelLocalCache[i] = input[imagePixelIndex.y * imageWidth + imagePixelIndex.x];
1303 if (imageIndex.x >= imageWidth
1360 …channel & AlphaChannel)!=0)?ClampToQuantum(sum.w):input[imageIndex.y * imageWidth + imageIndex.x].…
1362 output[imageIndex.y * imageWidth + imageIndex.x] = outputPixel;
1369 const uint imageWidth, const uint imageHeight,
1381 if (imageIndex.x >= imageWidth
1399 inputPixelIndex.x = ClampToCanvas(inputPixelIndex.x, imageWidth);
1401 CLPixelType p = input[inputPixelIndex.y * imageWidth + inputPixelIndex.x];
1423 inputPixelIndex.x = ClampToCanvas(inputPixelIndex.x, imageWidth);
1425 CLPixelType p = input[inputPixelIndex.y * imageWidth + inputPixelIndex.x];
1449 …channel & AlphaChannel)!=0)?ClampToQuantum(sum.w):input[imageIndex.y * imageWidth + imageIndex.x].…
1451 output[imageIndex.y * imageWidth + imageIndex.x] = outputPixel;
1470 , const unsigned int imageWidth, const unsigned int imageHeight
1476 CLPixelType v = inputImage[y*imageWidth+x];
1483 clampedNeighbor.x = ClampToCanvas(neighbor.x, imageWidth);
1487 … && clampedNeighbor.y == neighbor.y)?inputImage[clampedNeighbor.y*imageWidth+clampedNeighbor.x]
1523 outputImage[y*imageWidth+x] = v;
1533 , const unsigned int imageWidth, const unsigned int imageHeight
1539 CLPixelType v = inputImage[y*imageWidth+x];
1545 clampedNeighbor.x = ClampToCanvas(neighbor.x, imageWidth);
1549 && clampedNeighbor.y == neighbor.y)?inputImage[clampedNeighbor.y*imageWidth+clampedNeighbor.x]
1555 clampedNeighbor.x = ClampToCanvas(neighbor.x, imageWidth);
1559 && clampedNeighbor.y == neighbor.y)?inputImage[clampedNeighbor.y*imageWidth+clampedNeighbor.x]
1608 outputImage[y*imageWidth+x] = v;
1846 const int imageWidth,
1854 global CLPixelType *src = srcImage + y * imageWidth;
1856 for (int i = x; i < imageWidth; i += get_local_size(0)) {
1875 … sum += (weight - k) * dot(RGB, convert_float4(src[mirrorTop(j + k, imageWidth)]));
1880 sum += weight * dot(RGB, convert_float4(src[mirrorTop(j, imageWidth)]));
1885 tmpImage[i + y * imageWidth] = sum / ((radius + 1) * (radius + 1));
1894 const int imageWidth,
1902 if ((x >= imageWidth) || (y >= imageHeight))
1913 sum += (weight + k) * src[mirrorBottom(j+k) * imageWidth];
1918 sum += weight * src[mirrorBottom(j) * imageWidth];
1925 sum += (weight - k) * src[mirrorTop(j + k, imageHeight) * imageWidth];
1930 sum += weight * src[mirrorTop(j, imageHeight) * imageWidth];
1935 CLPixelType pixel = srcImage[x + y * imageWidth];
1944 dstImage[x + y * imageWidth] = pixel;
2167 const unsigned int imageWidth, const unsigned int imageHeight,
2176 if (currentPixel.x >= imageWidth
2192 samplePixel.x = ClampToCanvas(samplePixel.x, imageWidth);
2194 CLPixelType samplePixelValue = input[ samplePixel.y * imageWidth + samplePixel.x];
2207 output[currentPixel.y * imageWidth + currentPixel.x] = outputPixel;
2216 samplePixel.x = ClampToCanvas(samplePixel.x, imageWidth);
2219 CLPixelType samplePixelValue = input[ samplePixel.y * imageWidth + samplePixel.x];
2239 output[currentPixel.y * imageWidth + currentPixel.x] = outputPixel;
3013 const float threshold,const int passes,const unsigned int imageWidth,
3029 int pos = (mirrorTop(mirrorBottom(srcx), imageWidth) * number_channels) +
3030 (mirrorTop(mirrorBottom(srcy + i), imageHeight)) * imageWidth * number_channels;
3098 …_local_id(0) >= pad) && (get_local_id(0) < tileSize - pad) && (srcx >= 0) && (srcx < imageWidth)) {
3101 int pos = (srcx * number_channels) + ((srcy + i) * (imageWidth * number_channels));