?? decoderapi.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) 2003-2006 Intel Corporation. All Rights Reserved.
//
// Intel(R) Integrated Performance Primitives Advanced Aurora Sample for Windows*
//
// By downloading and installing this sample, 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 ippEULA.rtf located in the root directory of your Intel(R) IPP
// product installation for more information.
//
// ES 202 050 v1.1.1 is the international standard promoted by ETSI
// and other organizations. Implementations of these standards, or the standard
// enabled platforms may require licenses from various entities, including
// Intel Corporation.
//
*/
#include <math.h>
#include <stdio.h>
#include <ipps.h>
#include <ippsr.h>
#define NUM_CODEBOOK 7
#define NUM_MULTI_BYTE 144
#define NUM_CEP_COEFF 13
typedef enum _AuroraDataType{
WAVEFORM = 0,
FEATURE = 1,
QUANTIZED = 2,
MULTIFRAME = 4
}AuroraDataType;
typedef enum _AuroraRate{
r8KHz = 0,
r11KHz = 0,
r16KHz = 2
}AuroraRate;
struct DecoderStruct;
typedef struct DecoderStruct AuroraDecoder;
int InitAuroraDecoder(AuroraDecoder **pCodec, AuroraRate SamplingFrequency, AuroraDataType DecoderInput);
void ReleaseAuroraDecoder(AuroraDecoder *pCodec);
int ApplyAuroraDecoder_QF(AuroraDecoder *pCodec, unsigned char *pSrc, int InputLength, float *pDst, unsigned char *pDstVad, int StreamEnd);
int ApplyAuroraDecoder_MF(AuroraDecoder *pCodec, unsigned char *pSrc, int InputLength, float *pDst, unsigned char *pDstVad, int StreamEnd);
int ApplyAuroraDecoder_DerCal(AuroraDecoder *pCodec, float *pSrc, unsigned char * pSrcVad, int InputLength, float *pDst);
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -