GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LDT / dev > test_bt / rhel6-64
Classes | |
struct | _BTE_compressed |
Combines the compressed word, its encoding scheme and its size in bits in one structure. More... | |
Typedefs | |
typedef struct _BTE_compressed | BTE_compressed |
Typedef for struct _BTE_compressed. | |
Functions | |
BTE_compressed | BTE_wordCompress (unsigned int w) |
unsigned int | BTE_wordEncode (unsigned int w, unsigned int pattern, unsigned int scheme_size) |
unsigned int | BTE_wordPattern (unsigned int w) |
unsigned int | BTE_wordSize (unsigned int w, unsigned int pattern, unsigned int scheme) |
unsigned int | BTE_wordSchemeSize (unsigned int w, unsigned int pattern) |
unsigned int | BTE_wordSizes (unsigned int w, unsigned int pattern) |
BTE_compressed | BTE_shortCompress (unsigned short int w) |
unsigned int | BTE_shortEncode (unsigned short int w, unsigned int pattern, unsigned int scheme_size) |
unsigned int | BTE_shortPattern (unsigned short int w) |
unsigned int | BTE_shortSize (unsigned short int w, unsigned int pattern, unsigned int scheme) |
unsigned int | BTE_shortSchemeSize (unsigned short w, unsigned int pattern) |
unsigned int | BTE_shortSizes (unsigned short int w, unsigned int pattern) |
static __inline int | BTE_size (unsigned int scheme_size) |
Extracts the size, in bits, from the scheme/size word. | |
static __inline int | BTE_scheme (unsigned int scheme_size) |
Extracts the encoding scheme, from the scheme/size word. |
CVS $Id: BTE.h,v 1.3 2009/04/29 23:06:40 russell Exp $
Interface specification for routines to encode bit strings using a binary tree.
Typedef for struct _BTE_compressed.
static __inline int BTE_scheme | ( | unsigned int | schemeSize | ) | [static] |
Extracts the encoding scheme, from the scheme/size word.
schemeSize | The word containing the packed scheme and size fields. This is returned by BTE_wordSchemeSize |
static __inline int BTE_size | ( | unsigned int | schemeSize | ) | [static] |
Extracts the size, in bits, from the scheme/size word.
schemeSize | The word containing the packed scheme and size fields. This is returned by BTE_wordSchemeSize |