+ void Print( std::ostream &os = std::cout, std::string const &indent = "" );
+ void DecompressJPEGFramesFromFile(std::ifstream *fp,
+ uint8_t *buffer, int nBits,
+ int &statesuspension);
+
+ bool ReadJPEGFile8 (std::ifstream *fp, void *image_buffer, int &statesuspension );
+ bool ReadJPEGFile12 (std::ifstream *fp, void *image_buffer, int &statesuspension );
+ bool ReadJPEGFile16 (std::ifstream *fp, void *image_buffer, int &statesuspension );
+
+ void SetLength(uint32_t length) { Length = length; }
+ uint32_t GetLength() { return Length; }
+ void SetOffset(uint32_t offset) { Offset = offset; }
+ uint32_t GetOffset() { return Offset; }
+ uint8_t *GetImage() { return pImage; }
+
+private:
+ uint32_t Offset;
+ uint32_t Length;
+
+ uint8_t *pImage;