Home
last modified time | relevance | path

Searched refs:ImageFrame (Results 1 – 25 of 34) sorted by relevance

12

/external/webkit/Source/WebCore/platform/image-decoders/skia/
DImageDecoderSkia.cpp37 ImageFrame::ImageFrame() in ImageFrame() function in WebCore::ImageFrame
45 ImageFrame& ImageFrame::operator=(const ImageFrame& other) in operator =()
62 void ImageFrame::clearPixelData() in clearPixelData()
72 void ImageFrame::zeroFillPixelData() in zeroFillPixelData()
77 bool ImageFrame::copyBitmapData(const ImageFrame& other) in copyBitmapData()
87 bool ImageFrame::setSize(int newWidth, int newHeight) in setSize()
101 NativeImagePtr ImageFrame::asNewNativeImage() const in asNewNativeImage()
110 bool ImageFrame::hasAlpha() const in hasAlpha()
115 void ImageFrame::setHasAlpha(bool alpha) in setHasAlpha()
120 void ImageFrame::setColorProfile(const ColorProfile& colorProfile) in setColorProfile()
[all …]
/external/webkit/Source/WebCore/platform/image-decoders/qt/
DImageFrameQt.cpp38 ImageFrame::ImageFrame() in ImageFrame() function in WebCore::ImageFrame
47 ImageFrame& ImageFrame::operator=(const ImageFrame& other) in operator =()
60 void ImageFrame::clearPixelData() in clearPixelData()
71 void ImageFrame::zeroFillPixelData() in zeroFillPixelData()
80 bool ImageFrame::copyBitmapData(const ImageFrame& other) in copyBitmapData()
92 bool ImageFrame::setSize(int newWidth, int newHeight) in setSize()
109 QPixmap* ImageFrame::asNewNativeImage() const in asNewNativeImage()
118 bool ImageFrame::hasAlpha() const in hasAlpha()
123 void ImageFrame::setHasAlpha(bool alpha) in setHasAlpha()
128 void ImageFrame::setColorProfile(const ColorProfile& colorProfile) in setColorProfile()
[all …]
/external/webkit/Source/WebCore/platform/image-decoders/gif/
DGIFImageDecoder.cpp121 ImageFrame* GIFImageDecoder::frameBufferAtIndex(size_t index) in frameBufferAtIndex()
126 ImageFrame& frame = m_frameBufferCache[index]; in frameBufferAtIndex()
127 if (frame.status() != ImageFrame::FrameComplete) in frameBufferAtIndex()
154 const Vector<ImageFrame>::iterator end(m_frameBufferCache.begin() + clearBeforeFrame); in clearFrameBufferCache()
174 Vector<ImageFrame>::iterator i(end); in clearFrameBufferCache()
175 …frameBufferCache.begin()) && ((i->status() == ImageFrame::FrameEmpty) || (i->disposalMethod() == I… in clearFrameBufferCache()
176 if ((i->status() == ImageFrame::FrameComplete) && (i != end)) in clearFrameBufferCache()
181 for (Vector<ImageFrame>::iterator j(m_frameBufferCache.begin()); j != i; ++j) { in clearFrameBufferCache()
182 ASSERT(j->status() != ImageFrame::FramePartial); in clearFrameBufferCache()
183 if (j->status() != ImageFrame::FrameEmpty) in clearFrameBufferCache()
[all …]
DGIFImageDecoder.h51 virtual ImageFrame* frameBufferAtIndex(size_t index);
61 …bool frameComplete(unsigned frameIndex, unsigned frameDuration, ImageFrame::FrameDisposalMethod di…
DGIFImageReader.h104 …WebCore::ImageFrame::FrameDisposalMethod disposal_method; /* Restore to background, leave in pla…
133 disposal_method = WebCore::ImageFrame::DisposeNotSpecified; in GIFFrameReader()
/external/webkit/Source/WebCore/platform/image-decoders/
DImageDecoder.cpp135 ImageFrame::ImageFrame() in ImageFrame() function in WebCore::ImageFrame
144 ImageFrame& ImageFrame::operator=(const ImageFrame& other) in operator =()
158 void ImageFrame::clearPixelData() in clearPixelData()
169 void ImageFrame::zeroFillPixelData() in zeroFillPixelData()
177 void ImageFrame::copyReferenceToBitmapData(const ImageFrame& other) in copyReferenceToBitmapData()
183 bool ImageFrame::copyBitmapData(const ImageFrame& other) in copyBitmapData()
195 bool ImageFrame::setSize(int newWidth, int newHeight) in setSize()
210 bool ImageFrame::hasAlpha() const in hasAlpha()
215 void ImageFrame::setHasAlpha(bool alpha) in setHasAlpha()
220 void ImageFrame::setColorProfile(const ColorProfile& colorProfile) in setColorProfile()
[all …]
DImageDecoder.h55 class ImageFrame {
74 ImageFrame();
76 ImageFrame(const ImageFrame& other) { operator=(other); } in ImageFrame() function
80 ImageFrame& operator=(const ImageFrame& other);
89 bool copyBitmapData(const ImageFrame&);
93 void copyReferenceToBitmapData(const ImageFrame&);
301 virtual ImageFrame* frameBufferAtIndex(size_t) = 0;
336 Vector<ImageFrame> m_frameBufferCache;
/external/webkit/Source/WebCore/platform/image-decoders/cg/
DImageDecoderCG.cpp36 static ImageFrame::PixelData* getPtrAsPixelData(CFMutableDataRef data) in getPtrAsPixelData()
38 return data ? reinterpret_cast<ImageFrame::PixelData*>(CFDataGetMutableBytePtr(data)) : 0; in getPtrAsPixelData()
41 void ImageFrame::copyReferenceToBitmapData(const ImageFrame& other) in copyReferenceToBitmapData()
51 bool ImageFrame::copyBitmapData(const ImageFrame& other) in copyBitmapData()
63 bool ImageFrame::setSize(int newWidth, int newHeight) in setSize()
94 NativeImagePtr ImageFrame::asNewNativeImage() const in asNewNativeImage()
/external/webkit/Source/WebCore/platform/image-decoders/webp/
DWEBPImageDecoder.cpp58 ImageFrame* WEBPImageDecoder::frameBufferAtIndex(size_t index) in frameBufferAtIndex()
68 ImageFrame& frame = m_frameBufferCache[0]; in frameBufferAtIndex()
69 if (frame.status() != ImageFrame::FrameComplete) in frameBufferAtIndex()
101 ImageFrame& buffer = m_frameBufferCache[0]; in decode()
102 if (buffer.status() == ImageFrame::FrameEmpty) { in decode()
107 buffer.setStatus(allDataReceived ? ImageFrame::FrameComplete : ImageFrame::FramePartial); in decode()
140 buffer.setStatus(ImageFrame::FrameComplete); in decode()
DWEBPImageDecoder.h47 virtual ImageFrame* frameBufferAtIndex(size_t index);
/external/webkit/Source/WebCore/platform/graphics/
DImageSource.cpp138 ImageFrame* buffer = m_decoder->frameBufferAtIndex(index); in createFrameAtIndex()
139 if (!buffer || buffer->status() == ImageFrame::FrameEmpty) in createFrameAtIndex()
157 ImageFrame* buffer = m_decoder->frameBufferAtIndex(index); in frameDurationAtIndex()
158 if (!buffer || buffer->status() == ImageFrame::FrameEmpty) in frameDurationAtIndex()
188 ImageFrame* buffer = m_decoder->frameBufferAtIndex(index); in frameIsCompleteAtIndex()
189 return buffer && buffer->status() == ImageFrame::FrameComplete; in frameIsCompleteAtIndex()
/external/webkit/Source/WebCore/platform/graphics/qt/
DImageDecoderQt.cpp134 ImageFrame* ImageDecoderQt::frameBufferAtIndex(size_t index) in frameBufferAtIndex()
148 ImageFrame& frame = m_frameBufferCache[index]; in frameBufferAtIndex()
149 if (frame.status() != ImageFrame::FrameComplete && m_reader) in frameBufferAtIndex()
188 if (m_frameBufferCache[i].status() != ImageFrame::FrameComplete) in internalReadImage()
207 ImageFrame* const buffer = &m_frameBufferCache[frameIndex]; in internalHandleCurrentImage()
209 buffer->setStatus(ImageFrame::FrameComplete); in internalHandleCurrentImage()
DImageDecoderQt.h51 virtual ImageFrame* frameBufferAtIndex(size_t index);
/external/webkit/Source/WebCore/platform/image-decoders/bmp/
DBMPImageDecoder.cpp68 ImageFrame* BMPImageDecoder::frameBufferAtIndex(size_t index) in frameBufferAtIndex()
78 ImageFrame* buffer = &m_frameBufferCache.first(); in frameBufferAtIndex()
79 if (buffer->status() != ImageFrame::FrameComplete) in frameBufferAtIndex()
101 …else if (!m_frameBufferCache.isEmpty() && (m_frameBufferCache.first().status() == ImageFrame::Fram… in decode()
DBMPImageReader.h71 void setBuffer(ImageFrame* buffer) { m_buffer = buffer; } in setBuffer()
277 ImageFrame* m_buffer;
DBMPImageDecoder.h48 virtual ImageFrame* frameBufferAtIndex(size_t index);
/external/webkit/Source/WebCore/platform/image-decoders/jpeg/
DJPEGImageDecoder.cpp434 ImageFrame* JPEGImageDecoder::frameBufferAtIndex(size_t index) in frameBufferAtIndex()
444 ImageFrame& frame = m_frameBufferCache[0]; in frameBufferAtIndex()
445 if (frame.status() != ImageFrame::FrameComplete) in frameBufferAtIndex()
462 ImageFrame& buffer = m_frameBufferCache[0]; in outputScanlines()
463 if (buffer.status() == ImageFrame::FrameEmpty) { in outputScanlines()
466 buffer.setStatus(ImageFrame::FramePartial); in outputScanlines()
522 m_frameBufferCache[0].setStatus(ImageFrame::FrameComplete); in jpegComplete()
539 …else if (!m_frameBufferCache.isEmpty() && (m_frameBufferCache[0].status() == ImageFrame::FrameComp… in decode()
DJPEGImageDecoder.h47 virtual ImageFrame* frameBufferAtIndex(size_t index);
/external/webkit/Source/WebCore/platform/graphics/android/
DImageSourceAndroid.cpp376 ImageFrame* buffer = in createFrameAtIndex()
378 if (!buffer || buffer->status() == ImageFrame::FrameEmpty) in createFrameAtIndex()
399 ImageFrame* buffer in frameDurationAtIndex()
401 if (!buffer || buffer->status() == ImageFrame::FrameEmpty) in frameDurationAtIndex()
421 ImageFrame* buffer = in frameHasAlphaAtIndex()
423 if (!buffer || buffer->status() == ImageFrame::FrameEmpty) in frameHasAlphaAtIndex()
449 ImageFrame* buffer = in frameIsCompleteAtIndex()
451 return buffer && buffer->status() == ImageFrame::FrameComplete; in frameIsCompleteAtIndex()
/external/webkit/Source/WebKit/chromium/src/
DWebImageDecoder.cpp100 ImageFrame* const frameBuffer = m_private->frameBufferAtIndex(index); in isFrameCompleteAtIndex()
103 return (frameBuffer->status() == ImageFrame::FrameComplete); in isFrameCompleteAtIndex()
109 ImageFrame* const frameBuffer = m_private->frameBufferAtIndex(index); in getFrameAtIndex()
/external/webkit/Source/WebCore/platform/image-decoders/png/
DPNGImageDecoder.cpp200 ImageFrame* PNGImageDecoder::frameBufferAtIndex(size_t index) in frameBufferAtIndex()
210 ImageFrame& frame = m_frameBufferCache[0]; in frameBufferAtIndex()
211 if (frame.status() != ImageFrame::FrameComplete) in frameBufferAtIndex()
338 ImageFrame& buffer = m_frameBufferCache[0]; in rowAvailable()
339 if (buffer.status() == ImageFrame::FrameEmpty) { in rowAvailable()
344 buffer.setStatus(ImageFrame::FramePartial); in rowAvailable()
418 m_frameBufferCache.first().setStatus(ImageFrame::FrameComplete); in pngComplete()
DPNGImageDecoder.h46 virtual ImageFrame* frameBufferAtIndex(size_t index);
59 …m_frameBufferCache.isEmpty() && (m_frameBufferCache.first().status() == ImageFrame::FrameComplete); in isComplete()
/external/webkit/Source/WebCore/platform/image-decoders/ico/
DICOImageDecoder.cpp112 ImageFrame* ICOImageDecoder::frameBufferAtIndex(size_t index) in frameBufferAtIndex()
118 ImageFrame* buffer = &m_frameBufferCache[index]; in frameBufferAtIndex()
119 if (buffer->status() != ImageFrame::FrameComplete) in frameBufferAtIndex()
165 …eBufferCache.size() > index) && (m_frameBufferCache[index].status() == ImageFrame::FrameComplete))… in decode()
/external/webkit/Source/WebCore/platform/image-decoders/cairo/
DImageDecoderCairo.cpp33 NativeImagePtr ImageFrame::asNewNativeImage() const in asNewNativeImage()
/external/webkit/Source/WebCore/platform/image-decoders/haiku/
DImageDecoderHaiku.cpp34 NativeImagePtr ImageFrame::asNewNativeImage() const in asNewNativeImage()

12