#include <JpegReader.h>
Public Types | |
enum | ColorSpace { cmAuto, cmGray, cmRGB, cmYUV } |
Public Member Functions | |
ColorSpace | getOutputColorSpace () const |
JpegReader () | |
virtual bool | load (char *filename) |
virtual bool | load (const unsigned char *src, unsigned int srcsize) |
void | resetOutput () |
void | setExternalOutput (unsigned char *dest) |
virtual void | setOutputColorSpace (ColorSpace cspace) |
void | setTimeStamp () |
void | setTimeStamp (double ts) |
virtual | ~JpegReader () |
Public Attributes | |
unsigned char * | buffer |
bool | externaloutput |
unsigned int | height |
ColorSpace | outputColorSpace |
ColorSpace | reqColorSpace |
unsigned int | size |
double | timestamp |
unsigned int | width |
Definition at line 11 of file JpegReader.h.
Definition at line 14 of file JpegReader.h.
Definition at line 13 of file JpegReader.cpp.
JpegReader::~JpegReader | ( | ) | [virtual] |
Definition at line 23 of file JpegReader.cpp.
ColorSpace JpegReader::getOutputColorSpace | ( | ) | const [inline] |
Definition at line 31 of file JpegReader.h.
bool JpegReader::load | ( | char * | filename | ) | [virtual] |
Reimplemented in JpegReaderIPP.
Definition at line 69 of file JpegReader.cpp.
bool JpegReader::load | ( | const unsigned char * | src, |
unsigned int | srcsize | ||
) | [virtual] |
Reimplemented in JpegReaderIPP.
Definition at line 308 of file JpegReader.cpp.
void JpegReader::resetOutput | ( | ) | [inline] |
Definition at line 40 of file JpegReader.h.
void JpegReader::setExternalOutput | ( | unsigned char * | dest | ) | [inline] |
Definition at line 34 of file JpegReader.h.
void JpegReader::setOutputColorSpace | ( | ColorSpace | cspace | ) | [virtual] |
Reimplemented in JpegReaderIPP.
Definition at line 468 of file JpegReader.cpp.
void JpegReader::setTimeStamp | ( | ) |
Definition at line 31 of file JpegReader.cpp.
void JpegReader::setTimeStamp | ( | double | ts | ) |
Definition at line 38 of file JpegReader.cpp.
unsigned char* JpegReader::buffer |
Definition at line 19 of file JpegReader.h.
Definition at line 18 of file JpegReader.h.
unsigned int JpegReader::height |
Definition at line 16 of file JpegReader.h.
Definition at line 17 of file JpegReader.h.
Definition at line 17 of file JpegReader.h.
unsigned int JpegReader::size |
Definition at line 15 of file JpegReader.h.
double JpegReader::timestamp |
Definition at line 20 of file JpegReader.h.
unsigned int JpegReader::width |
Definition at line 16 of file JpegReader.h.