mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
add new broadvoice codec lib from Steve Underwood
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15543 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
33
libs/broadvoice/src/bitpack16.h
Normal file
33
libs/broadvoice/src/bitpack16.h
Normal file
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
* broadvoice - a library for the BroadVoice 16 and 32 codecs
|
||||
*
|
||||
* bitpack16.h -
|
||||
*
|
||||
* Adapted by Steve Underwood <steveu@coppice.org> from code which is
|
||||
* Copyright 2000-2009 Broadcom Corporation
|
||||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License version 2.1,
|
||||
* as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*
|
||||
* $Id: bitpack16.h,v 1.1.1.1 2009/11/19 12:10:48 steveu Exp $
|
||||
*/
|
||||
|
||||
#if !defined(_BITPACK16_H_)
|
||||
#define _BITPACK16_H_
|
||||
|
||||
int bv16_bitpack(uint8_t *PackedStream, struct BV16_Bit_Stream *BitStruct);
|
||||
void bv16_bitunpack(const uint8_t *PackedStream, struct BV16_Bit_Stream *BitStruct);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user