Home
last modified time | relevance | path

Searched refs:pixelByteOffset (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
DFEColorMatrix.cpp119 for (unsigned pixelByteOffset = 0; pixelByteOffset < pixelArrayLength; pixelByteOffset += 4) { in effectType() local
120 float red = pixelArray->item(pixelByteOffset); in effectType()
121 float green = pixelArray->item(pixelByteOffset + 1); in effectType()
122 float blue = pixelArray->item(pixelByteOffset + 2); in effectType()
123 float alpha = pixelArray->item(pixelByteOffset + 3); in effectType()
138 pixelArray->set(pixelByteOffset, red); in effectType()
139 pixelArray->set(pixelByteOffset + 1, green); in effectType()
140 pixelArray->set(pixelByteOffset + 2, blue); in effectType()
141 pixelArray->set(pixelByteOffset + 3, alpha); in effectType()
DFEGaussianBlur.cpp97 int pixelByteOffset = line + x * stride + channel; in boxBlur() local
98 dstPixelArray->set(pixelByteOffset, static_cast<unsigned char>(sum / dx)); in boxBlur()
100 sum -= srcPixelArray->item(pixelByteOffset - dxLeft * stride); in boxBlur()
102 sum += srcPixelArray->item(pixelByteOffset + dxRight * stride); in boxBlur()