Searched refs:pixelIndex (Results 1 - 2 of 2) sorted by relevance

/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
H A DTexturePixel.java91 * @param pixelIndex
94 public void fromImage(Format imageFormat, ByteBuffer data, int pixelIndex) { argument
99 firstByteIndex = pixelIndex << 2;
110 firstByteIndex = pixelIndex << 2;
121 firstByteIndex = pixelIndex * 3;
131 firstByteIndex = pixelIndex * 3;
141 pixelValue = data.get(pixelIndex);
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/filters/
H A DFEConvolveMatrix.cpp368 int pixelIndex = getPixelValue(paintingData, kernelPixelX, kernelPixelY); local
369 if (pixelIndex >= 0) {
370 totals[0] += m_kernelMatrix[kernelValue] * static_cast<float>(paintingData.srcPixelArray->item(pixelIndex));
371 totals[1] += m_kernelMatrix[kernelValue] * static_cast<float>(paintingData.srcPixelArray->item(pixelIndex + 1));
372 totals[2] += m_kernelMatrix[kernelValue] * static_cast<float>(paintingData.srcPixelArray->item(pixelIndex + 2));
374 if (!preserveAlphaValues && pixelIndex >= 0)
375 totals[3] += m_kernelMatrix[kernelValue] * static_cast<float>(paintingData.srcPixelArray->item(pixelIndex + 3));

Completed in 84 milliseconds