Simple Image Loading LibrarY 0.1.0
|
Loader class for JPG Image. More...
#include <SILLYJPGImageLoader.h>
Public Member Functions | |
void | destroyContext (ImageContext *context) |
Destroy the image context. | |
const char * | getIdentifierString () const |
Return the name of the loader. | |
ImageContext * | loadHeader (PixelFormat &header, DataSource *data) |
Parse the header of the image and fill the header struct. | |
bool | loadImageData (PixelOrigin origin, DataSource *data, ImageContext *context) |
Parse the pixels data of the image and fill the header struct. | |
Loader class for JPG Image.
Definition at line 42 of file SILLYJPGImageLoader.h.
JPGImageLoader | ( | ) |
Definition at line 46 of file SILLYJPGImageLoader.cpp.
~JPGImageLoader | ( | ) |
Definition at line 51 of file SILLYJPGImageLoader.cpp.
|
inherited |
Destroy the image context.
context | a pointer to the context |
Definition at line 47 of file SILLYImageLoader.cpp.
|
virtual |
Parse the header of the image and fill the header struct.
formatSource | this var should contains the pixel format used to store the image initialy |
data | the input of the image data |
Implements ImageLoader.
Definition at line 56 of file SILLYJPGImageLoader.cpp.
|
virtual |
Parse the pixels data of the image and fill the header struct.
origin | the layout of the pixel in the resulting pixel array |
data | the input of the image data |
context | the data associated to the image parsing |
Implements ImageLoader.
Definition at line 90 of file SILLYJPGImageLoader.cpp.