MloBitStream.h File Reference

Melo - Bit Streams. More...

#include "MloConfig.h"
#include "MloTypes.h"
#include "MloResults.h"

Go to the source code of this file.

Data Structures

struct  MLO_BitStream

Defines

#define MLO_ERROR_NOT_ENOUGH_DATA   (MLO_ERROR_BASE_BITSTREAM - 0)
#define MLO_ERROR_CORRUPTED_BITSTREAM   (MLO_ERROR_BASE_BITSTREAM - 1)
#define MLO_ERROR_NOT_ENOUGH_FREE_BUFFER   (MLO_ERROR_BASE_BITSTREAM - 2)
#define MLO_WORD_BITS   32
#define MLO_WORD_BYTES   4
#define MLO_BIT_MASK(_n)   ((1<<(_n))-1)

Typedefs

typedef unsigned int MLO_BitsWord

Functions

MLO_Result MLO_BitStream_Construct (MLO_BitStream *bits, MLO_Size size)
MLO_Result MLO_BitStream_Destruct (MLO_BitStream *bits)
MLO_Result MLO_BitStream_SetData (MLO_BitStream *bits, const MLO_Byte *data, MLO_Size data_size)
MLO_Result MLO_BitStream_ByteAlign (MLO_BitStream *bits)
MLO_Result MLO_BitStream_Reset (MLO_BitStream *bits)
MLO_Size MLO_BitStream_GetBitsLeft (MLO_BitStream *bits)


Detailed Description

Melo - Bit Streams.