ROOT 6.14/05 Reference Guide |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Macros | |
#define | ARGS(alist) () |
#define | BITS 12 /* largest code size */ |
#define | HSIZE 5003 /* hash table size */ |
#define | put_byte(A) (*put_b)((byte)(A)); Nbyte++ |
#define | SHIFT 4 /* shift for hashing */ |
#define | THELIMIT 4096 /* NEVER generate this */ |
Typedefs | |
typedef unsigned char | byte |
Functions | |
static void put_b | ARGS ((byte)) |
static void output | ARGS ((int)) |
static void | char_flush () |
static void | char_init () |
static void | char_out (int c) |
long | GIFencode (void *int, void *int, void *int, R, G, B, ScLine, void *get_scline, pb) |
static void | output (int code) |
static void | put_short (int word) |
Variables | |
static int | a_count |
static char | accum [256] |
static int | BitsPixel |
static int | ClearCode |
static int | CodeTab [HSIZE] |
static unsigned long | cur_accum |
static int | cur_bits |
static int | CurCodeSize |
static int | CurMaxCode |
static int | EOFCode |
static int | FreeCode |
static long | HashTab [HSIZE] |
static int | IniCodeSize |
static unsigned long | masks [] |
static long | Nbyte |
#define ARGS | ( | alist | ) | () |
Definition at line 10 of file gifencode.c.
#define BITS 12 /* largest code size */ |
Definition at line 13 of file gifencode.c.
#define HSIZE 5003 /* hash table size */ |
Definition at line 15 of file gifencode.c.
Definition at line 18 of file gifencode.c.
#define SHIFT 4 /* shift for hashing */ |
Definition at line 16 of file gifencode.c.
#define THELIMIT 4096 /* NEVER generate this */ |
Definition at line 14 of file gifencode.c.
typedef unsigned char byte |
Definition at line 20 of file gifencode.c.
|
static |
Definition at line 289 of file gifencode.c.
|
static |
Definition at line 274 of file gifencode.c.
|
static |
Definition at line 281 of file gifencode.c.
Definition at line 63 of file gifencode.c.
|
static |
Definition at line 226 of file gifencode.c.
|
static |
Definition at line 301 of file gifencode.c.
|
static |
Definition at line 209 of file gifencode.c.
|
static |
Definition at line 210 of file gifencode.c.
|
static |
Definition at line 25 of file gifencode.c.
|
static |
Definition at line 25 of file gifencode.c.
|
static |
Definition at line 23 of file gifencode.c.
|
static |
Definition at line 207 of file gifencode.c.
|
static |
Definition at line 208 of file gifencode.c.
|
static |
Definition at line 25 of file gifencode.c.
|
static |
Definition at line 25 of file gifencode.c.
|
static |
Definition at line 25 of file gifencode.c.
|
static |
Definition at line 25 of file gifencode.c.
|
static |
Definition at line 22 of file gifencode.c.
|
static |
Definition at line 25 of file gifencode.c.
|
static |
Definition at line 211 of file gifencode.c.
|
static |
Definition at line 33 of file gifencode.c.