mirror of
https://github.com/wiiu-env/ScreenshotWUPS.git
synced 2025-01-27 03:05:27 +01:00
27 lines
452 B
C
27 lines
452 B
C
|
#ifndef JPEGINFORMATION_H
|
||
|
#define JPEGINFORMATION_H
|
||
|
|
||
|
#include <stdint.h>
|
||
|
#include <turbojpeg.h>
|
||
|
|
||
|
class JpegInformation {
|
||
|
public:
|
||
|
JpegInformation(tjhandle handle, uint8_t* jpegBuf, uint64_t jpegSize);
|
||
|
virtual ~JpegInformation();
|
||
|
|
||
|
uint8_t * getBuffer() {
|
||
|
return buffer;
|
||
|
};
|
||
|
uint64_t getSize() {
|
||
|
return size;
|
||
|
};
|
||
|
|
||
|
private:
|
||
|
uint8_t* buffer;
|
||
|
uint64_t size;
|
||
|
tjhandle handle;
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif // JPEGINFORMATION_H
|