Simple Image Loading LibrarY 0.1.0
Classes | Typedefs | Enumerations | Functions | Variables
SILLY Namespace Reference

Simple Image Loading LibrarY namespace. More...

Classes

class  DataSource
 This is an abstract class used to provide data to the loader. More...
 
class  FileDataSource
 This class allow the loading of an image directly from a file. More...
 
class  Image
 Image is the main user class of the library. More...
 
class  ImageContext
 Store the data needed by an ImageLoader object during the parsing of an image. More...
 
class  ImageLoader
 This is an abstract class that define the interface of all image loader. More...
 
class  ImageLoaderManager
 Manage the list of all supported ImageLoader. More...
 
class  JPGImageContext
 Image Context for JPG image loader. More...
 
class  JPGImageLoader
 Loader class for JPG Image. More...
 
class  MemoryDataSource
 Load an image from a memory area. More...
 
class  PNGImageContext
 Image Context for PNG Image Loader. More...
 
class  PNGImageLoader
 Loader for PNG Image. More...
 
class  TGAImageContext
 Image Context for Targa image. More...
 
class  TGAImageLoader
 Loader for Targa image. More...
 

Typedefs

typedef unsigned char byte
 Typename for a byte.
 
typedef std::vector< ImageLoader * > ImageLoaderList
 Typename for a collection of image loader.
 

Enumerations

enum  PixelFormat { PF_A1B5G5R5 , PF_RGB , PF_RGBA , PF_ORIGIN }
 List all pixel format supported. More...
 
enum  PixelOrigin { PO_TOP_LEFT , PO_BOTTOM_LEFT }
 List all pixel origin supported. More...
 

Functions

void JPG_emit_message (j_common_ptr cinfo, int msg_level)
 
void JPG_error_exit (j_common_ptr cinfo)
 
boolean JPG_fill_input_buffer (j_decompress_ptr cinfo)
 
void JPG_init_source (j_decompress_ptr cinfo)
 
void JPG_skip_input_data (j_decompress_ptr cinfo, long num_bytes)
 
void JPG_term_source (j_decompress_ptr cinfo)
 
void PNG_error_function (png_structp png_ptr, png_const_charp error)
 
void PNG_read_function (png_structp png_ptr, png_bytep data, png_size_t length)
 
void PNG_warning_function (png_structp png_ptr, png_const_charp error)
 
void SILLYCleanup ()
 Cleanup SILLY library internal.
 
bool SILLYInit ()
 Initialize the SILLY Library.
 

Variables

static size_t silly_init_counter = 0
 

Detailed Description

Simple Image Loading LibrarY namespace.

This namespace contains all the symbols and types of the library

Typedef Documentation

◆ byte

typedef unsigned char byte

Typename for a byte.

Definition at line 80 of file SILLYBase.h.

◆ ImageLoaderList

typedef std::vector<ImageLoader*> ImageLoaderList

Typename for a collection of image loader.

Definition at line 42 of file SILLYImageLoaderManager.h.

Enumeration Type Documentation

◆ PixelFormat

List all pixel format supported.

Definition at line 59 of file SILLYBase.h.

◆ PixelOrigin

List all pixel origin supported.

Definition at line 70 of file SILLYBase.h.

Function Documentation

◆ JPG_emit_message()

void JPG_emit_message ( j_common_ptr  cinfo,
int  msg_level 
)

Definition at line 84 of file SILLYJPGImageContext.cpp.

◆ JPG_error_exit()

void JPG_error_exit ( j_common_ptr  cinfo)

Definition at line 76 of file SILLYJPGImageContext.cpp.

◆ JPG_fill_input_buffer()

boolean JPG_fill_input_buffer ( j_decompress_ptr  cinfo)

Definition at line 54 of file SILLYJPGImageContext.cpp.

◆ JPG_init_source()

void JPG_init_source ( j_decompress_ptr  cinfo)

Definition at line 49 of file SILLYJPGImageContext.cpp.

◆ JPG_skip_input_data()

void JPG_skip_input_data ( j_decompress_ptr  cinfo,
long  num_bytes 
)

Definition at line 62 of file SILLYJPGImageContext.cpp.

◆ JPG_term_source()

void JPG_term_source ( j_decompress_ptr  cinfo)

Definition at line 71 of file SILLYJPGImageContext.cpp.

◆ PNG_error_function()

void PNG_error_function ( png_structp  png_ptr,
png_const_charp  error 
)

Definition at line 64 of file SILLYPNGImageLoader.cpp.

◆ PNG_read_function()

void PNG_read_function ( png_structp  png_ptr,
png_bytep  data,
png_size_t  length 
)

Definition at line 48 of file SILLYPNGImageLoader.cpp.

◆ PNG_warning_function()

void PNG_warning_function ( png_structp  png_ptr,
png_const_charp  error 
)

Definition at line 58 of file SILLYPNGImageLoader.cpp.

◆ SILLYCleanup()

void SILLY_EXPORT SILLYCleanup ( )

Cleanup SILLY library internal.

Definition at line 100 of file SILLYImageLoaderManager.cpp.

◆ SILLYInit()

bool SILLY_EXPORT SILLYInit ( )

Initialize the SILLY Library.

Returns
True if the initialization was successfull false otherwise.

Definition at line 87 of file SILLYImageLoaderManager.cpp.

Variable Documentation

◆ silly_init_counter

size_t silly_init_counter = 0
static

Definition at line 58 of file SILLYImageLoaderManager.cpp.