Searched refs:pixelByteOffset (Results 1 – 2 of 2) sorted by relevance
119 for (unsigned pixelByteOffset = 0; pixelByteOffset < pixelArrayLength; pixelByteOffset += 4) { in effectType() local120 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()
97 int pixelByteOffset = line + x * stride + channel; in boxBlur() local98 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()