Home
last modified time | relevance | path

Searched refs:pixelData (Results 1 – 9 of 9) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/win/
DGraphicsContextCairoWin.cpp96 …aphicsContextPlatformPrivate* context, cairo_t* cr, const DIBPixelData& pixelData, const IntSize& … in drawBitmapToContext() argument
100 cairo_surface_t* surface = cairo_image_surface_create_for_data(pixelData.buffer(), in drawBitmapToContext()
102 pixelData.size().width(), in drawBitmapToContext()
103 pixelData.size().height(), in drawBitmapToContext()
104 pixelData.bytesPerRow()); in drawBitmapToContext()
136 DIBPixelData pixelData(bitmap.get()); in releaseWindowsContext() local
137 ASSERT(pixelData.bitsPerPixel() == 32); in releaseWindowsContext()
142 unsigned char* bytes = reinterpret_cast<unsigned char*>(pixelData.buffer()); in releaseWindowsContext()
144 setRGBABitmapAlpha(bytes, pixelData.size().height() * pixelData.bytesPerRow(), 255); in releaseWindowsContext()
146 …drawBitmapToContext(m_data, platformContext()->cr(), pixelData, IntSize(dstRect.x(), dstRect.heigh… in releaseWindowsContext()
DGraphicsContextCGWin.cpp44 DIBPixelData pixelData(bitmap); in CGContextWithHDC() local
52 if (pixelData.bitsPerPixel() != 32) in CGContextWithHDC()
56 …CGContextRef context = CGBitmapContextCreate(pixelData.buffer(), pixelData.size().width(), pixelDa… in CGContextWithHDC()
57pixelData.bytesPerRow(), deviceRGBColorSpaceRef(), bitmapInfo); in CGContextWithHDC()
60 CGContextTranslateCTM(context, 0, pixelData.size().height()); in CGContextWithHDC()
103 DIBPixelData pixelData(bitmap.get()); in releaseWindowsContext() local
105 ASSERT(pixelData.bitsPerPixel() == 32); in releaseWindowsContext()
107 …ContextRef bitmapContext = CGBitmapContextCreate(pixelData.buffer(), pixelData.size().width(), pix… in releaseWindowsContext()
108pixelData.bytesPerRow(), deviceRGBColorSpaceRef(), kCGBitmapByteOrder32Little | in releaseWindowsContext()
/external/webkit/Tools/DumpRenderTree/cairo/
DPixelDumpSupportCairo.cpp54 Vector<unsigned char> pixelData; in printPNG() local
56 cairo_surface_write_to_png_stream(image, writeFunction, &pixelData); in printPNG()
58 const size_t dataLength = pixelData.size(); in printPNG()
59 const unsigned char* data = pixelData.data(); in printPNG()
/external/webkit/Source/WebCore/platform/image-decoders/openvg/
DImageDecoderOpenVG.cpp62 PixelData* pixelData = const_cast<PixelData*>(m_bytes); in asNewNativeImage() local
63 pixelData += (tileRect.y() * width()) + tileRect.x(); in asNewNativeImage()
65 vgImageSubData(image, reinterpret_cast<unsigned char*>(pixelData), in asNewNativeImage()
/external/skia/src/image/
DSkImage_Raster.cpp132 SkImage* SkImage::NewRasterData(const SkImage::Info& info, SkData* pixelData, size_t rowBytes) { in NewRasterData() argument
140 if (NULL == pixelData) { in NewRasterData()
146 if (pixelData->size() < size) { in NewRasterData()
150 SkAutoDataUnref data(pixelData); in NewRasterData()
/external/webkit/Source/WebCore/platform/graphics/cg/
DGraphicsContext3DCG.cpp238 RetainPtr<CFDataRef> pixelData; in getImageData() local
239 pixelData.adoptCF(CGDataProviderCopyData(CGImageGetDataProvider(cgImage))); in getImageData()
240 if (!pixelData) in getImageData()
242 const UInt8* rgba = CFDataGetBytePtr(pixelData.get()); in getImageData()
/external/webkit/Source/WebCore/platform/image-decoders/bmp/
DBMPImageReader.cpp667 uint8_t pixelData = m_data->data()[m_decodedOffset + byte]; in processNonRLEData() local
669 const size_t colorIndex = (pixelData >> (8 - m_infoHeader.biBitCount)) & mask; in processNonRLEData()
686 pixelData <<= m_infoHeader.biBitCount; in processNonRLEData()
/external/skia/src/utils/mac/
DSkCreateCGImageRef.cpp12 static void SkBitmap_ReleaseInfo(void* info, const void* pixelData, size_t size) { in SkBitmap_ReleaseInfo() argument
/external/webkit/Source/WebCore/bindings/v8/
DSerializedScriptValue.cpp214 …void writeImageData(uint32_t width, uint32_t height, const uint8_t* pixelData, uint32_t pixelDataL… in writeImageData() argument
220 append(pixelData, pixelDataLength); in writeImageData()