AlcapDAQ
1
|
Go to the source code of this file.
Functions | |
int | num_leading_bits (unsigned char n, int bit_val) |
void | rle_bits_setup () |
void | rle_put (unsigned char b, rle_state *s, io_buffer *output) |
int | flush_rle (rle_state *s, io_buffer *output) |
int | rle_get (io_buffer *input, rle_state *s) |
Variables | |
static int | rle_bits_setup_done = 0 |
static char | num_leading_0 [256] |
static char | num_leading_1 [256] |
static unsigned char | ones [9] |
Definition at line 103 of file rle.cpp.
References flush_output_buffer(), rle_state::huffman, rle_state::huffman_length, huffman_put_symbol(), io_buffer_put(), rle_state::run_length, and rle_state::running_digit.
Referenced by encode_bits(), and encode_cmp_bits().
int num_leading_bits | ( | unsigned char | n, |
int | bit_val | ||
) |
void rle_bits_setup | ( | ) |
Definition at line 41 of file rle.cpp.
References i, num_leading_0, num_leading_1, num_leading_bits(), ones, and rle_bits_setup_done.
Referenced by caen_compress(), caen_expand(), cmp_compress(), cmp_expand(), fadc_compress(), fadc_expand(), hits_compress(), hits_expand(), stck_compress(), stck_expand(), tdc400_compress(), and tdc400_expand().
Definition at line 117 of file rle.cpp.
References rle_state::huffman, huffman_get_symbol(), rle_state::huffman_length, io_buffer_get(), ones, rle_state::run_length, and rle_state::running_digit.
Referenced by decode_bits(), and decode_cmp_bits().
Definition at line 66 of file rle.cpp.
References rle_state::huffman, rle_state::huffman_length, huffman_put_symbol(), io_buffer_put(), num_leading_0, num_leading_1, rle_state::run_length, rle_state::running_digit, and rle_state::use_extension_word.
Referenced by encode_bits(), and encode_cmp_bits().
|
static |
Definition at line 14 of file rle.cpp.
Referenced by rle_bits_setup(), and rle_put().
|
static |
Definition at line 15 of file rle.cpp.
Referenced by rle_bits_setup(), and rle_put().
|
static |
Definition at line 16 of file rle.cpp.
Referenced by rle_bits_setup(), and rle_get().
|
static |
Definition at line 13 of file rle.cpp.
Referenced by rle_bits_setup().