21 #ifndef FFMPEG_G729POSTFILTER_H
22 #define FFMPEG_G729POSTFILTER_H
31 #define G729_TILT_FACTOR_PLUS 6554
37 #define G729_TILT_FACTOR_MINUS 29491
40 #define FORMANT_PP_FACTOR_NUM 18022 //0.55 in Q15
41 #define FORMANT_PP_FACTOR_DEN 22938 //0.70 in Q15
47 #define G729_AGC_FACTOR 32358
48 #define G729_AGC_FAC1 (32768-G729_AGC_FACTOR)
55 #define MIN_LT_FILT_FACTOR_A 21845
60 #define SHORT_INT_FILT_LEN 2
65 #define LONG_INT_FILT_LEN 8
71 #define ANALYZED_FRAC_DELAYS 7
76 #define RES_PREV_DATA_SIZE (PITCH_DELAY_MAX + LONG_INT_FILT_LEN + 1)
98 const int16_t *lp_filter_coeffs,
int pitch_delay_int,
99 int16_t* residual, int16_t* res_filter_data,
100 int16_t* pos_filter_data, int16_t *speech,
114 int subframe_size, int16_t gain_prev);
116 #endif // FFMPEG_G729POSTFILTER_H