~ubuntu-branches/ubuntu/trusty/gnuradio/trusty

« back to all changes in this revision

Viewing changes to gr-vocoder/lib/codec2/interp.h

  • Committer: Package Import Robot
  • Author(s): A. Maitland Bottoms
  • Date: 2014-01-05 12:14:43 UTC
  • mfrom: (2.1.23 sid)
  • Revision ID: package-import@ubuntu.com-20140105121443-je18dkof6uhox808
Tags: 3.7.2.1-5
use correct compiler for unstable build

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
#ifndef __INTERP__
29
29
#define __INTERP__
30
30
 
31
 
#include "kiss_fft.h"
 
31
#define RES_POINTS 20
32
32
 
33
33
void interpolate(MODEL *interp, MODEL *prev, MODEL *next);
34
 
void interpolate_lsp(kiss_fft_cfg  fft_dec_cfg,
35
 
                     MODEL *interp, MODEL *prev, MODEL *next,
 
34
void interpolate_lsp(MODEL *interp, MODEL *prev, MODEL *next,
36
35
                     float *prev_lsps, float  prev_e,
37
36
                     float *next_lsps, float  next_e,
38
 
                     float *ak_interp, float *lsps_interp);
39
 
void interp_Wo(MODEL *interp, MODEL *prev, MODEL *next);
40
 
void interp_Wo2(MODEL *interp, MODEL *prev, MODEL *next, float weight);
41
 
float interp_energy(float prev, float next);
42
 
float interp_energy2(float prev, float next, float weight);
43
 
void interpolate_lsp_ver2(float interp[], float prev[],  float next[], float weight);
 
37
                     float *ak_interp);
 
38
float resample_amp(MODEL *model, int m);
 
39
float resample_amp_nl(MODEL *model, int m, float Ares_prev[]);
44
40
 
45
41
#endif