Searched refs:pitch_gain (Results 1 - 6 of 6) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
H A D | amrnbdec.c | 124 float pitch_gain[5]; ///< quantified pitch gains for the current and previous four subframes member 127 float beta; ///< previous pitch_gain, bounded by [0.0,SHARP_MAX] 569 p->beta = FFMIN(p->pitch_gain[4], 1.0); in pitch_sharpening() 578 p->beta = av_clipf(p->pitch_gain[4], 0.0, SHARP_MAX); in pitch_sharpening() 645 p->pitch_gain[4] = qua_gain_pit [amr_subframe->p_gain ] in decode_gains() 661 p->pitch_gain[4] = gains[0] * (1.0 / 16384.0); in decode_gains() 735 if (p->pitch_gain[4] < 0.6) { in anti_sparseness() 737 } else if (p->pitch_gain[4] < 0.9) { in anti_sparseness() 752 if (p->pitch_gain[i] < 0.6) in anti_sparseness() 814 p->pitch_gain[ in synthesis() [all...] |
H A D | qcelpdec.c | 70 float pitch_gain[4]; member 479 q->pitch_gain[i] = q->frame.plag[i] ? (q->frame.pgain[i] + 1) * 0.25 : 0.0; in apply_pitch_filters() 496 q->pitch_gain[i] = FFMIN(q->pitch_gain[i], max_pitch_gain); in apply_pitch_filters() 503 cdn_vector, q->pitch_gain, in apply_pitch_filters() 508 q->pitch_gain[i] = 0.5 * FFMIN(q->pitch_gain[i], 1.0); in apply_pitch_filters() 512 q->pitch_gain, q->pitch_lag, in apply_pitch_filters() 520 memset(q->pitch_gain, 0, sizeof(q->pitch_gain)); in apply_pitch_filters() [all...] |
H A D | sipr.c | 394 float pitch_gain, gain_code, avg_energy; in decode_frame() local 420 ctx->past_pitch_gain = pitch_gain = gain_cb[params->gc_index[i]][0]; in decode_frame() 428 pitch_gain, gain_code, SUBFR_SIZE); in decode_frame() 430 pitch_gain *= 0.5 * pitch_gain; in decode_frame() 431 pitch_gain = FFMIN(pitch_gain, 0.4); in decode_frame() 433 ctx->gain_mem = 0.7 * ctx->gain_mem + 0.3 * pitch_gain; in decode_frame() 434 ctx->gain_mem = FFMIN(ctx->gain_mem, pitch_gain); in decode_frame()
|
H A D | amrwbdec.c | 70 float pitch_gain[6]; ///< quantified pitch gains for the current and previous five subframes member 572 * @param[out] pitch_gain Decoded pitch gain 575 float *fixed_gain_factor, float *pitch_gain) in decode_gains() 580 *pitch_gain = gains[0] * (1.0f / (1 << 14)); in decode_gains() 646 if (ctx->pitch_gain[0] < 0.6) { in anti_sparseness() 648 } else if (ctx->pitch_gain[0] < 0.9) { in anti_sparseness() 661 if (ctx->pitch_gain[i] < 0.6) in anti_sparseness() 786 ctx->pitch_gain[0], fixed_gain, AMRWB_SFR_SIZE); in synthesis() 789 if (ctx->pitch_gain[0] > 0.5 && ctx->fr_cur_mode <= MODE_8k85) { in synthesis() 796 float pitch_factor = 0.25 * ctx->pitch_gain[ in synthesis() 574 decode_gains(const uint8_t vq_gain, const enum Mode mode, float *fixed_gain_factor, float *pitch_gain) decode_gains() argument [all...] |
H A D | evrcdec.c | 479 float *excitation, float pitch_gain, in fcb_excitation() 489 pitch_gain = av_clipf(pitch_gain, 0.2, 0.9); in fcb_excitation() 492 excitation[i] += pitch_gain * excitation[i - pitch_lag]; in fcb_excitation() 478 fcb_excitation(EVRCContext *e, const uint16_t *codebook, float *excitation, float pitch_gain, int pitch_lag, int subframe_size) fcb_excitation() argument
|
H A D | speexdec.c | 878 float pitch_gain[3] = { 0 }; in nb_decode() local 1020 NB_SUBFRAME_SIZE, &pitch, pitch_gain, gb, st->count_lost, offset, in nb_decode() 1025 tmp = gain_3tap_to_1tap(pitch_gain); in nb_decode()
|
Completed in 10 milliseconds