_GIFDECODER Structure

Microchip Graphics Library

Microchip Graphics Library
_GIFDECODER Structure
C
struct _GIFDECODER {
  IMG_FILE * pImageFile;
  WORD wImageWidth;
  WORD wImageHeight;
  WORD wImageX;
  WORD wImageY;
  WORD wScreenWidth;
  WORD wScreenHeight;
  WORD wGlobalPaletteEntries;
  WORD wLocalPaletteEntries;
  BYTE bBgColorIndex;
  BYTE bPixelAspectRatio;
  BYTE blGifMarkerFlag : 1;
  BYTE blGloabalColorTableFlag : 1;
  BYTE blLocalColorTableFlag : 1;
  BYTE blInterlacedFlag : 1;
  BYTE blFirstcodeFlag : 1;
  BYTE bInterlacePass : 3;
  BYTE aPalette[256][3];
  WORD awPalette[256];
  BYTE abSymbol[4096];
  WORD awPrevSymbolPtr[(4096 * 3)/4];
  WORD wInitialSymbols;
  WORD wMaxSymbol;
  BYTE bInitialSymbolBits;
  BYTE bMaxSymbolBits;
  LONG lGlobalColorTablePos;
  BYTE bWorkBits;
  BYTE bRemainingDataInBlock;
  BYTE bRemainingBits;
  WORD wCurrentX;
  WORD wCurrentY;
};
Description

DATA STRUCTURES

Members
Members 
Description 
IMG_FILE * pImageFile; 
Image file pointer 
BYTE aPalette[256][3]; 
Each palette entry has RGB 
WORD awPalette[256]; 
Each palette entry has RGB 
BYTE abSymbol[4096]; 
For decoding 
BYTE bWorkBits; 
Work memory 
Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved