Home
last modified time | relevance | path

Searched refs:pixelArray (Results 1 – 6 of 6) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/filters/
DFEColorMatrix.cpp128 void effectType(ByteArray* pixelArray, const Vector<float>& values) in effectType() argument
130 unsigned pixelArrayLength = pixelArray->length(); in effectType()
132 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()
[all …]
DFEComponentTransfer.cpp161 ByteArray* pixelArray = createUnmultipliedImageResult(); in apply() local
162 if (!pixelArray) in apply()
176 in->copyUnmultipliedImage(pixelArray, drawingRect); in apply()
178 unsigned pixelArrayLength = pixelArray->length(); in apply()
181 unsigned char c = pixelArray->get(pixelOffset + channel); in apply()
182 pixelArray->set(pixelOffset + channel, tables[channel][c]); in apply()
DFETurbulence.cpp345 ByteArray* pixelArray = createUnmultipliedImageResult(); in apply() local
346 if (!pixelArray) in apply()
365pixelArray->set(indexOfPixelChannel, calculateTurbulenceValueForPoint(paintingData, filter()->mapA… in apply()
/external/webkit/Source/WebCore/bindings/v8/custom/
DV8ImageDataCustom.cpp45 v8::Handle<v8::Value> pixelArray = toV8(impl->data()); in toV8() local
49 if (!pixelArray.IsEmpty()) { in toV8()
51 pixelArray, in toV8()
/external/webkit/Source/WebCore/bindings/v8/
DSerializedScriptValue.cpp656 WTF::ByteArray* pixelArray = imageData->data()->data(); in writeImageData() local
657 …iter.writeImageData(imageData->width(), imageData->height(), pixelArray->data(), pixelArray->lengt… in writeImageData()
926 WTF::ByteArray* pixelArray = imageData->data()->data(); in readImageData() local
927 ASSERT(pixelArray); in readImageData()
928 ASSERT(pixelArray->length() >= pixelDataLength); in readImageData()
929 memcpy(pixelArray->data(), m_buffer + m_position, pixelDataLength); in readImageData()
/external/webkit/Source/WebKit/chromium/src/
DWebViewImpl.cpp1048 RefPtr<ByteArray> pixelArray(ByteArray::create(rect.width() * rect.height() * 4)); in doPixelReadbackToCanvas() local
1049 if (imageBuffer.get() && pixelArray.get()) { in doPixelReadbackToCanvas()
1050 m_layerRenderer->getFramebufferPixels(pixelArray->data(), invertRect); in doPixelReadbackToCanvas()
1051 …imageBuffer->putPremultipliedImageData(pixelArray.get(), rect.size(), IntRect(IntPoint(), rect.siz… in doPixelReadbackToCanvas()