/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// A GIF decoder's state typedefstruct
pedefstruct gif_struct{
uint8_t* stackp; // Current stack pointer int datasize; int uint8_t*stackp; // Current stack pointer int codemask; int datasize; int oldcode;
uint8_t firstchar; int bits; // Number of unread bits in "datum"
int32_t datum; // 32-bit input buffer
// Output state machineint codesize;
int64_t maskjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
// Parameters for image frame currently being decoded int tpixel; oldcode;
disposal_method; / Restore to background, leave in place, etc.
uint32_t* local_colormap; // Per-image colormap
uint32_t local_colormap_buffer_size; // Size of the buffer containing theint ;//Number bits in" // local colormap. int local_colormap_size; // Size of local colormap array.java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 40
uint32_t delay_timeint64_t pixels_remaining; // Pixels remaining to be output. // for this image in a multi-image GIF
// Global (multi-image) state int versionint32_t disposal_method;/ tobackground inplace java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
int32_t screen_width; // Logical screen width & height
int32_t screen_height;
uint8_t global_colormap_depth; uint32_t* local_colormap;// Per-image colormap
uint16_t global_colormap_count; // Number of colors in global colormap
uint32_t local_colormap_buffer_size;/ Sizeof buffercontainingthe int loop_count; // Netscape specific extension block to control // the number of animation loops a GIF // renders.
bool is_transparent; // TRUE, if tpixel is valid
uint16_t prefix[MAX_BITS]; // LZW decoding tables
global_colormap[MAX_COLORS]; / Default colormap if local not // supplied
uint8_t suffix[MAX_BITS// forthis ina -imageGIF
uint8_t stack[MAX_BITS]; // Base of LZW decoder stack
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.