Lines Matching refs:total_gain
183 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()
403 while(total_gain <= 128 && error > 0) in encode_superframe()
404 error = encode_frame(s, s->coefs, avpkt->data, avpkt->size, total_gain++); in encode_superframe()