Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

RVLCompress.hpp File Reference

#include "lemur-platform.h"

Go to the source code of this file.

Namespaces

namespace  lemur
namespace  lemur::utility

Defines

#define pow2_7   128
#define pow2_14   16384
#define pow2_21   2097152
#define pow2_28   268435456
#define pow2_31   2147483648U
#define RVL_COMPRESS_MASK   ((1<<7)-1)
#define RVL_COMPRESS_TERMINATE_BIT   (1<<7)
#define RVL_COMPRESS_BYTE(d, in, b)   d[b] = (char) ((in >> 7*b) & ((1<<7)-1))
#define RVL_COMPRESS_TERMINATE(d, in, b)   d[b] = (char) ((in >> 7*b) | (1<<7))


Define Documentation

#define pow2_14   16384
 

#define pow2_21   2097152
 

#define pow2_28   268435456
 

#define pow2_31   2147483648U
 

#define pow2_7   128
 

#define RVL_COMPRESS_BYTE d,
in,
 )     d[b] = (char) ((in >> 7*b) & ((1<<7)-1))
 

#define RVL_COMPRESS_MASK   ((1<<7)-1)
 

#define RVL_COMPRESS_TERMINATE d,
in,
 )     d[b] = (char) ((in >> 7*b) | (1<<7))
 

#define RVL_COMPRESS_TERMINATE_BIT   (1<<7)
 


Generated on Tue Jun 15 11:02:57 2010 for Lemur by doxygen 1.3.4