50 for (i = j = 0; i < 1024; i++) {
52 while (l->
prob[j + 1] <= r)
void ff_lag_rac_init(lag_rac *l, GetBitContext *gb, int length)
const uint8_t * bytestream_end
End position of input bytestream.
const uint8_t * bytestream_start
Start of input bytestream.
unsigned scale
Number of bits of precision in range.
static int get_bits_count(const GetBitContext *s)
bitstream reader API header.
static int get_bits_left(GetBitContext *gb)
uint32_t prob[258]
Table of cumulative probability for each symbol.
uint8_t range_hash[1024]
Hash table mapping upper byte to approximate symbol.
unsigned hash_shift
Number of bits to shift to calculate hash for radix search.
static const uint8_t * align_get_bits(GetBitContext *s)
const uint8_t * bytestream
Current position in input bytestream.