"L. Spiro Engine"
|
Loading a GIF file. More...
#include <LSIGif.h>
Classes | |
struct | LSI_GIFCOLOR |
struct | LSI_GIFGRAPHICCONTROL |
struct | LSI_GIFHEADER |
struct | LSI_GIFIMGDESCRIPTOR |
Static Public Member Functions | |
static LSBOOL LSE_CALL | LoadGif (const LSUINT8 *_pui8FileData, LSUINT32 _ui32DataLen, LSUINT32 &_ui32Width, LSUINT32 &_ui32Height, LSI_PIXEL_FORMAT &_pfFormat, CImageLib::CTexelBuffer &_tbReturn) |
static LSBOOL LSE_CALL | LoadGif (const LSCHAR *_pcFile, LSUINT32 &_ui32Width, LSUINT32 &_ui32Height, LSI_PIXEL_FORMAT &_pfFormat, CImageLib::CTexelBuffer &_tbReturn) |
Protected Types | |
typedef struct lsi::CGif::LSI_GIFHEADER * | LPLSI_GIFHEADER |
typedef struct lsi::CGif::LSI_GIFHEADER | LPCLSI_GIFHEADER |
typedef struct lsi::CGif::LSI_GIFCOLOR * | LPLSI_GIFCOLOR |
typedef struct lsi::CGif::LSI_GIFCOLOR | LPCLSI_GIFCOLOR |
typedef struct lsi::CGif::LSI_GIFIMGDESCRIPTOR * | LPLSI_GIFIMGDESCRIPTOR |
typedef struct lsi::CGif::LSI_GIFIMGDESCRIPTOR | LPCLSI_GIFIMGDESCRIPTOR |
typedef struct lsi::CGif::LSI_GIFGRAPHICCONTROL * | LPLSI_GIFGRAPHICCONTROL |
typedef struct lsi::CGif::LSI_GIFGRAPHICCONTROL | LPCLSI_GIFGRAPHICCONTROL |
Loading a GIF file.
Class CGif Description: Loading a GIF file.
typedef struct lsi::CGif::LSI_GIFCOLOR * lsi::CGif::LPLSI_GIFCOLOR [protected] |
GIF colors. Always 24 bits.
typedef struct lsi::CGif::LSI_GIFGRAPHICCONTROL * lsi::CGif::LPLSI_GIFGRAPHICCONTROL [protected] |
GIF graphic control extension block.
typedef struct lsi::CGif::LSI_GIFHEADER * lsi::CGif::LPLSI_GIFHEADER [protected] |
GIF file header.
typedef struct lsi::CGif::LSI_GIFIMGDESCRIPTOR * lsi::CGif::LPLSI_GIFIMGDESCRIPTOR [protected] |
GIF image descriptor.
static LSBOOL LSE_CALL lsi::CGif::LoadGif | ( | const LSUINT8 * | _pui8FileData, |
LSUINT32 | _ui32DataLen, | ||
LSUINT32 & | _ui32Width, | ||
LSUINT32 & | _ui32Height, | ||
LSI_PIXEL_FORMAT & | _pfFormat, | ||
CImageLib::CTexelBuffer & | _tbReturn | ||
) | [static] |
Load a GIF file from memory.
_pui8FileData | The in-memory image of the file. |
_ui32DataLen | The length of the in-memory image of the file. |
_ui32Width | The returned width of the image. |
_ui32Height | The returned height of the image. |
_pfFormat | Indicates the format of the converted data held in _tbReturn. |
_tbReturn | The returned data. |
static LSBOOL LSE_CALL lsi::CGif::LoadGif | ( | const LSCHAR * | _pcFile, |
LSUINT32 & | _ui32Width, | ||
LSUINT32 & | _ui32Height, | ||
LSI_PIXEL_FORMAT & | _pfFormat, | ||
CImageLib::CTexelBuffer & | _tbReturn | ||
) | [static] |
Load a GIF file from a file.
_pcFile | File from which to load the bitmap data. Must be in UTF-8 format. |
_ui32Width | The returned width of the image. |
_ui32Height | The returned height of the image. |
_pfFormat | Indicates the format of the converted data held in _tbReturn. |
_tbReturn | The returned data. |