helpers.h File Reference

#include <inttypes.h>

Include dependency graph for helpers.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define LITTLE_TO_NATIVE16(x)   x
#define LITTLE_TO_NATIVE32(x)   x
#define BIG_TO_NATIVE16(x)
#define BIG_TO_NATIVE32(x)


Define Documentation

#define BIG_TO_NATIVE16  ) 
 

Value:

(((((uint16_t) x) & 0xFF) << 8) | \
                               (((uint16_t) x) >> 8))

#define BIG_TO_NATIVE32  ) 
 

Value:

(((((uint32_t) x) & 0xFF) << 24) | \
                               (((((uint32_t) x) >> 8) & 0xFF) << 16) | \
                               (((((uint32_t) x) >> 16) & 0xFF) << 8) | \
                               (((uint32_t) x) >> 24))

#define LITTLE_TO_NATIVE16  )     x
 

#define LITTLE_TO_NATIVE32  )     x
 


Generated on Mon Jan 23 19:44:38 2006 for Visualization by  doxygen 1.4.6