GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LDT / V0-5-0 > test_huff / linux-gcc
Functions | |
static __inline void | bswp__store32 (unsigned int *dst, unsigned int val) |
Store the byte-swapped version of val in dst. | |
static __inline unsigned int | bswp__load32 (unsigned int *src) |
Return the byte-swapped version of the 32-bit value at dst. | |
static __inline void | bswp__store32b (unsigned int *dst, unsigned int val) |
Store the big endian representation of val in dst. | |
static __inline unsigned int | bswp__load32b (unsigned int *src) |
Return the big-endian version of the 32-bit value at src. | |
static __inline void | bswp__store32l (unsigned int *dst, unsigned int val) |
static __inline unsigned int | bswp__load32l (unsigned int *src) |
CVS $Id: bswp.h,v 1.2 2006/01/24 00:20:24 russell Exp $
unsigned int bswp__load32 | ( | unsigned int * | src | ) | [static] |
Return the byte-swapped version of the 32-bit value at dst.
src | The source location to fetch the 32-bit value from |
unsigned int bswp__load32b | ( | unsigned int * | src | ) | [static] |
Return the big-endian version of the 32-bit value at src.
src | The location to fetch the 32-bit value from |
void bswp__store32 | ( | unsigned int * | dst, | |
unsigned int | val | |||
) | [static] |
Store the byte-swapped version of val in dst.
dst | The destination address, must be 32-bit aligned | |
val | The 32-bit value to store |
void bswp__store32b | ( | unsigned int * | dst, | |
unsigned int | val | |||
) | [static] |
Store the big endian representation of val in dst.
dst | The destination address, must be 32-bit aligned | |
val | The 32-bit value to store |