gif_hash.c File Reference

#include "../config.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <stdio.h>
#include <string.h>
#include "gif_lib.h"
#include "gif_hash.h"
#include "gif_lib_private.h"

Go to the source code of this file.

Functions

static int KeyItem (UINT32 Item)
GifHashTableType_InitHashTable (void)
void _ClearHashTable (GifHashTableType *HashTable)
void _InsertHashTable (GifHashTableType *HashTable, UINT32 Key, int Code)
int _ExistsHashTable (GifHashTableType *HashTable, UINT32 Key)


Function Documentation

void _ClearHashTable ( GifHashTableType HashTable  ) 

Definition at line 77 of file gif_hash.c.

References HT_SIZE, and UINT32.

Referenced by _InitHashTable(), EGifCompressLine(), and EGifSetupCompress().

int _ExistsHashTable ( GifHashTableType HashTable,
UINT32  Key 
)

Definition at line 109 of file gif_hash.c.

References HT_GET_CODE, HT_GET_KEY, HT_KEY_MASK, KeyItem(), and UINT32.

Referenced by EGifCompressLine().

GifHashTableType* _InitHashTable ( void   ) 

Definition at line 60 of file gif_hash.c.

References _ClearHashTable(), malloc(), and NULL.

Referenced by EGifOpen(), and EGifOpenFileHandle().

void _InsertHashTable ( GifHashTableType HashTable,
UINT32  Key,
int  Code 
)

Definition at line 86 of file gif_hash.c.

References HT_GET_KEY, HT_KEY_MASK, HT_PUT_CODE, HT_PUT_KEY, KeyItem(), and UINT32.

Referenced by EGifCompressLine().

static int KeyItem ( UINT32  Item  )  [static]

Definition at line 137 of file gif_hash.c.

References HT_KEY_MASK.

Referenced by _ExistsHashTable(), and _InsertHashTable().


Generated on Tue Jul 5 15:58:09 2011 for ROOT_528-00b_version by  doxygen 1.5.1