view libtwamr/gains_tab.h @ 603:27df1cef042c

libgsmhr1: put aToRc() only in dec_func.c This function was originally static in sp_dec.c, but now it is needed both in sp_dec.c and in dec_func.c shared decoder+encoder functions. Solution: give it intermodule linkage, and let it reside in dec_func.c only.
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 04 Dec 2025 19:05:38 +0000
parents 5db2c920fc23
children
line wrap: on
line source

/*
 * This header file contains preprocessor definitions and extern
 * declarations for the tables which originally resided in gains.tab
 * and were multiply included in many source modules.
 */

#ifndef	gains_tab_h
#define	gains_tab_h

#include "typedef.h"

#define NB_QUA_PITCH 16

extern const Word16 qua_gain_pitch[NB_QUA_PITCH];

#define NB_QUA_CODE 32

extern const Word16 qua_gain_code[NB_QUA_CODE*3];

#endif