/external/webkit/Source/WebCore/platform/image-decoders/openvg/ |
ImageDecoderOpenVG.cpp | 62 PixelData* pixelData = const_cast<PixelData*>(m_bytes); 63 pixelData += (tileRect.y() * width()) + tileRect.x(); 65 vgImageSubData(image, reinterpret_cast<unsigned char*>(pixelData), 66 width() * sizeof(PixelData), bufferFormat,
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
GraphicsContextCairoWin.cpp | 96 static void drawBitmapToContext(GraphicsContextPlatformPrivate* context, cairo_t* cr, const DIBPixelData& pixelData, const IntSize& translate) 100 cairo_surface_t* surface = cairo_image_surface_create_for_data(pixelData.buffer(), 102 pixelData.size().width(), 103 pixelData.size().height(), 104 pixelData.bytesPerRow()); 136 DIBPixelData pixelData(bitmap.get()); 137 ASSERT(pixelData.bitsPerPixel() == 32); 142 unsigned char* bytes = reinterpret_cast<unsigned char*>(pixelData.buffer()); 144 setRGBABitmapAlpha(bytes, pixelData.size().height() * pixelData.bytesPerRow(), 255) [all...] |
GraphicsContextCGWin.cpp | 44 DIBPixelData pixelData(bitmap); 52 if (pixelData.bitsPerPixel() != 32) 56 CGContextRef context = CGBitmapContextCreate(pixelData.buffer(), pixelData.size().width(), pixelData.size().height(), 8, 57 pixelData.bytesPerRow(), deviceRGBColorSpaceRef(), bitmapInfo); 60 CGContextTranslateCTM(context, 0, pixelData.size().height()); 103 DIBPixelData pixelData(bitmap.get()); 105 ASSERT(pixelData.bitsPerPixel() == 32); 107 CGContextRef bitmapContext = CGBitmapContextCreate(pixelData.buffer(), pixelData.size().width(), pixelData.size().height(), 8 [all...] |
/external/webkit/Source/WebCore/platform/image-decoders/cairo/ |
ImageDecoderCairo.cpp | 36 reinterpret_cast<unsigned char*>(const_cast<PixelData*>( 38 width() * sizeof(PixelData));
|
/external/webkit/Source/WebCore/platform/image-decoders/cg/ |
ImageDecoderCG.cpp | 36 static ImageFrame::PixelData* getPtrAsPixelData(CFMutableDataRef data) 38 return data ? reinterpret_cast<ImageFrame::PixelData*>(CFDataGetMutableBytePtr(data)) : 0; 66 size_t backingStoreSize = newWidth * newHeight * sizeof(PixelData); 72 m_bytes = reinterpret_cast<PixelData*>(CFDataGetMutableBytePtr(m_backingStore.get())); 101 return CGImageCreate(width(), height(), 8, 32, width() * sizeof(PixelData), colorSpace.get(),
|
/external/skia/src/image/ |
SkImage_Raster.cpp | 132 SkImage* SkImage::NewRasterData(const SkImage::Info& info, SkData* pixelData, size_t rowBytes) { 140 if (NULL == pixelData) { 146 if (pixelData->size() < size) { 150 SkAutoDataUnref data(pixelData);
|
/external/webkit/Tools/DumpRenderTree/cairo/ |
PixelDumpSupportCairo.cpp | 54 Vector<unsigned char> pixelData; 56 cairo_surface_write_to_png_stream(image, writeFunction, &pixelData); 58 const size_t dataLength = pixelData.size(); 59 const unsigned char* data = pixelData.data();
|
/external/webkit/Source/WebCore/platform/image-decoders/ |
ImageDecoder.h | 69 typedef uint32_t PixelData; 71 typedef unsigned PixelData; 104 const int rowBytes = (endX - startX) * sizeof(PixelData); 105 const PixelData* const startAddr = getAddr(startX, startY); 153 typedef Vector<PixelData> NativeBackingStore; 159 inline PixelData* getAddr(int x, int y) 172 inline void setRGBA(PixelData* dest, unsigned r, unsigned g, unsigned b, unsigned a) 203 PixelData* m_bytes; // The memory is backed by m_backingStore.
|
ImageDecoder.cpp | 171 memset(m_bytes, 0, m_size.width() * m_size.height() * sizeof(PixelData));
|
/external/webkit/Source/WebCore/platform/image-decoders/wx/ |
ImageDecoderWx.cpp | 56 for (size_t i = 0; i < m_size.width() * m_size.height() * sizeof(PixelData); i += sizeof(PixelData)) {
|
/external/webkit/Source/WebCore/platform/graphics/cg/ |
GraphicsContext3DCG.cpp | 238 RetainPtr<CFDataRef> pixelData; 239 pixelData.adoptCF(CGDataProviderCopyData(CGImageGetDataProvider(cgImage))); 240 if (!pixelData) 242 const UInt8* rgba = CFDataGetBytePtr(pixelData.get());
|
/external/webkit/Source/WebCore/platform/image-decoders/haiku/ |
ImageDecoderHaiku.cpp | 36 int bytesPerRow = width() * sizeof(PixelData);
|
/external/skia/src/utils/mac/ |
SkCreateCGImageRef.cpp | 12 static void SkBitmap_ReleaseInfo(void* info, const void* pixelData, size_t size) {
|
/external/webkit/Source/WebCore/platform/image-decoders/bmp/ |
BMPImageReader.cpp | 667 uint8_t pixelData = m_data->data()[m_decodedOffset + byte]; 669 const size_t colorIndex = (pixelData >> (8 - m_infoHeader.biBitCount)) & mask; 686 pixelData <<= m_infoHeader.biBitCount;
|
/external/llvm/test/CodeGen/PowerPC/ |
2008-07-15-Bswap.ll | 23 %struct.FramePixels = type <{ i8, i8, i8, i8, i8, i8, i8, i8, i8*, i8*, i32, [4 x i8*], [4 x i8*], [2 x [4 x i32]], [2 x [4 x i32]], %struct.PixelData, %struct.InterpolationCache*, %struct.InterpolationCache*, %struct.InterpolationCache*, [16 x i16], [16 x i16], [12 x i8], %"struct.PortableSInt32Array<4>", %"struct.PortableSInt32Array<8>", %struct.ICOffsetArraysY, %struct.UVSrcOffsetEtcX_Struct*, i32*, i32*, [3 x i32] }> 43 %struct.PixelData = type { i8*, i8*, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8 }
|
/external/webkit/Source/WebCore/bindings/v8/ |
SerializedScriptValue.cpp | 214 void writeImageData(uint32_t width, uint32_t height, const uint8_t* pixelData, uint32_t pixelDataLength) 220 append(pixelData, pixelDataLength); [all...] |