Home
last modified time | relevance | path

Searched refs:bit_buf (Results 1 – 1 of 1) sorted by relevance

/reactos/sdk/tools/hhpcomp/lzx_compress/
H A Dlzx_layer.c419 uint16_t bit_buf; member
802 lzxd->bit_buf = (bits>>rshift_bits) & 0xFFFF; in lzx_write_bits()
806 lzxd->bit_buf <<= shift_bits; in lzx_write_bits()
807 lzxd->bit_buf |= (bits>>rshift_bits) & mask_bits; in lzx_write_bits()
810 fprintf(stderr, "WBB: %04x\n", lzxd->bit_buf); in lzx_write_bits()
813 lzxd->bit_buf = ((lzxd->bit_buf & 0xFF)<<8) | (lzxd->bit_buf >> 8); in lzx_write_bits()
815 lzxd->put_bytes(lzxd->out_arg, sizeof(lzxd->bit_buf), &lzxd->bit_buf); in lzx_write_bits()
816 lzxd->len_compressed_output += sizeof(lzxd->bit_buf); in lzx_write_bits()
817 lzxd->bit_buf = 0; in lzx_write_bits()
825 lzxd->bit_buf <<= shift_bits; in lzx_write_bits()
[all …]