FreeRDP
bitstream.h File Reference
#include <winpr/winpr.h>
#include <winpr/wtypes.h>
#include <winpr/crt.h>
#include <winpr/wlog.h>
This graph shows which files directly or indirectly include this file:

Data Structures

struct  wBitStream
 

Macros

#define BITDUMP_MSB_FIRST   0x00000001
 
#define BITDUMP_STDERR   0x00000002
 

Functions

static INLINE void BitStream_Prefetch (wBitStream *_bs)
 
static INLINE void BitStream_Fetch (wBitStream *_bs)
 
static INLINE void BitStream_Flush (wBitStream *_bs)
 
static INLINE void BitStream_Shift (wBitStream *_bs, UINT32 _nbits)
 
static INLINE void BitStream_Shift32 (wBitStream *_bs)
 
static INLINE void BitStream_Write_Bits (wBitStream *_bs, UINT32 _bits, UINT32 _nbits)
 
static INLINE size_t BitStream_GetRemainingLength (wBitStream *_bs)
 
WINPR_API void BitDump (const char *tag, UINT32 level, const BYTE *buffer, UINT32 length, UINT32 flags)
 
WINPR_API UINT32 ReverseBits32 (UINT32 bits, UINT32 nbits)
 
WINPR_API void BitStream_Attach (wBitStream *bs, const BYTE *buffer, UINT32 capacity)
 
WINPR_API wBitStream * BitStream_New ()
 
WINPR_API void BitStream_Free (wBitStream *bs)
 

Macro Definition Documentation

#define BITDUMP_MSB_FIRST   0x00000001
#define BITDUMP_STDERR   0x00000002

Function Documentation

WINPR_API void BitDump ( const char *  tag,
UINT32  level,
const BYTE buffer,
UINT32  length,
UINT32  flags 
)

Here is the caller graph for this function:

WINPR_API void BitStream_Attach ( wBitStream *  bs,
const BYTE buffer,
UINT32  capacity 
)

Here is the caller graph for this function:

static INLINE void BitStream_Fetch ( wBitStream *  _bs)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static INLINE void BitStream_Flush ( wBitStream *  _bs)
static

Here is the caller graph for this function:

WINPR_API void BitStream_Free ( wBitStream *  bs)

Here is the caller graph for this function:

static INLINE size_t BitStream_GetRemainingLength ( wBitStream *  _bs)
static

Here is the call graph for this function:

Here is the caller graph for this function:

WINPR_API wBitStream* BitStream_New ( )

Here is the caller graph for this function:

static INLINE void BitStream_Prefetch ( wBitStream *  _bs)
static

Here is the caller graph for this function:

static INLINE void BitStream_Shift ( wBitStream *  _bs,
UINT32  _nbits 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static INLINE void BitStream_Shift32 ( wBitStream *  _bs)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static INLINE void BitStream_Write_Bits ( wBitStream *  _bs,
UINT32  _bits,
UINT32  _nbits 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

WINPR_API UINT32 ReverseBits32 ( UINT32  bits,
UINT32  nbits 
)

Here is the call graph for this function:

Here is the caller graph for this function: