47 if (
lblk == 0)
return -1;
54 return (((b3[0]+0x100*b3[1]+0x10000*b3[2])>>shift) & (
CurMaxCode-1));
100 *
Ncols = 1 << ((
b & 7) + 1);
101 if ((
b & 0x80) == 0) {
113 ptr1 += (*Ncols) * 3;
124 *Width =
b + 0x100*(*
ptr1++);
126 *Height =
b + 0x100*(*
ptr1++);
189 if ((
b & 0x80) == 0) {
201 for (i=0; i<(*Ncols); i++) {
216 *Width =
b + 0x100*(*
ptr1++);
218 *Height =
b + 0x100*(*
ptr1++);
221 if ((
b & 0xc0) != 0) {
223 "\nGIFdecode: unexpected item (local colors or interlace)\n");
236 Npix =(long) (*Width) * (*Height);
243 fprintf(
stderr,
"\nGIFdecode: corrupted GIF (zero block length)\n");
248 fprintf(
stderr,
"\nGIFdecode: corrupted GIF (unexpected EOF)\n");
271 fprintf(
stderr,
"\nGIFdecode: corrupted GIF (big output count)\n");
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void pix
static byte OutCode[4096]
static void OutPixel(byte pix)
int GIFdecode(byte *GIFarr, byte *PIXarr, int *Width, int *Height, int *Ncols, byte *R, byte *G, byte *B)
int GIFinfo(byte *GIFarr, int *Width, int *Height, int *Ncols)