Home
last modified time | relevance | path

Searched refs:ImageDecoder (Results 1 – 25 of 63) sorted by relevance

123

/external/chromium/webkit/glue/
Dimage_decoder.cc21 ImageDecoder::ImageDecoder() : desired_icon_size_(0, 0) { in ImageDecoder() function in webkit_glue::ImageDecoder
24 ImageDecoder::ImageDecoder(const gfx::Size& desired_icon_size) in ImageDecoder() function in webkit_glue::ImageDecoder
28 ImageDecoder::~ImageDecoder() { in ~ImageDecoder()
31 SkBitmap ImageDecoder::Decode(const unsigned char* data, size_t size) const { in Decode()
Dimage_decoder.h17 class ImageDecoder {
22 ImageDecoder();
23 ImageDecoder(const gfx::Size& desired_icon_size);
24 ~ImageDecoder();
34 DISALLOW_COPY_AND_ASSIGN(ImageDecoder);
/external/chromium/chrome/browser/chromeos/login/
Dimage_decoder.cc12 ImageDecoder::ImageDecoder(Delegate* delegate, in ImageDecoder() function in chromeos::ImageDecoder
19 void ImageDecoder::Start() { in Start()
27 this, &ImageDecoder::DecodeImageInSandbox, in Start()
31 void ImageDecoder::OnDecodeImageSucceeded(const SkBitmap& decoded_image) { in OnDecodeImageSucceeded()
37 void ImageDecoder::OnDecodeImageFailed() { in OnDecodeImageFailed()
43 void ImageDecoder::DecodeImageInSandbox( in DecodeImageInSandbox()
Dimage_decoder.h17 class ImageDecoder : public UtilityProcessHost::Client {
24 virtual void OnImageDecoded(const ImageDecoder* decoder,
29 virtual void OnDecodeImageFailed(const ImageDecoder* decoder) {} in OnDecodeImageFailed()
35 ImageDecoder(Delegate* delegate,
43 virtual ~ImageDecoder() {} in ~ImageDecoder()
56 DISALLOW_COPY_AND_ASSIGN(ImageDecoder);
Duser_image_loader.h24 public ImageDecoder::Delegate {
63 typedef std::map<const ImageDecoder*, ImageInfo> ImageInfoMap;
72 virtual void OnImageDecoded(const ImageDecoder* decoder,
74 virtual void OnDecodeImageFailed(const ImageDecoder* decoder);
Duser_image_loader.cc48 scoped_refptr<ImageDecoder> image_decoder = in LoadImage()
49 new ImageDecoder(this, image_data); in LoadImage()
54 void UserImageLoader::OnImageDecoded(const ImageDecoder* decoder, in OnImageDecoded()
86 void UserImageLoader::OnDecodeImageFailed(const ImageDecoder* decoder) { in OnDecodeImageFailed()
Dimage_downloader.cc26 ImageDownloader::ImageDownloader(ImageDecoder::Delegate* delegate, in ImageDownloader()
57 scoped_refptr<ImageDecoder> image_decoder = new ImageDecoder(delegate_, data); in OnURLFetchComplete()
Dimage_downloader.h25 ImageDownloader(ImageDecoder::Delegate* delegate,
39 ImageDecoder::Delegate* delegate_;
Dcaptcha_view.h30 public ImageDecoder::Delegate,
60 virtual void OnImageDecoded(const ImageDecoder* decoder,
/external/webkit/Source/WebCore/platform/image-decoders/bmp/
DBMPImageDecoder.cpp45 : ImageDecoder(alphaOption, gammaAndColorProfileOption) in BMPImageDecoder()
55 ImageDecoder::setData(data, allDataReceived); in setData()
62 if (!ImageDecoder::isSizeAvailable()) in isSizeAvailable()
65 return ImageDecoder::isSizeAvailable(); in isSizeAvailable()
87 return ImageDecoder::setFailed(); in setFailed()
DBMPImageReader.h69 …BMPImageReader(ImageDecoder* parent, size_t decodedAndHeaderOffset, size_t imgDataOffset, bool use…
274 ImageDecoder* m_parent;
DBMPImageDecoder.h40 class BMPImageDecoder : public ImageDecoder {
/external/webkit/Source/WebCore/platform/graphics/
DImageSource.h73 class ImageDecoder; variable
74 typedef ImageDecoder* NativeImageSourcePtr;
80 class ImageDecoder; variable
82 typedef ImageDecoder* NativeImageSourcePtr;
102 class ImageDecoder; variable
103 typedef ImageDecoder* NativeImageSourcePtr;
/external/webkit/Source/WebCore/platform/image-decoders/
DImageDecoder.cpp101 ImageDecoder* ImageDecoder::create(const SharedBuffer& data, ImageSource::AlphaOption alphaOption, … in create()
283 void ImageDecoder::prepareScaleDataIfNecessary() in prepareScaleDataIfNecessary()
301 int ImageDecoder::upperBoundScaledX(int origX, int searchStart) in upperBoundScaledX()
306 int ImageDecoder::lowerBoundScaledX(int origX, int searchStart) in lowerBoundScaledX()
311 int ImageDecoder::upperBoundScaledY(int origY, int searchStart) in upperBoundScaledY()
316 int ImageDecoder::lowerBoundScaledY(int origY, int searchStart) in lowerBoundScaledY()
321 int ImageDecoder::scaledY(int origY, int searchStart) in scaledY()
DImageDecoder.h224 class ImageDecoder {
225 WTF_MAKE_NONCOPYABLE(ImageDecoder); WTF_MAKE_FAST_ALLOCATED;
227ImageDecoder(ImageSource::AlphaOption alphaOption, ImageSource::GammaAndColorProfileOption gammaAn… in ImageDecoder() function
236 virtual ~ImageDecoder() { } in ~ImageDecoder()
241 …static ImageDecoder* create(const SharedBuffer& data, ImageSource::AlphaOption, ImageSource::Gamma…
/external/webkit/Source/WebCore/platform/graphics/qt/
DImageDecoderQt.cpp40 ImageDecoder* ImageDecoder::create(const SharedBuffer& data, ImageSource::AlphaOption alphaOption, … in create()
50 : ImageDecoder(alphaOption, gammaAndColorProfileOption) in ImageDecoderQt()
69 ImageDecoder::setData(data, allDataReceived); in setData()
91 if (!ImageDecoder::isSizeAvailable() && m_reader) in isSizeAvailable()
94 return ImageDecoder::isSizeAvailable(); in isSizeAvailable()
/external/webkit/Source/WebCore/platform/image-decoders/ico/
DICOImageDecoder.cpp49 : ImageDecoder(alphaOption, gammaAndColorProfileOption) in ICOImageDecoder()
63 ImageDecoder::setData(data, allDataReceived); in setData()
75 if (!ImageDecoder::isSizeAvailable()) in isSizeAvailable()
78 return ImageDecoder::isSizeAvailable(); in isSizeAvailable()
83 return m_frameSize.isEmpty() ? ImageDecoder::size() : m_frameSize; in size()
95 …return m_frameSize.isEmpty() ? ImageDecoder::setSize(width, height) : ((IntSize(width, height) == … in setSize()
128 return ImageDecoder::setFailed(); in setFailed()
/external/webkit/Source/WebCore/platform/image-decoders/webp/
DWEBPImageDecoder.cpp40 : ImageDecoder(alphaOption, gammaAndColorProfileOption) in WEBPImageDecoder()
52 if (!ImageDecoder::isSizeAvailable()) in isSizeAvailable()
55 return ImageDecoder::isSizeAvailable(); in isSizeAvailable()
93 if (!ImageDecoder::isSizeAvailable() && !setSize(width, height)) in decode()
DWEBPImageDecoder.h41 class WEBPImageDecoder : public ImageDecoder {
/external/webkit/Source/WebCore/platform/image-decoders/gif/
DGIFImageDecoder.cpp34 : ImageDecoder(alphaOption, gammaAndColorProfileOption) in GIFImageDecoder()
50 ImageDecoder::setData(data, allDataReceived); in setData()
58 if (!ImageDecoder::isSizeAvailable()) in isSizeAvailable()
61 return ImageDecoder::isSizeAvailable(); in isSizeAvailable()
66 if (ImageDecoder::isSizeAvailable() && size() == IntSize(width, height)) in setSize()
69 if (!ImageDecoder::setSize(width, height)) in setSize()
135 return ImageDecoder::setFailed(); in setFailed()
/external/webkit/Source/WebCore/platform/image-decoders/png/
DPNGImageDecoder.cpp145 if (sizeOnly ? decoder->ImageDecoder::isSizeAvailable() : decoder->isComplete()) in decode()
174 : ImageDecoder(alphaOption, gammaAndColorProfileOption) in PNGImageDecoder()
185 if (!ImageDecoder::isSizeAvailable()) in isSizeAvailable()
188 return ImageDecoder::isSizeAvailable(); in isSizeAvailable()
193 if (!ImageDecoder::setSize(width, height)) in setSize()
221 return ImageDecoder::setFailed(); in setFailed()
DPNGImageDecoder.h37 class PNGImageDecoder : public ImageDecoder {
/external/webkit/Source/WebKit/chromium/public/
DWebImageDecoder.h38 namespace WebCore { class ImageDecoder; } variable
42 typedef WebCore::ImageDecoder WebImageDecoderPrivate;
/external/webkit/Source/WebCore/platform/image-decoders/jpeg/
DJPEGImageDecoder.cpp409 : ImageDecoder(alphaOption, gammaAndColorProfileOption) in JPEGImageDecoder()
419 if (!ImageDecoder::isSizeAvailable()) in isSizeAvailable()
422 return ImageDecoder::isSizeAvailable(); in isSizeAvailable()
427 if (!ImageDecoder::setSize(width, height)) in setSize()
453 return ImageDecoder::setFailed(); in setFailed()
DJPEGImageDecoder.h38 class JPEGImageDecoder : public ImageDecoder {

123