Macros | Functions | Variables
decompress-huffman.h File Reference
#include <cstdint>
#include <cstring>
Include dependency graph for decompress-huffman.h:

Go to the source code of this file.

Macros

#define ONE_NIBBLE   ONE_NIBBLE_LONG
 
#define ONE_NIBBLE_LONG()
 
#define ONE_NIBBLE_ROLLED()
 
#define ONE_NIBBLE_ROLLED_CHECKING(_bound_)
 
#define ONE_NIBBLE_UNROLLED()
 

Functions

bool unhuffimage4 (uint32_t *compressed_image, uint32_t compressed_length_u32s, uint32_t stride_bytes, uint32_t height, unsigned char *image)
 

Variables

static int DecompressionStateTable [510 *16]
 

Macro Definition Documentation

#define ONE_NIBBLE   ONE_NIBBLE_LONG

Definition at line 155 of file decompress-huffman.h.

#define ONE_NIBBLE_LONG ( )

Definition at line 59 of file decompress-huffman.h.

#define ONE_NIBBLE_ROLLED ( )
Value:
currentState = stateWord & 0x7fc0; \
nextStateWord = *(uint32_t *)(((unsigned char *)DecompressionStateTable) + currentState + nibble); \
if (stateWord & 0x8) { \
*currentImageLine++ = byteAbove + (unsigned char)(stateWord >> 24); \
byteAbove = *previousImageLine++; \
for (i = 0; i < (stateWord & 0x7); i++) { \
*currentImageLine++ = byteAbove; \
byteAbove = *previousImageLine++; \
} \
} \
stateWord = nextStateWord;
static int DecompressionStateTable[510 *16]
unsigned int uint32_t
Definition: stdint.h:80
int i

Definition at line 9 of file decompress-huffman.h.

#define ONE_NIBBLE_ROLLED_CHECKING (   _bound_)
Value:
currentState = stateWord & 0x7fc0; \
nextStateWord = *(uint32_t *)(((unsigned char *)DecompressionStateTable) + currentState + nibble); \
if (stateWord & 0x8) { \
*currentImageLine++ = byteAbove + (unsigned char)(stateWord >> 24); \
byteAbove = *previousImageLine++; \
for (i = 0; i < (stateWord & 0x7) && currentImageLine < (_bound_); i++) { \
*currentImageLine++ = byteAbove; \
byteAbove = *previousImageLine++; \
} \
} \
stateWord = nextStateWord;
static int DecompressionStateTable[510 *16]
unsigned int uint32_t
Definition: stdint.h:80
int i

Definition at line 142 of file decompress-huffman.h.

#define ONE_NIBBLE_UNROLLED ( )

Definition at line 22 of file decompress-huffman.h.

Function Documentation

bool unhuffimage4 ( uint32_t compressed_image,
uint32_t  compressed_length_u32s,
uint32_t  stride_bytes,
uint32_t  height,
unsigned char *  image 
)

Definition at line 8832 of file decompress-huffman.h.

Variable Documentation

int DecompressionStateTable[510 *16]
static

Definition at line 157 of file decompress-huffman.h.



librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:24