-rw-r--r-- | Android.mk | 6 | ||||
-rw-r--r-- | audio_hw.c | 135 | ||||
-rwxr-xr-x | rcaudio/audio.bt.remote-arm.a | 6832 | ||||
-rwxr-xr-x | rcaudio/audio.bt.remote-arm64.a | 4622 | ||||
-rw-r--r-- | rcaudio/bitpack.h | 35 | ||||
-rw-r--r-- | rcaudio/bv32.h | 47 | ||||
-rw-r--r-- | rcaudio/bv32cnst.h | 152 | ||||
-rw-r--r-- | rcaudio/bv32strct.h | 93 | ||||
-rw-r--r-- | rcaudio/bvcommon.h | 102 | ||||
-rw-r--r-- | rcaudio/def.h | 30 | ||||
-rw-r--r-- | rcaudio/dvi_adpcm.h | 17 | ||||
-rw-r--r-- | rcaudio/huitong_audio.h | 152 | ||||
-rw-r--r-- | rcaudio/huitong_log.h | 4 | ||||
-rw-r--r-- | rcaudio/mainSBC.h | 3 | ||||
-rw-r--r-- | rcaudio/opus.h | 986 | ||||
-rw-r--r-- | rcaudio/opus_defines.h | 766 | ||||
-rw-r--r-- | rcaudio/opus_types.h | 159 | ||||
-rw-r--r-- | rcaudio/ti_audio.h | 15 | ||||
-rw-r--r-- | rcaudio/typedef.h | 33 |
19 files changed, 14154 insertions, 35 deletions
diff --git a/rcaudio/bv32strct.h b/rcaudio/bv32strct.h new file mode 100644 index 0000000..cdfc66c --- a/dev/null +++ b/rcaudio/bv32strct.h @@ -0,0 +1,93 @@ +/*****************************************************************************/ +/* BroadVoice(R)32 (BV32) Floating-Point ANSI-C Source Code */ +/* Revision Date: October 5, 2012 */ +/* Version 1.2 */ +/*****************************************************************************/ + +/*****************************************************************************/ +/* Copyright 2000-2012 Broadcom Corporation */ +/* */ +/* This software is provided under the GNU Lesser General Public License, */ +/* version 2.1, as published by the Free Software Foundation ("LGPL"). */ +/* This program is distributed in the hope that it will be useful, but */ +/* WITHOUT ANY SUPPORT OR WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the LGPL for */ +/* more details. A copy of the LGPL is available at */ +/* http://www.broadcom.com/licenses/LGPLv2.1.php, */ +/* or by writing to the Free Software Foundation, Inc., */ +/* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/*****************************************************************************/ + + +/***************************************************************************** + bv32strct.h : BV32 data structures + + $Log$ +******************************************************************************/ + +#ifndef BV32STRCT_H +#define BV32STRCT_H + +struct BV32_Decoder_State { +Float stsym[LPCO]; +Float ltsym[LTMOFF]; +Float lsppm[LPCO*LSPPORDER]; +Float lgpm[LGPORDER]; +Float lsplast[LPCO]; +Float dezfm[PFO]; +Float depfm[PFO]; +short cfecount; +UWord32 idum; +Float scplcg; +Float per; +Float E; +Float atplc[LPCO+1]; +short pp_last; +Float prevlg[2]; +Float lgq_last; +Float bq_last[3]; +Float lmax; /* level-adaptation */ +Float lmin; +Float lmean; +Float x1; +Float level; +short nclglim; +short lctimer; +}; + +struct BV32_Encoder_State { +Float x[XOFF]; +Float xwd[XDOFF]; /* memory of DECF:1 decimated version of xw() */ +Float dq[XOFF]; /* quantized short-term pred error */ +Float dfm[DFO]; /* decimated xwd() filter memory */ +Float stpem[LPCO]; /* ST Pred. Error filter memory, low-band */ +Float stwpm[LPCO]; /* ST Weighting all-Pole Memory, low-band */ +Float stnfm[LPCO]; /* ST Noise Feedback filter Memory, Lowband */ +Float stsym[LPCO]; /* ST SYnthesis filter Memory, Lowband */ +Float ltsym[MAXPP1+FRSZ]; /* long-term synthesis filter memory */ +Float ltnfm[MAXPP1+FRSZ]; /* long-term noise feedback filter memory */ +Float lsppm[LPCO*LSPPORDER]; /* LSP Predictor Memory */ +Float allast[LPCO+1]; +Float lsplast[LPCO]; +Float lgpm[LGPORDER]; +Float hpfzm[HPO]; +Float hpfpm[HPO]; +Float prevlg[2]; +Float lmax; /* level-adaptation */ +Float lmin; +Float lmean; +Float x1; +Float level; +int cpplast; /* pitch period pf the previous frame */ +}; + +struct BV32_Bit_Stream { +short lspidx[3]; +short ppidx; /* 9 bit */ +short bqidx; +short gidx[2]; +short qvidx[NVPSF]; +}; + +#endif /* BV32STRCT_H */ + |