Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dwmaenc.c183 int total_gain) in encode_block() argument
239 mult = ff_exp10(total_gain * 0.05) / s->max_exponent[ch]; in encode_block()
268 for (v = total_gain - 1; v >= 127; v -= 127) in encode_block()
272 coef_nb_bits = ff_wma_total_gain_to_bits(total_gain); in encode_block()
352 uint8_t *buf, int buf_size, int total_gain) in encode_frame() argument
358 else if (encode_block(s, src_coefs, total_gain) < 0) in encode_frame()
370 int i, total_gain, ret, error; in encode_superframe() local
395 total_gain = 128; in encode_superframe()
398 total_gain - i); in encode_superframe()
400 total_gain -= i; in encode_superframe()
[all …]
Dwma.c350 int ff_wma_total_gain_to_bits(int total_gain) in ff_wma_total_gain_to_bits() argument
352 if (total_gain < 15) in ff_wma_total_gain_to_bits()
354 else if (total_gain < 32) in ff_wma_total_gain_to_bits()
356 else if (total_gain < 40) in ff_wma_total_gain_to_bits()
358 else if (total_gain < 45) in ff_wma_total_gain_to_bits()
Dwmadec.c430 int coef_nb_bits, total_gain; in wma_decode_block() local
512 total_gain = 1; in wma_decode_block()
519 total_gain += a; in wma_decode_block()
524 coef_nb_bits = ff_wma_total_gain_to_bits(total_gain); in wma_decode_block()
629 mult = ff_exp10(total_gain * 0.05) / s->max_exponent[ch]; in wma_decode_block()
Dwma.h151 int ff_wma_total_gain_to_bits(int total_gain);