GNU Radio C++ API
interp.h
Go to the documentation of this file.
1
/*---------------------------------------------------------------------------*\
2
3
FILE........: interp.h
4
AUTHOR......: David Rowe
5
DATE CREATED: 9/10/09
6
7
Interpolation of 20ms frames to 10ms frames.
8
9
\*---------------------------------------------------------------------------*/
10
11
/*
12
Copyright (C) 2009 David Rowe
13
14
All rights reserved.
15
16
This program is free software; you can redistribute it and/or modify
17
it under the terms of the GNU Lesser General Public License version 2.1, as
18
published by the Free Software Foundation. This program is
19
distributed in the hope that it will be useful, but WITHOUT ANY
20
WARRANTY; without even the implied warranty of MERCHANTABILITY or
21
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
22
License for more details.
23
24
You should have received a copy of the GNU Lesser General Public License
25
along with this program; if not, see <http://www.gnu.org/licenses/>.
26
*/
27
28
#ifndef __INTERP__
29
#define __INTERP__
30
31
#define RES_POINTS 20
32
33
void
interpolate
(
MODEL
*interp,
MODEL
*prev,
MODEL
*next);
34
void
interpolate_lsp
(
MODEL
*interp,
MODEL
*prev,
MODEL
*next,
35
float
*prev_lsps,
float
prev_e,
36
float
*next_lsps,
float
next_e,
37
float
*ak_interp);
38
float
resample_amp
(
MODEL
*model,
int
m);
39
float
resample_amp_nl
(
MODEL
*model,
int
m,
float
Ares_prev[]);
40
41
#endif
gr-vocoder
lib
codec2
interp.h
Generated on Mon Jul 8 2013 15:25:01 for GNU Radio C++ API by
1.8.4