Searched refs:total_gain (Results 1 - 4 of 4) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
H A D | wmaenc.c | 190 int total_gain) in encode_block() 247 mult = ff_exp10(total_gain * 0.05) / s->max_exponent[ch]; in encode_block() 276 for (v = total_gain - 1; v >= 127; v -= 127) in encode_block() 280 coef_nb_bits = ff_wma_total_gain_to_bits(total_gain); in encode_block() 360 uint8_t *buf, int buf_size, int total_gain) in encode_frame() 366 else if (encode_block(s, src_coefs, total_gain) < 0) in encode_frame() 378 int i, total_gain, ret, error; in encode_superframe() local 403 total_gain = 128; in encode_superframe() 406 total_gain - i); in encode_superframe() 408 total_gain in encode_superframe() 189 encode_block(WMACodecContext *s, float (*src_coefs)[BLOCK_MAX_SIZE], int total_gain) encode_block() argument 359 encode_frame(WMACodecContext *s, float (*src_coefs)[BLOCK_MAX_SIZE], uint8_t *buf, int buf_size, int total_gain) encode_frame() argument [all...] |
H A D | wma.c | 352 int ff_wma_total_gain_to_bits(int total_gain) in ff_wma_total_gain_to_bits() argument 354 if (total_gain < 15) in ff_wma_total_gain_to_bits() 356 else if (total_gain < 32) in ff_wma_total_gain_to_bits() 358 else if (total_gain < 40) in ff_wma_total_gain_to_bits() 360 else if (total_gain < 45) in ff_wma_total_gain_to_bits()
|
H A D | wma.h | 153 int ff_wma_total_gain_to_bits(int total_gain);
|
H A D | wmadec.c | 447 int coef_nb_bits, total_gain; in wma_decode_block() local 529 total_gain = 1; in wma_decode_block() 532 av_log(s->avctx, AV_LOG_ERROR, "total_gain overread\n"); in wma_decode_block() 536 total_gain += a; in wma_decode_block() 541 coef_nb_bits = ff_wma_total_gain_to_bits(total_gain); in wma_decode_block() 646 mult = ff_exp10(total_gain * 0.05) / s->max_exponent[ch]; in wma_decode_block()
|
Completed in 6 milliseconds