Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
TGifDecode Class Reference

Definition at line 8 of file gifdecode.h.

Public Member Functions

int GIFdecode (unsigned char *GIFarr, unsigned char *PIXarr, int *Width, int *Height, int *Ncols, unsigned char *R, unsigned char *G, unsigned char *B)

Static Public Member Functions

static int GIFinfo (unsigned char *GIFarr, int *Width, int *Height, int *Ncols)

Private Member Functions

void OutPixel (unsigned char pix)
int ReadCode ()

Private Attributes

long b3 [3] = {0, 0, 0}
long CurBit = -1
long CurByte = -1
int CurCodeSize = 0
int CurMaxCode = 0
unsigned char lblk = 0
unsigned char * ptr1 = nullptr
unsigned char * ptr2 = nullptr

#include </home/stephan/code/root-2/graf2d/gifencode/gifdecode.h>

Member Function Documentation

◆ GIFdecode()

int TGifDecode::GIFdecode ( unsigned char * GIFarr,
unsigned char * PIXarr,
int * Width,
int * Height,
int * Ncols,
unsigned char * R,
unsigned char * G,
unsigned char * B )

Definition at line 135 of file gifdecode.cxx.

◆ GIFinfo()

int TGifDecode::GIFinfo ( unsigned char * GIFarr,
int * Width,
int * Height,
int * Ncols )
static

Definition at line 66 of file gifdecode.cxx.

◆ OutPixel()

void TGifDecode::OutPixel ( unsigned char pix)
private

Definition at line 46 of file gifdecode.cxx.

◆ ReadCode()

int TGifDecode::ReadCode ( )
private

Definition at line 18 of file gifdecode.cxx.

Member Data Documentation

◆ b3

long TGifDecode::b3[3] = {0, 0, 0}
private

Definition at line 17 of file gifdecode.h.

◆ CurBit

long TGifDecode::CurBit = -1
private

Definition at line 15 of file gifdecode.h.

◆ CurByte

long TGifDecode::CurByte = -1
private

Definition at line 18 of file gifdecode.h.

◆ CurCodeSize

int TGifDecode::CurCodeSize = 0
private

Definition at line 13 of file gifdecode.h.

◆ CurMaxCode

int TGifDecode::CurMaxCode = 0
private

Definition at line 14 of file gifdecode.h.

◆ lblk

unsigned char TGifDecode::lblk = 0
private

Definition at line 19 of file gifdecode.h.

◆ ptr1

unsigned char* TGifDecode::ptr1 = nullptr
private

Definition at line 10 of file gifdecode.h.

◆ ptr2

unsigned char* TGifDecode::ptr2 = nullptr
private

Definition at line 11 of file gifdecode.h.

Collaboration diagram for TGifDecode:
[legend]

The documentation for this class was generated from the following files: