spandsp 0.0.6
private/gsm0610.h
1/*
2 * SpanDSP - a series of DSP components for telephony
3 *
4 * private/gsm0610.h - GSM 06.10 full rate speech codec.
5 *
6 * Written by Steve Underwood <steveu@coppice.org>
7 *
8 * Copyright (C) 2006 Steve Underwood
9 *
10 * All rights reserved.
11 *
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 2.1,
14 * as published by the Free Software Foundation.
15 *
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License for more details.
20 *
21 * You should have received a copy of the GNU Lesser General Public
22 * License along with this program; if not, write to the Free Software
23 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24 */
25
26#if !defined(_SPANDSP_PRIVATE_GSM0610_H_)
27#define _SPANDSP_PRIVATE_GSM0610_H_
28
29/*!
30 GSM 06.10 FR codec state descriptor. This defines the state of
31 a single working instance of the GSM 06.10 FR encoder or decoder.
32*/
34{
35 /*! \brief One of the packing modes */
37
38 int16_t dp0[280];
39
40 /*! Preprocessing */
41 int16_t z1;
42 int32_t L_z2;
43 /*! Pre-emphasis */
44 int16_t mp;
45
46 /*! Short term delay filter */
47 int16_t u[8];
48 int16_t LARpp[2][8];
49 int16_t j;
50
51 /*! Long term synthesis */
52 int16_t nrp;
53 /*! Short term synthesis */
54 int16_t v[9];
55 /*! Decoder postprocessing */
56 int16_t msr;
57
58 /*! Encoder data */
59 int16_t e[50];
60};
61
62#endif
63/*- End of include ---------------------------------------------------------*/
Definition private/gsm0610.h:34
int16_t nrp
Definition private/gsm0610.h:52
int16_t u[8]
Definition private/gsm0610.h:47
int16_t v[9]
Definition private/gsm0610.h:54
int packing
One of the packing modes.
Definition private/gsm0610.h:36
int16_t mp
Definition private/gsm0610.h:44
int16_t msr
Definition private/gsm0610.h:56
int16_t e[50]
Definition private/gsm0610.h:59
int16_t z1
Definition private/gsm0610.h:41