Searched refs:pixelByteOffset (Results 1 – 2 of 2) sorted by relevance
131 for (unsigned pixelByteOffset = 0; pixelByteOffset < pixelArrayLength; pixelByteOffset += 4) { in effectType() local132 double red = pixelArray->get(pixelByteOffset); in effectType()133 double green = pixelArray->get(pixelByteOffset + 1); in effectType()134 double blue = pixelArray->get(pixelByteOffset + 2); in effectType()135 double alpha = pixelArray->get(pixelByteOffset + 3); in effectType()152 pixelArray->set(pixelByteOffset, red); in effectType()153 pixelArray->set(pixelByteOffset + 1, green); in effectType()154 pixelArray->set(pixelByteOffset + 2, blue); in effectType()155 pixelArray->set(pixelByteOffset + 3, alpha); in effectType()
91 int pixelByteOffset = line + x * stride + channel; in boxBlur() local92 dstPixelArray->set(pixelByteOffset, static_cast<unsigned char>(sum / dx)); in boxBlur()94 sum -= srcPixelArray->get(pixelByteOffset - dxLeft * stride); in boxBlur()96 sum += srcPixelArray->get(pixelByteOffset + dxRight * stride); in boxBlur()