Byte based writer for un-aligned bit streaming. More...
#include <encoding.h>
Public Member Functions | |
bit_out (TEncoder &dest) | |
~bit_out () | |
void | put_bit (unsigned value) |
void | put_bits (unsigned value, unsigned count) |
void | put_zero_bit () |
void | put_zero_bits (register unsigned count) |
void | gamma (unsigned value) |
void | flush () |
Byte based writer for un-aligned bit streaming.
Definition at line 141 of file encoding.h.
bm::bit_out< TEncoder >::bit_out | ( | TEncoder & | dest | ) | [inline] |
Definition at line 144 of file encoding.h.
bm::bit_out< TEncoder >::~bit_out | ( | ) | [inline] |
Definition at line 148 of file encoding.h.
void bm::bit_out< TEncoder >::flush | ( | ) | [inline] |
Definition at line 304 of file encoding.h.
void bm::bit_out< TEncoder >::gamma | ( | unsigned | value | ) | [inline] |
Definition at line 229 of file encoding.h.
References BM_ASSERT, and bm::ilog2_LUT().
Referenced by bm::serializer< BV >::gamma_gap_array().
void bm::bit_out< TEncoder >::put_bit | ( | unsigned | value | ) | [inline] |
Definition at line 154 of file encoding.h.
References BM_ASSERT.
void bm::bit_out< TEncoder >::put_bits | ( | unsigned | value, | |
unsigned | count | |||
) | [inline] |
Definition at line 162 of file encoding.h.
void bm::bit_out< TEncoder >::put_zero_bit | ( | ) | [inline] |
Definition at line 195 of file encoding.h.
void bm::bit_out< TEncoder >::put_zero_bits | ( | register unsigned | count | ) | [inline] |
Definition at line 201 of file encoding.h.