2 #ifndef _YI_DECODER_JPG_H_ 3 #define _YI_DECODER_JPG_H_ 14 class CYIImageDecoderJPGPriv;
34 CYIBitmapPriv *DoDecompression(
struct jpeg_decompress_struct &cinfo,
CYIBitmap *buffer, int32_t nX, int32_t nY);
43 #endif // _YI_DECODER_JPG_H_ #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
The core bitmap container class used by You.i Engine.
Definition: YiBitmap.h:20
virtual ~CYIImageDecoderJPG()
friend class CYIImageDecoderJPGPriv
Definition: YiImageDecoderJPG.h:21
Image decoder for the JPEG file format.
Definition: YiImageDecoderJPG.h:19
virtual std::unique_ptr< CYIBitmap > DecodeImpl(const CYIString &path, YI_DECODER_BITMAP_PARAMS *pParams) override
General container for passing parameters to an image decoder.
Definition: YiImageDecoder.h:18
Raster image decoder base class; all raster image decoders should sub-type this class.
Definition: YiImageDecoder.h:41
virtual bool GetImageDimensions(const CYIString &path, uint32_t *pnWidth, uint32_t *pnHeight) override