⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 owng722sb.h

📁 G.711,G.723.1,G.726,G.729,GSM CODEC C/C++ code
💻 H
字号:
/*/////////////////////////////////////////////////////////////////////////////
//
//                  INTEL CORPORATION PROPRIETARY INFORMATION
//     This software is supplied under the terms of a license agreement or
//     nondisclosure agreement with Intel Corporation and may not be copied
//     or disclosed except in accordance with the terms of that agreement.
//          Copyright(c) 2005 Intel Corporation. All Rights Reserved.
//
//     Intel(R) Integrated Performance Primitives
//     USC - Unified Speech Codec interface library
//
// By downloading and installing USC codec, you hereby agree that the
// accompanying Materials are being provided to you under the terms and
// conditions of the End User License Agreement for the Intel(R) Integrated
// Performance Primitives product previously accepted by you. Please refer
// to the file ipplic.htm located in the root directory of your Intel(R) IPP
// product installation for more information.
//
// A speech coding standards promoted by ITU, ETSI, 3GPP and other
// organizations. Implementations of these standards, or the standard enabled
// platforms may require licenses from various entities, including
// Intel Corporation.
//
//
// Purpose: G.722 speech codec: internal definitions.
//
*/

#ifndef _OWN_G722SB_H_
#define _OWN_G722SB_H_

#include "ipps.h"
#if defined( _NO_IPPSC_LIB )
#include "_ippsc.h"
#else
#include "ippsc.h"
#endif
#include "g722sb.h"
#include "g722sbapi.h"

#include "scratchmem.h"

#define   G722SB_CODECFUN(type,name,arg)                extern type name arg

#define MIN(a,b) (a < b ? a : b)
#define MAX(a,b) (a > b ? a : b)


struct _G722SB_Encoder_Obj {
   G722SB_Obj_t objPrm;

   short   qmf_tx_delayx[SBADPCM_G722_SIZE_QMFDELAY];
   char    *stateEnc;

};
struct _G722SB_Decoder_Obj {
   G722SB_Obj_t objPrm;

   short   qmf_rx_delayx[SBADPCM_G722_SIZE_QMFDELAY];
   char    *stateDec;

};



//void UnpackCodeword(const char *pSrc, int len, short *pDstLow, short *pDstHigh);
void UnpackCodeword(const char *pSrc, int len, short *pDst);

//void PackCodeword(const short *pSrcLow, const short *pSrcHigh, int len, char *pDst);
void PackCodeword(const short *pSrc, int len, char *pDst);


#endif /* _OWN_G722SB_H_*/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -