Home
last modified time | relevance | path

Searched refs:FREQ_BITS (Results 1 - 1 of 1) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dbgmc.c31 #define FREQ_BITS 14 // bits used by frequency counters macro
38 #define LUT_BITS (FREQ_BITS - 8) // number of bits used to index lookup tables
432 unsigned int target = (i + 1) << (FREQ_BITS - LUT_BITS); in bgmc_lut_fillp()
528 unsigned int target = (((value - low + 1) << FREQ_BITS) - 1) / range; in ff_bgmc_decode()
529 unsigned int symbol = lut[target >> (FREQ_BITS - LUT_BITS)] << delta; in ff_bgmc_decode()
536 high = low + ((range * cf_table[sx][(symbol) << delta] - (1 << FREQ_BITS)) >> FREQ_BITS); in ff_bgmc_decode()
537 low = low + ((range * cf_table[sx][(symbol + 1) << delta]) >> FREQ_BITS); in ff_bgmc_decode()

Completed in 1 milliseconds