/external/chromium_org/chrome/browser/ |
D | image_decoder.cc | 16 ImageDecoder::ImageDecoder(Delegate* delegate, in ImageDecoder() function in ImageDecoder 25 ImageDecoder::~ImageDecoder() {} in ~ImageDecoder() 27 void ImageDecoder::Start(scoped_refptr<base::SequencedTaskRunner> task_runner) { in Start() 31 base::Bind(&ImageDecoder::DecodeImageInSandbox, this, image_data_)); in Start() 34 bool ImageDecoder::OnMessageReceived(const IPC::Message& message) { in OnMessageReceived() 36 IPC_BEGIN_MESSAGE_MAP(ImageDecoder, message) in OnMessageReceived() 46 void ImageDecoder::OnDecodeImageSucceeded(const SkBitmap& decoded_image) { in OnDecodeImageSucceeded() 52 void ImageDecoder::OnDecodeImageFailed() { in OnDecodeImageFailed() 58 void ImageDecoder::DecodeImageInSandbox( in DecodeImageInSandbox()
|
D | image_decoder.h | 19 class ImageDecoder : public content::UtilityProcessHostClient { 26 virtual void OnImageDecoded(const ImageDecoder* decoder, 31 virtual void OnDecodeImageFailed(const ImageDecoder* decoder) {} in OnDecodeImageFailed() 42 ImageDecoder(Delegate* delegate, 58 virtual ~ImageDecoder(); 75 DISALLOW_COPY_AND_ASSIGN(ImageDecoder);
|
/external/chromium_org/content/child/ |
D | image_decoder.cc | 21 ImageDecoder decoder(desired_image_size); in DecodeImage() 25 ImageDecoder::ImageDecoder() : desired_icon_size_(0, 0) { in ImageDecoder() function in content::ImageDecoder 28 ImageDecoder::ImageDecoder(const gfx::Size& desired_icon_size) in ImageDecoder() function in content::ImageDecoder 32 ImageDecoder::~ImageDecoder() { in ~ImageDecoder() 35 SkBitmap ImageDecoder::Decode(const unsigned char* data, size_t size) const { in Decode() 42 std::vector<SkBitmap> ImageDecoder::DecodeAll( in DecodeAll()
|
D | image_decoder.h | 19 class ImageDecoder { 24 ImageDecoder(); 25 ImageDecoder(const gfx::Size& desired_icon_size); 26 ~ImageDecoder(); 41 DISALLOW_COPY_AND_ASSIGN(ImageDecoder);
|
/external/chromium_org/chrome/browser/android/ |
D | logo_service.cc | 47 class LogoDecoderDelegate : public ImageDecoder::Delegate { 50 const scoped_refptr<ImageDecoder>& image_decoder, in LogoDecoderDelegate() 62 (const ImageDecoder*) NULL), in LogoDecoderDelegate() 71 virtual void OnImageDecoded(const ImageDecoder* decoder, in OnImageDecoded() 77 virtual void OnDecodeImageFailed(const ImageDecoder* decoder) OVERRIDE { in OnDecodeImageFailed() 83 scoped_refptr<ImageDecoder> image_decoder_; 99 scoped_refptr<ImageDecoder> image_decoder = new ImageDecoder( in DecodeUntrustedImage() 102 ImageDecoder::DEFAULT_CODEC); in DecodeUntrustedImage()
|
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/ |
D | ImageDecoder.cpp | 85 PassOwnPtr<ImageDecoder> ImageDecoder::create(const SharedBuffer& data, ImageSource::AlphaOption al… in create() 117 bool ImageDecoder::frameHasAlphaAtIndex(size_t index) const in frameHasAlphaAtIndex() 122 bool ImageDecoder::frameIsCompleteAtIndex(size_t index) const in frameIsCompleteAtIndex() 128 unsigned ImageDecoder::frameBytesAtIndex(size_t index) const in frameBytesAtIndex() 136 bool ImageDecoder::deferredImageDecodingEnabled() in deferredImageDecodingEnabled() 141 size_t ImageDecoder::clearCacheExceptFrame(size_t clearExceptFrame) in clearCacheExceptFrame() 157 void ImageDecoder::clearFrameBuffer(size_t frameIndex) in clearFrameBuffer() 162 size_t ImageDecoder::findRequiredPreviousFrame(size_t frameIndex, bool frameRectIsOpaque) in findRequiredPreviousFrame()
|
D | ImageDecoder.h | 55 class PLATFORM_EXPORT ImageDecoder { 56 WTF_MAKE_NONCOPYABLE(ImageDecoder); WTF_MAKE_FAST_ALLOCATED; 60 …ImageDecoder(ImageSource::AlphaOption alphaOption, ImageSource::GammaAndColorProfileOption gammaAn… in ImageDecoder() function 68 virtual ~ImageDecoder() { } in ~ImageDecoder() 74 …static PassOwnPtr<ImageDecoder> create(const SharedBuffer& data, ImageSource::AlphaOption, ImageSo… 77 …static PassOwnPtr<ImageDecoder> create(const SharedBuffer& data, ImageSource::AlphaOption, ImageSo…
|
/external/chromium_org/chrome/browser/chromeos/login/users/avatar/ |
D | user_image_loader.h | 29 public ImageDecoder::Delegate { 36 ImageDecoder::ImageCodec image_codec, 67 typedef std::map<const ImageDecoder*, ImageInfo> ImageInfoMap; 82 virtual void OnImageDecoded(const ImageDecoder* decoder, 84 virtual void OnDecodeImageFailed(const ImageDecoder* decoder) OVERRIDE; 95 const ImageDecoder::ImageCodec image_codec_;
|
D | user_image_manager_test_util.cc | 56 scoped_refptr<ImageDecoder> image_decoder = new ImageDecoder( in Load() 59 ImageDecoder::ROBUST_JPEG_CODEC); in Load() 65 void ImageLoader::OnImageDecoded(const ImageDecoder* decoder, in OnImageDecoded() 72 void ImageLoader::OnDecodeImageFailed(const ImageDecoder* decoder) { in OnDecodeImageFailed()
|
D | user_image_loader.cc | 35 ImageDecoder::ImageCodec image_codec, in UserImageLoader() 82 scoped_refptr<ImageDecoder> image_decoder = in DecodeImage() 83 new ImageDecoder(this, *data, image_codec_); in DecodeImage() 88 void UserImageLoader::OnImageDecoded(const ImageDecoder* decoder, in OnImageDecoded() 131 if (image_codec_ == ImageDecoder::ROBUST_JPEG_CODEC) in OnImageDecoded() 137 void UserImageLoader::OnDecodeImageFailed(const ImageDecoder* decoder) { in OnDecodeImageFailed()
|
D | user_image_manager_test_util.h | 34 class ImageLoader : public ImageDecoder::Delegate { 42 virtual void OnImageDecoded(const ImageDecoder* decoder, 44 virtual void OnDecodeImageFailed(const ImageDecoder* decoder) OVERRIDE;
|
/external/chromium_org/chrome/browser/chromeos/extensions/ |
D | wallpaper_function_base.cc | 44 : public ImageDecoder::Delegate { 57 unsafe_image_decoder_ = new ImageDecoder(this, image_data, in Start() 58 ImageDecoder::DEFAULT_CODEC); in Start() 68 virtual void OnImageDecoded(const ImageDecoder* decoder, in OnImageDecoded() 85 virtual void OnDecodeImageFailed(const ImageDecoder* decoder) OVERRIDE { in OnDecodeImageFailed() 93 scoped_refptr<ImageDecoder> unsafe_image_decoder_;
|
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/bmp/ |
D | BMPImageDecoder.cpp | 47 : ImageDecoder(alphaOption, gammaAndColorProfileOption, maxDecodedBytes) in BMPImageDecoder() 57 ImageDecoder::setData(data, allDataReceived); in setData() 64 if (!ImageDecoder::isSizeAvailable()) in isSizeAvailable() 67 return ImageDecoder::isSizeAvailable(); in isSizeAvailable() 92 return ImageDecoder::setFailed(); in setFailed()
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
D | ImageDecodingStore.h | 116 bool lockDecoder(const ImageFrameGenerator*, const SkISize& scaledSize, ImageDecoder**); 117 void unlockDecoder(const ImageFrameGenerator*, const ImageDecoder*); 118 void insertDecoder(const ImageFrameGenerator*, PassOwnPtr<ImageDecoder>, bool isDiscardable); 119 void removeDecoder(const ImageFrameGenerator*, const ImageDecoder*); 225 …erCacheEntry> create(const ImageFrameGenerator* generator, PassOwnPtr<ImageDecoder> decoder, bool … in create() 230 …DecoderCacheEntry(const ImageFrameGenerator* generator, int count, PassOwnPtr<ImageDecoder> decode… in DecoderCacheEntry() 244 …tic DecoderCacheKey makeCacheKey(const ImageFrameGenerator* generator, const ImageDecoder* decoder) in makeCacheKey() 249 ImageDecoder* cachedDecoder() const { return m_cachedDecoder.get(); } in cachedDecoder() 252 OwnPtr<ImageDecoder> m_cachedDecoder;
|
D | ImageDecodingStoreTest.cpp | 247 OwnPtr<ImageDecoder> decoder = MockImageDecoder::create(this); in TEST_F() 259 OwnPtr<ImageDecoder> decoder = MockImageDecoder::create(this); in TEST_F() 261 const ImageDecoder* refDecoder = decoder.get(); in TEST_F() 266 ImageDecoder* testDecoder; in TEST_F() 276 OwnPtr<ImageDecoder> decoder1 = MockImageDecoder::create(this); in TEST_F() 277 OwnPtr<ImageDecoder> decoder2 = MockImageDecoder::create(this); in TEST_F() 278 OwnPtr<ImageDecoder> decoder3 = MockImageDecoder::create(this); in TEST_F() 303 OwnPtr<ImageDecoder> decoder1 = MockImageDecoder::create(this); in TEST_F() 304 OwnPtr<ImageDecoder> decoder2 = MockImageDecoder::create(this); in TEST_F() 305 OwnPtr<ImageDecoder> decoder3 = MockImageDecoder::create(this); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/bitmap_fetcher/ |
D | bitmap_fetcher.h | 26 public ImageDecoder::Delegate { 62 virtual void OnImageDecoded(const ImageDecoder* decoder, 66 virtual void OnDecodeImageFailed(const ImageDecoder* decoder) OVERRIDE; 73 scoped_refptr<ImageDecoder> image_decoder_;
|
D | bitmap_fetcher.cc | 49 new ImageDecoder(this, image_data, ImageDecoder::DEFAULT_CODEC); in OnURLFetchComplete() 67 void BitmapFetcher::OnImageDecoded(const ImageDecoder* decoder, in OnImageDecoded() 73 void BitmapFetcher::OnDecodeImageFailed(const ImageDecoder* decoder) { in OnDecodeImageFailed()
|
/external/chromium_org/chrome/browser/ui/app_list/search/common/ |
D | url_icon_source.h | 29 public ImageDecoder::Delegate { 54 virtual void OnImageDecoded(const ImageDecoder* decoder, 56 virtual void OnDecodeImageFailed(const ImageDecoder* decoder) OVERRIDE; 67 scoped_refptr<ImageDecoder> image_decoder_;
|
D | url_icon_source.cc | 76 new ImageDecoder(this, unsafe_icon_data, ImageDecoder::DEFAULT_CODEC); in OnURLFetchComplete() 81 void UrlIconSource::OnImageDecoded(const ImageDecoder* decoder, in OnImageDecoded() 92 const ImageDecoder* decoder) { in OnDecodeImageFailed()
|
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/webp/ |
D | WEBPImageDecoder.cpp | 131 : ImageDecoder(alphaOption, gammaAndColorProfileOption, maxDecodedBytes) in WEBPImageDecoder() 177 if (!ImageDecoder::isSizeAvailable()) in isSizeAvailable() 180 return ImageDecoder::isSizeAvailable(); in isSizeAvailable() 241 ImageDecoder::setData(data, allDataReceived); in setData() 255 return ImageDecoder::frameIsCompleteAtIndex(index); in frameIsCompleteAtIndex() 289 if (!ImageDecoder::isSizeAvailable()) { in updateDemuxer() 304 ASSERT(ImageDecoder::isSizeAvailable()); in updateDemuxer() 399 return ImageDecoder::clearCacheExceptFrame(clearExceptFrame); in clearCacheExceptFrame() 408 ImageDecoder::clearFrameBuffer(frameIndex); in clearFrameBuffer() 419 qcms_profile* deviceProfile = ImageDecoder::qcmsOutputDeviceProfile(); in createColorTransform() [all …]
|
/external/chromium_org/chrome/browser/media_galleries/fileapi/ |
D | supported_image_type_validator.cc | 50 class ImageDecoderDelegateAdapter : public ImageDecoder::Delegate { 65 virtual void OnImageDecoded(const ImageDecoder* /*decoder*/, in OnImageDecoded() argument 71 virtual void OnDecodeImageFailed(const ImageDecoder* /*decoder*/) OVERRIDE { in OnDecodeImageFailed() argument 131 decoder_ = new ImageDecoder(adapter, adapter->data(), in OnFileOpen() 132 ImageDecoder::DEFAULT_CODEC); in OnFileOpen()
|
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/ |
D | change_picture_options_handler.h | 32 public ImageDecoder::Delegate, 116 virtual void OnImageDecoded(const ImageDecoder* decoder, 118 virtual void OnDecodeImageFailed(const ImageDecoder* decoder) OVERRIDE; 143 scoped_refptr<ImageDecoder> image_decoder_;
|
/external/chromium_org/chrome/browser/apps/drive/ |
D | drive_app_converter.cc | 35 public ImageDecoder::Delegate { 75 new ImageDecoder(this, unsafe_icon_data, ImageDecoder::DEFAULT_CODEC); in OnURLFetchComplete() 81 virtual void OnImageDecoded(const ImageDecoder* decoder, in OnImageDecoded() 88 virtual void OnDecodeImageFailed(const ImageDecoder* decoder) OVERRIDE { in OnDecodeImageFailed() 97 scoped_refptr<ImageDecoder> image_decoder_;
|
/external/chromium_org/chrome/browser/chromeos/login/screens/ |
D | user_image_screen.h | 32 public ImageDecoder::Delegate, 71 virtual void OnImageDecoded(const ImageDecoder* decoder, 73 virtual void OnDecodeImageFailed(const ImageDecoder* decoder) OVERRIDE; 118 scoped_refptr<ImageDecoder> image_decoder_;
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/test/ |
D | MockImageDecoder.h | 50 class MockImageDecoder : public ImageDecoder { 55 …: ImageDecoder(ImageSource::AlphaPremultiplied, ImageSource::GammaAndColorProfileApplied, noDecode… in MockImageDecoder() 71 ImageDecoder::setSize(width, height); in setSize() 128 virtual PassOwnPtr<ImageDecoder> create() OVERRIDE in create()
|