/external/webkit/Source/WebCore/platform/graphics/win/ |
D | GraphicsContextCairoWin.cpp | 96 …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()
|
D | GraphicsContextCGWin.cpp | 44 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() 57 … pixelData.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() 108 … pixelData.bytesPerRow(), deviceRGBColorSpaceRef(), kCGBitmapByteOrder32Little | in releaseWindowsContext()
|
/external/webkit/Tools/DumpRenderTree/cairo/ |
D | PixelDumpSupportCairo.cpp | 54 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/ |
D | ImageDecoderOpenVG.cpp | 62 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/ |
D | SkImage_Raster.cpp | 132 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/ |
D | GraphicsContext3DCG.cpp | 238 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/ |
D | BMPImageReader.cpp | 667 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/ |
D | SkCreateCGImageRef.cpp | 12 static void SkBitmap_ReleaseInfo(void* info, const void* pixelData, size_t size) { in SkBitmap_ReleaseInfo() argument
|
/external/webkit/Source/WebCore/bindings/v8/ |
D | SerializedScriptValue.cpp | 214 …void writeImageData(uint32_t width, uint32_t height, const uint8_t* pixelData, uint32_t pixelDataL… in writeImageData() argument 220 append(pixelData, pixelDataLength); in writeImageData()
|