view libgsmfr2/ed_state.h @ 263:ffdcdb27d673

libgsmfr2: integrate e/d state from TU-Berlin code
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 13 Apr 2024 01:10:37 +0000
parents
children
line wrap: on
line source

/*
 * This header file is internal to libgsmfr2;
 * here we define our state structure for GSM 06.10 encoder & decoder component.
 */

struct gsmfr_0610_state {
	word		dp0[ 280 ];
	word		e[ 50 ];	/* code.c 			*/

	word		z1;		/* preprocessing.c, Offset_com. */
	longword	L_z2;		/*                  Offset_com. */
	int		mp;		/*                  Preemphasis	*/

	word		u[8];		/* short_term_aly_filter.c	*/
	word		LARpp[2][8]; 	/*                              */
	word		j;		/*                              */

	word		nrp; /* 40 */	/* long_term.c, synthesis	*/
	word		v[9];		/* short_term.c, synthesis	*/
	word		msr;		/* decoder.c,	Postprocessing	*/
};