#include "Atomix.h"
Go to the source code of this file.
|
ATX_Result | TS2_BitStream_SetData (TS2_BitStream *bits, const ATX_Byte *data, ATX_Size data_size) |
|
ATX_Result | TS2_BitStream_Reset (TS2_BitStream *bits) |
|
ATX_Size | TS2_BitStream_GetBitsLeft (TS2_BitStream *bits) |
|
ATX_Result | TS2_BitStream_Rewind (TS2_BitStream *bits, ATX_UInt32 n) |
|
ATX_UInt32 | TS2_BitStream_ReadBits (TS2_BitStream *bits, ATX_UInt32 n) |
|
ATX_UInt32 | TS2_BitStream_ReadBit (TS2_BitStream *bits) |
|
ATX_UInt64 | TS2_BitStream_Read64 (TS2_BitStream *bits, ATX_UInt32 n) |
|
ATX_Result | TS2_BitStream_ReadTimecode (TS2_BitStream *bits, ATX_UInt64 *timecode) |
|
ATX_UInt32 | TS2_BitStream_PeekBits (const TS2_BitStream *bits, ATX_UInt32 n) |
|
ATX_UInt32 | TS2_BitStream_PeekBit (const TS2_BitStream *bits) |
|
void | TS2_BitStream_SkipBits (TS2_BitStream *bits, ATX_UInt32 n) |
|
void | TS2_BitStream_SkipBit (TS2_BitStream *bits) |
|
ATX_Result | TS2_BitWriter_SetData (TS2_BitWriter *writer, ATX_Byte *data, ATX_Size data_size) |
| doesn't take ownership of data, just write into the buffer More...
|
|
ATX_Result | TS2_BitWriter_Write (TS2_BitWriter *writer, ATX_UInt32 bits, ATX_UInt32 bit_count) |
|
ATX_Result | TS2_BitWriter_WriteAlignedBytes (TS2_BitWriter *writer, ATX_Byte *data, ATX_Size data_size) |
|
#define TS2_BitWriter_ByteCount |
( |
|
writer | ) |
((ATX_UInt32)((writer)->bit_count / 8)) |
#define TS2_BitWriter_IsByteAligned |
( |
|
writer | ) |
((writer)->bit_count%8 == 0) |
ATX_UInt32 TS2_BitStream_PeekBits |
( |
const TS2_BitStream * |
bits, |
|
|
ATX_UInt32 |
n |
|
) |
| |
ATX_UInt64 TS2_BitStream_Read64 |
( |
TS2_BitStream * |
bits, |
|
|
ATX_UInt32 |
n |
|
) |
| |
ATX_UInt32 TS2_BitStream_ReadBits |
( |
TS2_BitStream * |
bits, |
|
|
ATX_UInt32 |
n |
|
) |
| |
ATX_Result TS2_BitStream_ReadTimecode |
( |
TS2_BitStream * |
bits, |
|
|
ATX_UInt64 * |
timecode |
|
) |
| |
ATX_Result TS2_BitStream_Rewind |
( |
TS2_BitStream * |
bits, |
|
|
ATX_UInt32 |
n |
|
) |
| |
ATX_Result TS2_BitStream_SetData |
( |
TS2_BitStream * |
bits, |
|
|
const ATX_Byte * |
data, |
|
|
ATX_Size |
data_size |
|
) |
| |
void TS2_BitStream_SkipBits |
( |
TS2_BitStream * |
bits, |
|
|
ATX_UInt32 |
n |
|
) |
| |
ATX_Result TS2_BitWriter_SetData |
( |
TS2_BitWriter * |
writer, |
|
|
ATX_Byte * |
data, |
|
|
ATX_Size |
data_size |
|
) |
| |
doesn't take ownership of data, just write into the buffer
ATX_Result TS2_BitWriter_Write |
( |
TS2_BitWriter * |
writer, |
|
|
ATX_UInt32 |
bits, |
|
|
ATX_UInt32 |
bit_count |
|
) |
| |
ATX_Result TS2_BitWriter_WriteAlignedBytes |
( |
TS2_BitWriter * |
writer, |
|
|
ATX_Byte * |
data, |
|
|
ATX_Size |
data_size |
|
) |
| |