diff options
author | Ricardo Cerqueira <cyanogenmod@cerqueira.org> | 2013-11-01 16:04:20 +0000 |
---|---|---|
committer | Ricardo Cerqueira <cyanogenmod@cerqueira.org> | 2013-11-01 16:04:20 +0000 |
commit | 00ca3fbf9ed67494a6e37ed05349e0308caf7154 (patch) | |
tree | 05d9cc19122594f50a6f55408726bd5d8aecdd0e /gif_hash.h | |
parent | b027dc00b076d1820924bdcefeb987bb5d2dbf35 (diff) | |
parent | 9aef3ea079a57c98a9207f8c3b95a5dc08ee74b5 (diff) | |
download | android_external_giflib-00ca3fbf9ed67494a6e37ed05349e0308caf7154.tar.gz android_external_giflib-00ca3fbf9ed67494a6e37ed05349e0308caf7154.tar.bz2 android_external_giflib-00ca3fbf9ed67494a6e37ed05349e0308caf7154.zip |
Merge tag 'android-4.4_r1' into cm-11.0cm-11.0-XNPH44S-bacon-5fa8c79c0bcm-11.0-XNPH33R-bacon-3628510d76cm-11.0-XNPH30O-bacon-4f280f505acm-11.0-XNPH25R-bacon-d22b777afacm-11.0-XNPH22R-bacon-03d77315eacm-11.0-XNPH05Q-tomato-9828f8e9cccm-11.0-XNPH05Q-bacon-5229c4ef56stable/cm-11.0-XNG3Cstable/cm-11.0-XNG2Sstable/cm-11.0-XNF9Xstable/cm-11.0-XNF8Ystable/cm-11.0shipping/cm-11.0cm-11.0
Android 4.4 Release 1.0
Diffstat (limited to 'gif_hash.h')
-rw-r--r-- | gif_hash.h | 38 |
1 files changed, 9 insertions, 29 deletions
@@ -1,36 +1,14 @@ /****************************************************************************** -* Declarations, global to other of the GIF-HASH.C module. * -* * -* Written by Gershon Elber, Jun 1989 * -******************************************************************************* -* History: * -* 14 Jun 89 - Version 1.0 by Gershon Elber. * + +gif_hash.h - magfic constants and declarations for GIF LZW + ******************************************************************************/ #ifndef _GIF_HASH_H_ #define _GIF_HASH_H_ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - -/* Find a thirty-two bit int type */ -#ifdef HAVE_STDINT_H -#include <stdint.h> -#endif -#ifdef HAVE_INTTYPES_H -#include <inttypes.h> -#endif -#ifdef HAVE_SYS_TYPES_H -#include <sys/types.h> -#endif -#ifdef HAVE_UNISTD_H #include <unistd.h> -#endif - -#ifdef HAVE_BASETSD_H -#include <basetsd.h> -#endif +#include <stdint.h> #define HT_SIZE 8192 /* 12bits = 4096 or twice as big! */ #define HT_KEY_MASK 0x1FFF /* 13bits keys */ @@ -48,12 +26,14 @@ #define HT_PUT_CODE(l) (l & 0x0FFF) typedef struct GifHashTableType { - UINT32 HTable[HT_SIZE]; + uint32_t HTable[HT_SIZE]; } GifHashTableType; GifHashTableType *_InitHashTable(void); void _ClearHashTable(GifHashTableType *HashTable); -void _InsertHashTable(GifHashTableType *HashTable, UINT32 Key, int Code); -int _ExistsHashTable(GifHashTableType *HashTable, UINT32 Key); +void _InsertHashTable(GifHashTableType *HashTable, uint32_t Key, int Code); +int _ExistsHashTable(GifHashTableType *HashTable, uint32_t Key); #endif /* _GIF_HASH_H_ */ + +/* end */ |