00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef AVCODEC_ACELP_FILTERS_H
00024 #define AVCODEC_ACELP_FILTERS_H
00025
00026 #include <stdint.h>
00027
00037 extern const int16_t ff_acelp_interp_filter[61];
00038
00054 void ff_acelp_interpolate(int16_t* out, const int16_t* in,
00055 const int16_t* filter_coeffs, int precision,
00056 int frac_pos, int filter_length, int length);
00057
00061 void ff_acelp_interpolatef(float *out, const float *in,
00062 const float *filter_coeffs, int precision,
00063 int frac_pos, int filter_length, int length);
00064
00065
00089 void ff_acelp_high_pass_filter(int16_t* out, int hpf_f[2],
00090 const int16_t* in, int length);
00091
00103 void ff_acelp_apply_order_2_transfer_function(float *out, const float *in,
00104 const float zero_coeffs[2],
00105 const float pole_coeffs[2],
00106 float gain,
00107 float mem[2], int n);
00108
00117 void ff_tilt_compensation(float *mem, float tilt, float *samples, int size);
00118
00119
00120 #endif