bv16.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*****************************************************************************/
  2. /* BroadVoice(R)16 (BV16) Fixed-Point ANSI-C Source Code */
  3. /* Revision Date: November 13, 2009 */
  4. /* Version 1.1 */
  5. /*****************************************************************************/
  6. /*****************************************************************************/
  7. /* Copyright 2000-2009 Broadcom Corporation */
  8. /* */
  9. /* This software is provided under the GNU Lesser General Public License, */
  10. /* version 2.1, as published by the Free Software Foundation ("LGPL"). */
  11. /* This program is distributed in the hope that it will be useful, but */
  12. /* WITHOUT ANY SUPPORT OR WARRANTY; without even the implied warranty of */
  13. /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the LGPL for */
  14. /* more details. A copy of the LGPL is available at */
  15. /* http://www.broadcom.com/licenses/LGPLv2.1.php, */
  16. /* or by writing to the Free Software Foundation, Inc., */
  17. /* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
  18. /*****************************************************************************/
  19. /*****************************************************************************
  20. bv16.h :
  21. $Log$
  22. ******************************************************************************/
  23. void Reset_BV16_Encoder(
  24. struct BV16_Encoder_State *cs);
  25. void BV16_Encode(
  26. struct BV16_Bit_Stream *bs,
  27. struct BV16_Encoder_State *cs,
  28. Word16 *inx);
  29. void Reset_BV16_Decoder(
  30. struct BV16_Decoder_State *ds);
  31. void BV16_Decode(
  32. struct BV16_Bit_Stream *bs,
  33. struct BV16_Decoder_State *ds,
  34. Word16 *xq);
  35. void BV16_PLC(
  36. struct BV16_Decoder_State *ds,
  37. Word16 *x);