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