view libtwamr/graytab.c @ 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 675597e63fd8
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             : gray.tab
*      Purpose          : gray encoding and decoding tables
*      $Id $
*
*
********************************************************************************
*/

#include "namespace.h"
#include "typedef.h"
#include "graytab.h"

const Word16 gray[8]  = {0, 1, 3, 2, 6, 4, 5, 7};
const Word16 dgray[8] = {0, 1, 3, 2, 5, 6, 4, 7};