Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
DFEColorMatrix.cpp109 void effectType(Uint8ClampedArray* pixelArray, const Vector<float>& values) in effectType() argument
111 unsigned pixelArrayLength = pixelArray->length(); in effectType()
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()
[all …]
DFEComponentTransfer.cpp157 Uint8ClampedArray* pixelArray = createUnmultipliedImageResult(); in applySoftware() local
158 if (!pixelArray) in applySoftware()
166 in->copyUnmultipliedImage(pixelArray, drawingRect); in applySoftware()
168 unsigned pixelArrayLength = pixelArray->length(); in applySoftware()
171 unsigned char c = pixelArray->item(pixelOffset + channel); in applySoftware()
172 pixelArray->set(pixelOffset + channel, tables[channel][c]); in applySoftware()
DFETurbulence.cpp330 inline void FETurbulence::fillRegion(Uint8ClampedArray* pixelArray, PaintingData& paintingData, int… in fillRegion() argument
344pixelArray->set(indexOfPixelChannel, calculateTurbulenceValueForPoint(channel, paintingData, stitc… in fillRegion()
351 …parameters->filter->fillRegion(parameters->pixelArray, *parameters->paintingData, parameters->star… in fillRegionWorker()
356 Uint8ClampedArray* pixelArray = createUnmultipliedImageResult(); in applySoftware() local
357 if (!pixelArray) in applySoftware()
361 pixelArray->zeroFill(); in applySoftware()
387 params.pixelArray = pixelArray; in applySoftware()
403 …fillRegion(pixelArray, paintingData, 0, absolutePaintRect().height(), baseFrequencyX, baseFrequenc… in applySoftware()
DFETurbulence.h108 Uint8ClampedArray* pixelArray; member
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
DV8ImageDataCustom.cpp44 v8::Handle<v8::Value> pixelArray = toV8(impl->data(), creationContext, isolate); in wrap() local
48 if (!pixelArray.IsEmpty()) in wrap()
49 wrapper->Set(v8AtomicString(isolate, "data"), pixelArray, v8::ReadOnly); in wrap()
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
DShape.cpp227 …RefPtr<Uint8ClampedArray> pixelArray = imageBuffer->getUnmultipliedImageData(IntRect(IntPoint(), i… in createShape() local
228 unsigned pixelArrayLength = pixelArray->length(); in createShape()
237 uint8_t alpha = pixelArray->item(pixelArrayOffset); in createShape()
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
DSerializedScriptValue.cpp1104 Uint8ClampedArray* pixelArray = imageData->data(); in writeImageData() local
1105 …iter.writeImageData(imageData->width(), imageData->height(), pixelArray->data(), pixelArray->lengt… in writeImageData()
1710 Uint8ClampedArray* pixelArray = imageData->data(); in readImageData() local
1711 ASSERT(pixelArray); in readImageData()
1712 ASSERT(pixelArray->length() >= pixelDataLength); in readImageData()
1713 memcpy(pixelArray->data(), m_buffer + m_position, pixelDataLength); in readImageData()