view libtwamr/g_code.h @ 445:30cff6b60890

amrtest: implement twamr-encode-r
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 10 May 2024 00:07:07 +0000
parents 1588a7d9e732
children
line wrap: on
line source

/*
********************************************************************************
*
*      GSM AMR-NB speech codec   R98   Version 7.6.0   December 12, 2001
*                                R99   Version 3.3.0                
*                                REL-4 Version 4.1.0                
*
********************************************************************************
*
*      File             : g_code.h
*      Purpose          : Compute the innovative codebook gain.
*
********************************************************************************
*/
#ifndef g_code_h
#define g_code_h "$Id $"
 
/*
********************************************************************************
*                         INCLUDE FILES
********************************************************************************
*/
#include "typedef.h"
 
/*
********************************************************************************
*                         DEFINITION OF DATA TYPES
********************************************************************************
*/
 
/*
********************************************************************************
*                         DECLARATION OF PROTOTYPES
********************************************************************************
*/
Word16 G_code (        /* out      : Gain of innovation code.               */
    Word16 xn[],       /* in       : target vector                          */
    Word16 y2[]        /* in       : filtered inovation vector              */
);
 
#endif