2 #ifndef _YI_DECODER_WEBP_H_ 3 #define _YI_DECODER_WEBP_H_ 7 class CYIImageDecoderWEBPPriv;
29 virtual bool IsFormatSupported(
const uint8_t *pData, uint32_t nDataSize)
override;
37 void ReadToBuffer(
const CYIString &path, std::vector<uint8_t> *rawData);
39 CYIImageDecoderWEBPPriv *m_pPriv;
#define YI_DISALLOW_COPY_AND_ASSIGN(TypeName)
Delete the copy constructor and assignment operator (and consequently the move constructor as well) ...
Definition: YiPredef.h:114
Container class for Unicode strings. Conceptually, a CYIString object is a sequence of Unicode charac...
Definition: YiString.h:35
virtual std::unique_ptr< CYIBitmap > DecodeImpl(const CYIString &path, YI_DECODER_BITMAP_PARAMS *pParams) override
The core bitmap container class used by You.i Engine.
Definition: YiBitmap.h:20
Definition: YiImageDecoderWEBP.h:16
virtual bool IsFormatSupported(const uint8_t *pData, uint32_t nDataSize) override
virtual bool GetImageDimensions(const CYIString &path, uint32_t *pnWidth, uint32_t *pnHeight) override
General container for passing parameters to an image decoder.
Definition: YiImageDecoder.h:18
virtual ~CYIImageDecoderWEBP()
Raster image decoder base class; all raster image decoders should sub-type this class.
Definition: YiImageDecoder.h:41