Opera 12.15 Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

decoderfactorywebp.h 523B

123456789101112131415161718
  1. /* -*- Mode: c++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
  2. #ifndef DECODERFACTORYWEBP_H
  3. # define DECODERFACTORYWEBP_H
  4. # include "modules/img/imagedecoderfactory.h"
  5. # ifdef WEBP_SUPPORT
  6. class DecoderFactoryWebP : public ImageDecoderFactory
  7. {
  8. public:
  9. ImageDecoder* CreateImageDecoder(ImageDecoderListener* listener);
  10. BOOL3 CheckSize(const UCHAR* data, INT32 len, INT32& width, INT32& height);
  11. BOOL3 CheckType(const UCHAR* data, INT32 len);
  12. };
  13. # endif // WEBP_SUPPORT
  14. #endif // !DECODERFACTORYWEBP_H