¡@

Home 

c++ Programming Glossary: bit_pos

fastest way to write a bitstream on modern x86 hardware

http://stackoverflow.com/questions/5704597/fastest-way-to-write-a-bitstream-on-modern-x86-hardware

time from the calling code. unsigned char membuff unsigned bit_pos current BIT position in the buffer so it's max size is 512Mb.. bit_cnt MUST be in range 0..17 unsigned int byte_offset bit_pos 3 byte_offset ~1 rounding down by 2. unsigned int bits unsigned.. 2. unsigned int bits unsigned int membuff byte_offset bits bit_pos 0xF bit_pos bit_cnt return bits BIT_MASKS bit_cnt output buffer..