logo资料库

Intel IPP卷1信号处理.pdf

第1页 / 共1620页
第2页 / 共1620页
第3页 / 共1620页
第4页 / 共1620页
第5页 / 共1620页
第6页 / 共1620页
第7页 / 共1620页
第8页 / 共1620页
资料共1620页,剩余部分请下载后查看
Intel® Integrated Performance Primitives for Intel® Architecture
Version Information
Legal Information
Contents
1. Overview
About This Software
Hardware and Software Requirements
Platforms Supported
Cross-Architecture Alignment
Cross Architecture Overview
API Changes in Version 5.0
Technical Support
Intel IPP Code Samples
About This Manual
Manual Organization
Function Descriptions
Audience for This Manual
Online Version
Related Publications
Notational Conventions
Font Conventions
Signal Name Conventions
Naming Conventions
2. Intel® Integrated Performance Primitives Concepts
Basic Features
Function Naming
Data-Domain
Name
Data Types
Descriptor
Parameters
Structures and Enumerators
Library Version Structure
Complex Data Structures
Function Context Structures
Enumerators
Data Ranges
Data Alignment
Integer Scaling
Error Reporting
Code Examples
3. Support Functions
Version Information Functions
ippsGetLibVersion
Memory Allocation Functions
ippsMalloc
ippsFree
Common Functions
ippGetStatusString
ippGetCpuType
ippGetCpuClocks
ippGetCpuFreqMhz
ippGetMaxCacheSizeB
ippSetFlushToZero
ippSetDenormAreZeros
ippAlignPtr
ippSetNumThreads
ippGetNumThreads
ippMalloc
ippFree
Dispatcher Control Functions
ippStaticInit
ippStaticInitCpu
4. Vector Initialization Functions
Vector Initialization Functions
Copy
PackBits
Move
Set
Zero
Sample-Generating Functions
Tone-Generating Functions
ToneInitAllocQ15
ToneFree
ToneGetStateSizeQ15
ToneInitQ15
ToneQ15
Tone_Direct
ToneQ15_Direct
Triangle-Generating Functions
TriangleInitAllocQ15
TriangleFree
TriangleGetStateSizeQ15
TriangleInitQ15
TriangleQ15
Triangle_Direct
TriangleQ15_Direct
Uniform Distribution Functions
RandUniformInitAlloc
RandUniformFree
RandUniformInit
RandUniformGetSize
RandUnifrom
RandUniform_Direct
Gaussian Distribution Functions
RandGaussInitAlloc
RandGaussFree
RandGaussGetSize
RandGaussInit
RandGauss
RandGauss_Direct
Special Vector Functions
VectorJaehne
VectorSlope
VectorRamp
5. Essential Functions
Logical and Shift Functions
AndC
And
OrC
Or
XorC
Xor
Not
LShiftC
RShiftC
Arithmetic Functions
AddC
Add
AddProduct
AddProductC
MulC
Mul
SubC
SubCRev
Sub
DivC
DivCRev
Div
Abs
Sqr
Sqrt
Cubrt
Exp
Ln
10Log10
SumLn
Arctan
Normalize
Conversion Functions
SortAscend, SortDescend
SortIndexAscend, SortIndexDescend
SwapBytes
Convert
Join
JoinScaled
SplitScaled
Conj
ConjFlip
Magnitude
MagSquared
Phase
PowerSpectr
Real
Imag
RealToCplx
CplxToReal
Threshold
Threshold_LT, Threshold_GT
Threshold_LTAbs, Threshold_GTAbs
Threshold_LTVal, Threshold_GTVal, Threshold_LTValGTVal
Threshold_LTInv
CartToPolar
PolarToCart
MaxOrder
Preemphasize
Flip
FindNearestOne
FindNearest
Viterbi Decoder Functions
GetVarPointDV
CalcStatesDV
BuildSymblTableDV4D
UpdatePathMetricsDV
Windowing Functions
Understanding Window Functions
WinBartlett
WinBlackman
WinHamming
WinHann
WinKaiser
Statistical Functions
Sum
Max
MaxIndx
MaxAbs
MaxAbsIndx
Min
MinIndx
MinAbs
MinAbsIndx
MinMax
MinMaxIndx
Mean
StdDev
MeanStdDev
Norm
NormDiff
DotProd
MaxEvery, MinEvery
CountInRange
Sampling Functions
SampleUp
SampleDown
6. Filtering Functions
Convolution and Correlation Functions
Conv
ConvBiased
ConvCyclic
AutoCorr
CrossCorr
UpdateLinear
UpdatePower
Filtering Functions
SumWindow
FIR Filter Functions
FIRInitAlloc
FIRMRInitAlloc
FIRFree
FIRInit
FIRMRInit
FIRGetStateSize, FIRMRGetStateSize
FIRGetTaps
FIRSetTaps
FIRGetDlyLine
FIRSetDlyLine
FIROne
FIR
FIROne_Direct
FIR_Direct
FIRMR_Direct
FIRSparseInit
FIRSparseGetStateSize
FIRSparse
FIR Filter Coefficient Generating Functions
FIRGenLowpass
FIRGenHighpass
FIRGenBandpass
FIRGenBandstop
Single-Rate FIR LMS Filter Functions
FIRLMSInitAlloc
FIRLMSFree
FIRLMSGetTaps
FIRLMSGetDlyLine
FIRLMSSetDlyLine
FIRLMS
FIRLMSOne_Direct
Multi-Rate FIR LMS Filter Functions
FIRLMSMRInitAlloc
FIRLMSMRFree
FIRLMSMRSetMu
FIRLMSMRUpdateTaps
FIRLMSMRGetTaps
FIRLMSMRSetTaps
FIRLMSMRGetTapsPointer
FIRLMSMRGetDlyLine
FIRLMSMRSetDlyLine
FIRLMSMRGetDlyVal
FIRLMSMRPutVal
FIRLMSMROne
FIRLMSMROneVal
IIR Filter Functions
IIRInitAlloc
IIRInitAlloc_BiQuad
IIRFree
IIRInit
IIRInit_BiQuad
IIRGetStateSize
IIRGetStateSize_BiQuad
IIRSetTaps
IIRGetDlyLine
IIRSetDlyLine
IIROne
IIR
IIROne_Direct
IIROne_BiQuadDirect
IIR_Direct
IIR_BiQuadDirect
IIRSparseInit
IIRSparseGetStateSize
IIRSparse
IIRGenLowpass IIRGenHighpass
Median Filter Functions
FilterMedian
7. Transform Functions
Fourier Transform Functions
Special Arguments
Flag and Hint Arguments
Packed Formats
Pack Format
Perm Format
CCS Format
Format Conversion Functions
ConjPack
ConjPerm
ConjCcs
Functions for Packed Data Multiplication
MulPack
MulPerm
MulPackConj
Fast Fourier Transform Functions
FFTInitAlloc_R, FFTInitAlloc_C
FFTFree_R, FFTFree_C
FFTInit_R, FFTInit_C
FFTGetSize_R, FFTGetSize_C
FFTGetBufSize_R, FFTGetBufSize_C
FFTFwd_CToC
FFTInv_CToC
FFTFwd_RToPack, FFTFwd_RToPerm, FFTFwd_RToCCS
FFTInv_PackToR, FFTInv_PermToR, FFTInv_CCSToR
Discrete Fourier Transform Functions
DFTInitAlloc_R, DFTInitAlloc_C
DFTFree_R, DFTFree_C
DFTGetBufSize_R, DFTGetBufSize_C
DFTFwd_CToC
DFTInv_CToC
DFTFwd_RToPack, DFTFwd_RToPerm, DFTFwd_RToCCS
DFTInv_PackToR, DFTInv_PermToR, DFTInv_CCSToR
DFTOutOrdInitAlloc_C
DFTOutOrdFree_C
DFTOutOrdGetBufSize_C
DFTOutOrdFwd_CToC
DFTOutOrdInv_CToC
DFT for a Given Frequency (Goertzel) Functions
Goertz
GoertzTwo
Discrete Cosine Transform Functions
DCTFwdInitAlloc
DCTInvInitAlloc
DCTFwdFree
DCTInvFree
DCTFwdGetBufSize
DCTInvGetBufSize
DCTFwdInit
DCTInvInit
DCTFwdGetSize
DCTInvGetSize
DCTFwd
DCTInv
Hilbert Transform Functions
HilbertInitAlloc
HilbertFree
Hilbert
Wavelet Transform Functions
Transforms for Fixed Filter Banks
WTHaarFwd, WTHaarInv
Transforms for User Filter Banks
WTFwdInitAlloc, WTInvInitAlloc
WTFwdFree, WTInvFree
WTFwd
WTFwdSetDlyLine, WTFwdGetDlyLine
WTInv
WTInvSetDlyLine, WTInvGetDlyLine
Wavelet Transforms Example
8. Speech Recognition Functions
Basic Arithmetics
AddAllRowSum
SumColumn
SumRow
SubRow
CopyColumn_Indirect
BlockDMatrixInitAlloc
BlockDMatrixFree
NthMaxElement
VecMatMul
MatVecMul
Feature Processing
ZeroMean
CompensateOffset
SignChangeRate
LinearPrediction
Durbin
Schur
LPToSpectrum
LPToCepstrum
CepstrumToLP
LPToReflection
ReflectionToLP
ReflectionToAR
ReflectionToTilt
PitchmarkToF0
UnitCurve
LPToLSP
LSPToLP
MelToLinear
LinearToMel
CopyWithPadding
MelFBankGetSize
MelFBankInit
MelFBankInitAlloc
MelLinFBankInitAlloc
EmptyFBankInitAlloc
FBankFree
FBankGetCenters
FBankSetCenters
FBankGetCoeffs
FBankSetCoeffs
EvalFBank
DCTLifterGetSize_MulC0
DCTLifterInit_MulC0
DCTLifterInitAlloc
DCTLifterFree
DCTLifter
NormEnergy
SumMeanVar
NewVar
RecSqrt
AccCovarianceMatrix
Derivative Functions
CopyColumn
EvalDelta
Delta
DeltaDelta
Pitch Super Resolution
CrossCorrCoeffDecim
CrossCorrCoeff
CrossCorrCoeffInterpolation
Model Evaluation
AddNRows
ScaleLM
LogAdd
LogSub
LogSum
MahDistSingle
MahDist
MahDistMultiMix
LogGaussSingle
LogGauss
LogGaussMultiMix
LogGaussMax
LogGaussMaxMultiMix
LogGaussAdd
LogGaussAddMultiMix
LogGaussMixture
LogGaussMixtureSelect
BuildSignTable
FillShortlist_Row
FillShortlist_Column
DTW
Model Estimation
MeanColumn
VarColumn
MeanVarColumn
WeightedMeanColumn
WeightedVarColumn
WeightedMeanVarColumn
NormalizeColumn
NormalizeInRange
MeanVarAcc
GaussianDist
GaussianSplit
GaussianMerge
Entropy
SinC
ExpNegSqr
BhatDist
UpdateMean
UpdateVar
UpdateWeight
UpdateGConst
OutProbPreCalc
DcsClustLAccumulate
DcsClustLCompute
Model Adaptation
AddMulColumn
AddMulRow
QRTransColumn
DotProdColumn
MulColumn
SumColumnAbs
SumColumnSqr
SumRowAbs
SumRowSqr
SVD, SVDSort
WeightedSum
Vector Quantization
FormVector
CdbkGetSize
CdbkInit
CdbkInitAlloc
CdbkFree
GetCdbkSize
GetCodebook
VQ
VQSingle_Sort, VQSingle_Thresh
SplitVQ
FormVectorVQ
Polyphase Resampling
ResamplePolyphaseInit
ResamplePolyphaseGetSize
ResamplePolyphaseSetFilter
ResamplePolyphaseGetFilter
ResamplePolyphaseInitAlloc
ResamplePolyphaseFree
ResamplePolyphase
Advanced Aurora Functions
SmoothedPowerSpectrumAurora
NoiseSpectrumUpdate_Aurora
WienerFilterDesign_Aurora
MelFBankInitAlloc_Aurora
TabsCalculation_Aurora
ResidualFilter_Aurora
WaveProcessing_Aurora
LowHighFilter_Aurora
HighBandCoding_Aurora
BlindEqualization_Aurora
DeltaDelta_Aurora
VADGetBufSize_Aurora
VADInit_Aurora
VADDecision_Aurora
VADFlush_Aurora
Ephraim-Malah Noise Suppressor
Noise Suppressor Architecture
Ephraim-Malah Noise Suppressor Details
Algorithm Steps
Data Structures
Filter Update Primitives
FilterUpdateEMNS
FilterUpdateWiener
Noise Floor Estimation Primitives
GetSizeMCRA
InitMCRA
AltInitMCRA
UpdateNoisePSDMCRA
Voice Activity Detector
Voice Activity Detector Architecture
Voice Activity Detection Primitives
FindPeaks
PeriodicityLSPE
Periodicity
9. Speech Coding Functions
Rounding mode
Notational Conventions
Definitions
Data Structures
Common Functions
ConvPartial
InterpolateC_NR
Mul_NR
MulC_NR
MulPowerC_NR
AutoScale
DotProdAutoScale
InvSqrt
AutoCorr
AutoCorrLagMax
AutoCorr_NormE
CrossCorr
CrossCorrLagMax
SynthesisFilter
G.729 Related Functions
Basic Functions
DotProd_G729
Interpolate_G729
Linear Prediction Analysis Functions
AutoCorr_G729
LevinsonDurbin_G729
LPCToLSP_G729
LSFToLSP_G729
LSFQuant_G729
LSFDecode_G729
LSFDecodeErased_G729
LSPToLPC_G729
LSPQuant_G729
LSPToLSF_G729
LagWindow_G729
Codebook Search Functions
OpenLoopPitchSearch_G729
AdaptiveCodebookSearch_G729
DecodeAdaptiveVector_G729
FixedCodebookSearch_G729
GainCodebookSearch
ToeplizMatrix_G729
Codebook Gain Functions
DecodeGain_G729
GainControl_G729
GainQuant_G729
AdaptiveCodebookContribution_G729
AdaptiveCodebookGain_G729
Filter Functions
ResidualFilter_G729
SynthesisFilter_G729
LongTermPostFilter_G729
ShortTermPostFilter_G729
TiltCompensation_G729
HarmonicFilter
HighPassFilterSize_G729
HighPassFilterInit_G729
HighPassFilter_G729
IIR16s_G729
PhaseDispersionGetStateSize_G729D
PhaseDispersionInit_G729D
PhaseDispersionUpdate_G729D
PhaseDispersion_G729D
Preemphasize_G729A
WinHybridGetStateSize_G729E
WinHybridInit_G729E
WinHybrid_G729E
RandomNoiseExcitation_G729B
FilteredExcitation_G729
G.723.1 Related Functions
Linear Prediction Analysis Functions
AutoCorr_G723
AutoCorr_NormE_G723
LevinsonDurbin_G723
LPCToLSF_G723
LSFToLPC_G723
LSFDecode_G723
LSFQuant_G723
Codebook Search Functions
OpenLoopPitchSearch_G723
ACELPFixedCodebookSearch_G723
AdaptiveCodebookSearch_G723
MPMLQFixedCodebookSearch_G723
ToeplizMatrix_G723
Gain Quantization
GainQuant_G723
GainControl_G723
Filter Functions
HighPassFilter_G723
IIR16s_G723
SynthesisFilter_G723
TiltCompensation_G723
HarmonicSearch_G723
HarmonicNoiseSubtract_G723
DecodeAdaptiveVector_G723
PitchPostFilter_G723
GSM-AMR Related Functions
Basic Functions
Interpolate_GSMAMR
FFTFwd_RToPerm_GSMAMR
LP Analysis and Quantization Functions
AutoCorr_GSMAMR
LevinsonDurbin_GSMAMR
LPCToLSP_GSMAMR
LSPToLPC_GSMAMR
LSFToLSP_GSMAMR
LSPQuant_GSMAMR
QuantLSPDecode_GSMAMR
Adaptive Codebook Functions
Open-Loop Pitch Search (OLP)
OpenLoopPitchSearchNonDTX_GSMAMR
OpenLoopPitchSearchDTXVAD1_GSMAMR
OpenLoopPitchSearchDTXVAD2_GSMAMR
ImpulseResponseTarget_GSMAMR
AdaptiveCodebookSearch_GSMAMR
AdaptiveCodebookDecode_GSMAMR
AdaptiveCodebookGain_GSMAMR
Fixed Codebook Search
AlgebraicCodebookSearch_GSMAMR
FixedCodebookDecode_GSMAMR
Discontinuous Transmission (DTX)
Preemphasize_GSMAMR
VAD1_GSMAMR
VAD2_GSMAMR
EncDTXSID_GSMAMR
EncDTXHandler_GSMAMR
EncDTXBuffer_GSMAMR , DecDTXBuffer_GSMAMR
Post Processing
PostFilter_GSMAMR
AMR Wideband Related Functions
ResidualFilter_AMRWB
LPC Analysis Functions
LPCToISP_AMRWB
ISPToLPC_AMRWB
ISPToISF_Norm_AMRWB
ISFToISP_AMRWB
Open-loop Pitch Analysis Functions
OpenLoopPitchSearch_AMRWB
Filtering Functions
HighPassFilterGetSize_AMRWB
HighPassFilterInit_AMRWB
HighPassFilter_AMRWB
HighPassFilterGetDlyLine_AMRWB
HighPassFilterSetDlyLine_AMRWB
Preemphasize_AMRWB
Deemphasize_AMRWB
SynthesisFilter_AMRWB
Discontinuous Transmission (DTX) Functions
VADGetSize_AMRWB
VADInit_AMRWB
VAD_AMRWB
VADGetEnergyLevel_AMRWB
Codebook Search Functions
AlgebraicCodebookSearch_AMRWB
AlgebraicCodebookDecode_AMRWB
AdaptiveCodebookGainCoeff_AMRWB
AdaptiveCodebookSearch_AMRWB
AdaptiveCodebookDecodeGetSize_AMRWB
AdaptiveCodebookDecodeInit_AMRWB
AdaptiveCodebookDecodeUpdate_AMRWB
AdaptiveCodebookDecode_AMRWB
Quantization Functions
ISFQuant_AMRWB
ISFQuantDecode_AMRWB
ISFQuantDTX_AMRWB
ISFQuantDecodeDTX_AMRWB
GainQuant_AMRWB
DecodeGain_AMRWB
EncDTXBuffer_AMRWB
DecDTXBuffer_AMRWB
AMR Wideband Plus Related Functions
SNR_AMRWBE
OpenLoopPitchSearch_AMRWBE
LPCToISP_AMRWBE
Filtering Functions
SynthesisFilter_AMRWBE
Deemphasize_AMRWBE
FIRGenMidBand_AMRWBE
PostFilterLowBand_AMRWBE
Fast Fourier Transform Functions
FFTFwd_RToPerm_AMRWBE
FFTInv_PermToR_AMRWBE
Codebook Search Functions
AdaptiveCodebookSearch_AMRWBE
AdaptiveCodebookDecode_AMRWBE
Resample Functions
Downsample_AMRWBE
Upsample_AMRWBE
BandSplit_AMRWBE
BandJoin_AMRWBE
BandSplitDownsample_AMRWBE
BandJoinUpsample_AMRWBE
ResamplePolyphase_AMRWBE
Quantization Functions
ISFQuantDecode_AMRWBE
ISFQuantDecodeHighBand_AMRWBE
ISFQuantHighBand_AMRWBE
GainQuant_AMRWBE
QuantTCX_AMRWBE
GainQuantTCX_AMRWBE
GainDecodeTCX_AMRWBE
EncodeMux_AMRWBE
DecodeDemux_AMRWBE
GSM Full Rate Related Functions
RPEQuantDecode_GSMFR
Deemphasize_GSMFR
ShortTermAnalysisFilter_GSMFR
ShortTermSynthesisFilter_GSMFR
HighPassFilter_GSMFR
Schur_GSMFR
WeightingFilter_GSMFR
Preemphasize_GSMFR
G.722.1 Related Functions
DCTFwd_G722, DCTInv_G722
DecomposeMLTToDCT
DecomposeDCTToMLT
HuffmanEncode_G722
G.726 Related Functions
EncodeGetStateSize_G726
EncodeInit_G726
Encode_G726
DecodeGetStateSize_G726
DecodeInit_G726
Decode_G726
G.728 Related Functions
IIRGetStateSize_G728
IIR_Init_G728
IIR_G728
SynthesisFilterGetStateSize_G728
SynthesisFilterInit_G728
SyntesisFilter_G728
CombinedFilterGetStateSize_G728
CombinedFilterInit_G728
CombinedFilter_G728
PostFilterGetStateSize_G728
PostFilterInit_G728
PostFilter_G728
PostFilterAdapterGetStateSize_G728
PostFilterAdapterStateInit_G728
LPCInverseFilter_G728
PitchPeriodExtraction_G728
WinHybridGetStateSize_G728
WinHybridInit_G728
WinHybrid_G728
LevinsonDurbin_G728
CodebookSearch_G728
ImpulseResponseEnergy_G728
Echo Canceller Related Functions
SubbandProcessGetSize
SubbandProcessInit
SubbandAnalysis
SubbandSynthesis
SubbandControllerGetSize_EC
SubbandControllerInit_EC
SubbandControllerUpdate_EC
SubbandController_EC
SubbandControllerReset_EC
ToneDetectGetStateSize_EC
ToneDetectInit_EC
ToneDetect_EC
FullbandControllerGetSize_EC
FullbandControllerInit_EC
FullbandControllerUpdate_EC
FullbandController_EC
FullbandControllerReset_EC
FIR_EC
FIRSubband_EC, FIRSubbandLow_EC
FIRSubbandCoeffUpdate_EC, FIRSubbandLowCoeffUpdate_EC
NLMS_EC
G722 Sub-Band ADPCM Speech Codec Related Functions
SBADPCMEncodeStateSize_G722
SBADPCMEncodeInit_G722
SBADPCMEncode_G722
QMFEncode_G722
SBADPCMDecodeStateSize_G722
SBADPCMDecodeInit_G722
SBADPCMDecode_G722
QMFDecode_G722
Companding Functions
MuLawToLin
LinToMuLaw
ALawToLin
LinToALaw
MuLawToALaw
ALawToMuLaw
10. Audio Coding Functions
Interleaved to Multi-Row Format Conversion Functions
Interleave
Deinterleave
Spectral Data Prequantization Functions
Pow34
Pow43
Pow43Scale
Scale Factors Calculation Functions
CalcSF
Mantissa Conversion and Scaling Functions
Scale
MakeFloat
Modified Discrete Cosine Transform Functions
MDCTFwdInitAlloc, MDCTInvInitAlloc
MDCTFwdInit, MDCTInvInit
MDCTFwdFree, MDCTInvFree
MDCTFwdGetSize, MDCTInvGetSize
MDCTFwdGetBufSize, MDCTInvGetBufSize
MDCTFwd, MDCTInv
Block Filtering Functions
FIRBlockInitAlloc
FIRBlockFree
FIRBlockOne
Frequency Domain Prediction Functions
FDPInitAlloc
FDPInit
FDPFree
FDPGetSize
FDPReset
FDPResetSfb
FDPResetGroup
FDPFwd
FDPInv
VLC Functions
VLCDecodeEscBlock_MP3
VLCDecodeEscBlock_AAC
VLCDecodeUTupleEscBlock_MP3
VLCDecodeUTupleEscBlock_AAC
VLCCountEscBits_MP3
VLCCountEscBits_AAC
VLCEncodeEscBlock_MP3
VLCEncodeEscBlock_AAC
Psychoacoustic Functions
Spread
Vector Quantization Functions
VQCodeBookInitAlloc
VQCodeBookInit
VQCodeBookFree
VQCodeBookGetSize
VQPreliminarySelect
VQMainSelect
VQIndexSelect
VQReconstruction
MP3 Audio Coding Functions
Macros and Constants
Data Structures
Frame Header
Side Information
MP3 Huffman Table Structure
MP3 Psychoacoustic Model Two Analysis
Psychoacoustic Model Two State
MP3 Bit Reservoir
MP3 Codec Enumerated Types
MP3 Audio Encoder
AnalysisPQMF_MP3
AnalysisFilterInit_PQMF_MP3
AnalysisFilterInitAlloc_PQMF_MP3
AnalysisFilterGetSize_PQMF_MP3
AnalysisFilterFree_PQMF_MP3
AnalysisFilter_PQMF_MP3
MDCTFwd_MP3
PsychoacousticModelTwo_MP3
JointStereoEncode_MP3
Quantize_MP3
PackScaleFactors_MP3
HuffmanEncode_MP3
PackFrameHeader_MP3
PackSideInfo_MP3
BitReservoirInit_MP3
MP3 Audio Decoder
UnpackFrameHeader_MP3
UnpackSideInfo_MP3
UnpackScaleFactors_MP3
HuffmanDecode_MP3 HuffmanDecodeSfb_MP3 HuffmanDecodeSfbMbp_MP3
ReQuantize_MP3 ReQuantizeSfb_MP3
MDCTInv_MP3
SynthPQMF_MP3
SynthesisFilterInit_PQMF_MP3
SynthesisFilterInitAlloc_PQMF_MP3
SynthesisFilterGetSize_PQMF_MP3
SynthesisFilterFree_PQMF_MP3
SynthesisFilter_PQMF_MP3
Advanced Audio Coding Functions
Global Macros
Data Types and Structures
ADIF Header
ADTS Frame Header
Individual Channel Side Information
AAC Scalable Main Element Header
AAC Scalable Extension Element Header
AAC Program Config Element
Temporal Noise Shaping (TNS) Structure for One Layer
Long Term Prediction (LTP) Structure
Channel Pair Element
Channel Information
AAC Decoding Primitives
MPEG-2 AAC Primitives
UnpackADIFHeader_AAC
UnpackADTSFrameHeader_AAC
DecodePrgCfgElt_AAC
DecodeChanPairElt_AAC
NoiselessDecoder_LC_AAC
DecodeDatStrElt_AAC
DecodeFillElt_AAC
QuantInv_AAC
DecodeMsStereo_AAC
DecodeIsStereo_AAC
DeinterleaveSpectrum_AAC
DecodeTNS_AAC
MDCTInv_AAC_32s16s
MDCTInv_AAC_32s_I
MPEG-4 AAC Primitives
DecodeMainHeader_AAC
DecodeExtensionHeader_AAC
DecodePNS_AAC
DecodeMsPNS_AAC
DecodeChanPairElt_MP4_AAC
LongTermReconstruct_AAC
MDCTFwd_AAC_32s
MDCTFwd_AAC_32s_I
EncodeTNS_AAC
LongTermPredict_AAC
NoiselessDecode_AAC
LtpUpdate_AAC
Spectral Band Replication Functions
SBR Audio Encoder Functions
DetectTransient_SBR
EstimateTNR_SBR
AnalysisFilterEncGetSize_SBR
AnalysisFilterEncInit_SBR
AnalysisFilterEnc_SBR
AnalysisFilterEncInitAlloc_SBR
AnalysisFilterEncFree_SBR
SBR Audio Decoder Functions
QMF Functions
Memory Allocation and Initialization
AnalysisFilterInitAlloc_SBR
SynthesisFilterInitAlloc_SBR
SynthesisDownFilterInitAlloc_SBR
Memory Release
AnalysisFilterFree_SBR
SynthesisFilterFree_SBR
SynthesisDownFilterFree_SBR
Size Getting
AnalysisFilterGetSize_SBR
SynthesisFilterGetSize_SBR
SynthesisDownFilterGetSize_SBR
Initialization
AnalysisFilterInit_SBR
SynthesisFilterInit_SBR
SynthesisDownFilterInit_SBR
QMF Main Functions
AnalysisFilter_SBR
SynthesisFilter_SBR
SynthesisDownFilter_SBR
Example of Filter Usage
Prediction Functions
PredictCoef_SBR
PredictOneCoef_SBR
11. String Functions
String Manipulation
Find, FindRev
FindC, FindRevC
FindCAny, FindRevCAny
Insert
Remove
Compare
CompareIgnoreCase, CompareIgnoreCaseLatin
Equal
TrimC
TrimCAny, TrimStartCAny, TrimEndCAny
ReplaceC
Uppercase, UppercaseLatin
Lowercase, LowercaseLatin
Hash
Concat
ConcatC
SplitC
Regular Expressions
RegExpInitAlloc
RegExpFree
RegExpInit
RegExpGetSize
RegExpSetMatchLimit
RegExpFind
12. Fixed-Accuracy Arithmetic Functions
Power and Root Functions
Inv
Div
Sqrt
InvSqrt
Cbrt
InvCbrt
Pow
Powx
Hypot
Exponential and Logarithmic Functions
Exp
Ln
Log10
Trigonometric Functions
Cos
Sin
SinCos
Tan
Acos
Asin
Atan
Atan2
Hyperbolic Functions
Cosh
Sinh
Tanh
Acosh
Asinh
Atanh
Special Functions
Erf
Erfc
ErfInv
Rounding Functions
Floor
Ceil
Trunc
Round
NearbyInt
Rint
Modf
13. Data Compression Functions
Application Notes
VLC and Huffman Coding Functions
Data Compression VLC functions
VLCEncodeInitAlloc
VLCEncodeFree
VLCEncodeInit
VLCEncodeGetSize
VLCEncodeBlock
VLCEncodeOne
VLCCountBits
VLCDecodeInitAlloc
VLCDecodeFree
VLCDecodeInit
VLCDecodeGetSize
VLCDecodeBlock
VLCDecodeOne
Example of Using VLC Coding Functions
VLCDecodeUTupleInitAlloc
VLCDecodeUTupleFree
VLCDecodeUTupleInit
VLCDecodeUTupleGetSize
VLCDecodeUTupleBlock
VLCDecodeUTupleOne
Huffman Coding
EncodeHuffInitAlloc
HuffFree
EncodeHuffInit
HuffGetSize
EncodeHuffOne
EncodeHuff
EncodeHuffFinal
HuffGetLenCodeTable
DecodeHuffInitAlloc
DecodeHuffInit
DecodeHuffOne
DecodeHuff
HuffGetDstBuffSize
Application Notes
HuffLenCodeTablePack
HuffLenCodeTableUnpack
Dictionary-Based Compression Functions
LZSS Compression Functions
EncodeLZSSInitAlloc
LZSSFree
EncodeLZSSInit
LZSSGetSize
EncodeLZSS
EncodeLZSSFlush
DecodeLZSSInitAlloc
DecodeLZSSInit
DecodeLZSS
ZLIB Coding Functions
Special Parameters
EncodeLZ77Init
EncodeLZ77GetSize
EncodeLZ77InitAlloc
LZ77Free
EncodeLZ77
EncodeLZ77SelectHuffMode
EncodeLZ77FixedHuff
EncodeLZ77DynamicHuff
EncodeLZ77StoredBlock
EncodeLZ77Flush
EncodeLZ77GetPairs
EncodeLZ77SetPairs
EncodeLZ77GetStatus
EncodeLZ77SetStatus
EncodeLZ77Reset
DecodeLZ77Init
DecodeLZ77GetSize
DecodeLZ77InitAlloc
DecodeLZ77
DecodeLZ77GetBlockType
DecodeLZ77FixedHuff
DecodeLZ77DynamicHuff
DecodeLZ77StoredBlock
DecodeLZ77GetPairs
DecodeLZ77SetPairs
DecodeLZ77GetStatus
DecodeLZ77SetStatus
DecodeLZ77Reset
Adler32
CRC32
Example of Using Intel IPP ZLIB Coding Functions
Implementing the deflate and inflate Functions
BWT-Based Compression Functions
Burrows-Wheeler Transform
BWTFwdGetSize
BWTFwd
BWTInvGetSize
BWTInv
BWTGetSize_SmalBlock
BWTFwd_SmallBlock
BWTInv_SmallBlock
Generalized Interval Transformation Coding
Special Arguments
EncodeGITInitAlloc
GITFree
EncodeGITInit
EncodeGITGetSize
EncodeGIT
DecodeGITInitAlloc
DecodeGITInit
DecodeGITGetSize
DecodeGIT
Move To Front Functions
MTFInitAlloc
MTFFree
MTFInit
MTFGetSize
MTFFwd
MTFInv
Run Length Encoding Functions
EncodeRLE
DecodeRLE
bzip2 Coding Functions
EncodeRLEInitAlloc_BZ2
RLEFree_BZ2
EncodeRLEInit_BZ2
RLEGetSize_BZ2
EncodeRLE_BZ2
EncodeRLEFlush_BZ2
RLEGetInUseTable
DecodeRLE_BZ2
EncodeZ1Z2_BZ2
DecodeZ1Z2_BZ2
ReduceDictionary
ExpandDictionary
CRC32_BZ2
EncodeHuffGetSize_BZ2
EncodeHuffInit_BZ2
EncodeHuffInitAlloc_BZ2
EncodeHuffFree_BZ2
PackHuffContext_BZ2
EncodeHuff_BZ2
DecodeHuffGetSize_BZ2
DecodeHuffInit_BZ2
DecodeHuffInitAlloc_BZ2
DecodeHuffFree_BZ2
UnpackHuffContext_BZ2
DecodeHuff_BZ2
A. Handling of Special Cases
B. Removed Functions
Bibliography
Glossary
Index
Numerics
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
X
Z
Intel® Integrated Performance Primitives for Intel® Architecture Reference Manual Volume 1: Signal Processing January 2007 Document Number: A24968-019US World Wide Web: http://developer.intel.com
Original Issue Documents Intel IPP 1.0 final release. Functions NormDiff, AutoCorr, and Zer- oMean have been added. Derivatives Functions section have been revised. Documents Intel IPP 1.1 beta release. Documents Intel IPP 2.0 beta release. General audio coding, MP3, and tran- scendental vector functions have been added. Speech recognition API have been revised. Documents Intel IPP 2.0 release. New Intel IPP common functions have been added. The set of arithmetic, vector initialization, statistical, and filtering func- tions have been expanded. Documents Intel IPP 3.0 pre-beta. New speech codec functions have been added. The set of conversion and windowing functions have been expanded. Speech recognition API have been updated. Documents Intel IPP 3.0 beta. Documents Intel IPP 3.0 beta update. Documents Intel IPP 3.0 release. Documents Intel IPP 4.0 beta. New functions for cross-architecture develop- ment have been added. Documents Intel IPP 4.0 release. Documents Intel IPP 4.1 beta release. Documents Intel IPP 4.1 release. Added new statistical functions and flavors for arithmetic and filtering functions. Date 09/2000 02/2001 04/2001 08/2001 11/2001 04/2002 06/2002 09/2002 11/2002 05/2003 10/2003 04/2004 07/2004 Documents Intel IPP 5.0 beta release. New data compression functions and functions for regular expressions have been added. The set of arithmetic, con- version, transform, and filtering functions have been expanded. 03/2005 Documents Intel 5.0 release. Added new data compression functions and fla- vors for vector initialization and Fourier transform functions. Documents Intel IPP 5.1 beta release. 08/2005 10/2005 Documents Intel IPP 5.1 release. Added new flavors for arithmetic functions. 02/2006 Version Version Information -1001 -1002 -1101 -2001 -2002 -3001 -3002 -3003 -3004 -4001 -4002 -012 -013 -014 -015 -016 -017 ii
Version Version Information Date 09/2006 -018 -019 Documents Intel IPP 5.2 beta release. Added new data compression fucntions for bzip2 compatibilty, new functions for the Extended AMR Wideband (AMRWB+) Speech Codec, vector conversion and initialization. Added new fla- vors for arithmetic functions. Documents Intel IPP 5.2 release. Added descriptions of new conversion and statistical fucntions, SBR Encoder functions for audio coding. Added more new code examples for different functions. 01/2007 Legal Lines and Disclaimers INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL® PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. EXCEPT AS PROVIDED IN INTEL'S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, INTEL ASSUMES NO LIABILITY WHATSOEVER, AND INTEL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO SALE AND/OR USE OF INTEL PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. Intel products are not intended for use in medical, life saving, life sustaining, critical control or safety systems, or in nuclear facility applications. Intel may make changes to specifications and product descriptions at any time, without notice. MPEG-1, MPEG-2, MPEG-4, H.261, H.263, H.264, MP3, DV, MJPEG, AC3, and AAC are international standards promoted by ISO, IEC, ITU, ETSI and other organizations. Implementations of these standards, or the standard enabled platforms may require licenses from various entities, including Intel Corporation. The software described in this document may contain software defects which may cause the product to deviate from published specifications. Current characterized software defects are available on request. This manual as well as the software described in it is furnished under license and may only be used or copied in accordance with the terms of the license. The information in this manual is furnished for informational use only, is subject to change without notice, and should not be construed as a commitment by Intel Corporation. Intel Corporation assumes no responsibility or liability for any errors or inaccuracies that may appear in this document or any software that may be provided in association with this document. Except as permitted by such license, no part of this document may be reproduced, stored in a retrieval system, or transmitted in any form or by any means without the express written consent of Intel Corporation. Developers must not rely on the absence or characteristics of any features or instructions marked "reserved" or "undefined." Improper use of reserved or undefined features or instructions may cause unpredictable behavior or failure in developer's software code when running on an Intel processor. Intel reserves these features or instructions for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from their unauthorized use. BunnyPeople, Celeron, Celeron Inside, Centrino, Centrino logo, Core Inside, FlashFile, i960, InstantIP, Intel, Intel logo, Intel386, Intel486, Intel740, IntelDX2, IntelDX4, IntelSX2, Intel Core, Intel Inside, Intel Inside logo, Intel. Leap ahead., Intel. Leap ahead. logo, Intel NetBurst, Intel NetMerge, Intel NetStructure, Intel SingleDriver, Intel SpeedStep, Intel StrataFlash, Intel Viiv, Intel vPro, Intel XScale, IPLink, Itanium, Itanium Inside, MCS, MMX, Oplus, OverDrive, PDCharm, Pentium, Pentium Inside, skoool, Sound Mark, The Journey Inside, VTune, Xeon, and Xeon Inside are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries. * Other names and brands may be claimed as the property of others. Copyright © 2000 - 2007, Intel Corporation. All rights reserved iii
Contents Chapter 1 Overview About This Software ................................................................... 1-1 Hardware and Software Requirements ...................................... 1-2 Platforms Supported ............................................................... 1-2 Cross-Architecture Alignment ................................................... 1-2 Cross Architecture Overview................................................. 1-2 API Changes in Version 5.0 ...................................................... 1-3 Technical Support ................................................................... 1-4 Intel IPP Code Samples ........................................................... 1-5 About This Manual ..................................................................... 1-5 Manual Organization .............................................................. 1-5 Function Descriptions ............................................................. 1-6 Audience for This Manual ........................................................ 1-7 Online Version ........................................................................ 1-7 Related Publications ................................................................ 1-7 Notational Conventions ............................................................... 1-7 Font Conventions ................................................................... 1-7 Signal Name Conventions ........................................................ 1-8 Naming Conventions ............................................................... 1-8 iv
Intel Integrated Performance Primitives Reference Manual: Volume 1 Chapter 2 Intel® Integrated Performance Primitives Concepts Basic Features ........................................................................... 2-1 Function Naming ........................................................................ 2-2 Data-Domain ......................................................................... 2-2 Name ................................................................................... 2-2 Data Types ............................................................................ 2-3 Descriptor ............................................................................. 2-5 Parameters............................................................................ 2-6 Structures and Enumerators ........................................................ 2-7 Library Version Structure ......................................................... 2-7 Complex Data Structures......................................................... 2-7 Function Context Structures..................................................... 2-7 Enumerators.......................................................................... 2-8 Data Ranges ............................................................................ 2-11 Data Alignment ........................................................................ 2-12 Integer Scaling ........................................................................ 2-12 Error Reporting ........................................................................ 2-13 Code Examples ........................................................................ 2-18 Support Functions Version Information Functions ...................................................... 3-2 ippsGetLibVersion................................................................... 3-2 Memory Allocation Functions........................................................ 3-3 ippsMalloc ............................................................................. 3-4 ippsFree................................................................................ 3-5 Common Functions ..................................................................... 3-6 ippGetStatusString ............................................................... 3-6 ippGetCpuType .................................................................... 3-7 ippGetCpuClocks ................................................................. 3-9 ippGetCpuFreqMhz ................................................................ 3-9 ippGetMaxCacheSizeB ......................................................... 3-10 ippSetFlushToZero .............................................................. 3-10 ippSetDenormAreZeros ....................................................... 3-11 Chapter 3 v
Chapter 4 Contents ippAlignPtr ......................................................................... 3-12 ippSetNumThreads .............................................................. 3-13 ippGetNumThreads .............................................................. 3-14 ippMalloc ............................................................................. 3-14 ippFree ............................................................................... 3-15 Dispatcher Control Functions ...................................................... 3-16 ippStaticInit ........................................................................ 3-16 ippStaticInitCpu .................................................................. 3-17 Vector Initialization Functions Vector Initialization Functions....................................................... 4-3 Copy .................................................................................... 4-3 PackBits .............................................................................. 4-5 Move ................................................................................ 4-6 Set....................................................................................... 4-8 Zero ..................................................................................... 4-9 Sample-Generating Functions ..................................................... 4-10 Tone-Generating Functions ..................................................... 4-10 ToneInitAllocQ15 .............................................................. 4-11 ToneFree ......................................................................... 4-12 ToneGetStateSizeQ15 ........................................................ 4-12 ToneInitQ15 ..................................................................... 4-13 ToneQ15 ......................................................................... 4-14 Tone_Direct ....................................................................... 4-16 ToneQ15_Direct ............................................................... 4-17 Triangle-Generating Functions ................................................. 4-19 TriangleInitAllocQ15 .......................................................... 4-20 TriangleFree ..................................................................... 4-22 TriangleGetStateSizeQ15 ................................................... 4-22 TriangleInitQ15 ................................................................ 4-23 TriangleQ15 ..................................................................... 4-24 Triangle_Direct................................................................... 4-25 TriangleQ15_Direct ........................................................... 4-27 vi
Intel Integrated Performance Primitives Reference Manual: Volume 1 Uniform Distribution Functions ............................................... 4-29 RandUniformInitAlloc ..................................................... 4-29 RandUniformFree ........................................................... 4-30 RandUniformInit .............................................................. 4-31 RandUniformGetSize ........................................................ 4-32 RandUnifrom ................................................................. 4-32 RandUniform_Direct........................................................... 4-34 Gaussian Distribution Functions.............................................. 4-35 RandGaussInitAlloc ....................................................... 4-35 RandGaussFree ............................................................ 4-36 RandGaussGetSize ........................................................... 4-37 RandGaussInit ................................................................. 4-38 RandGauss ................................................................... 4-39 RandGauss_Direct ............................................................. 4-40 Special Vector Functions........................................................ 4-41 VectorJaehne .................................................................... 4-41 VectorSlope .................................................................... 4-43 VectorRamp .................................................................... 4-44 Essential Functions Logical and Shift Functions .......................................................... 5-6 AndC .................................................................................... 5-6 And ...................................................................................... 5-7 OrC ...................................................................................... 5-8 Or ........................................................................................ 5-9 XorC ................................................................................... 5-10 Xor..................................................................................... 5-11 Not..................................................................................... 5-12 LShiftC................................................................................ 5-13 RShiftC ............................................................................... 5-14 Arithmetic Functions ................................................................. 5-15 AddC .................................................................................. 5-16 Add .................................................................................... 5-18 Chapter 5 vii
Contents AddProduct ........................................................................ 5-20 AddProductC ...................................................................... 5-21 MulC ................................................................................... 5-22 Mul...................................................................................... 5-24 SubC ................................................................................... 5-27 SubCRev .............................................................................. 5-29 Sub ..................................................................................... 5-31 DivC ................................................................................. 5-33 DivCRev .......................................................................... 5-35 Div ................................................................................... 5-36 Abs ..................................................................................... 5-39 Sqr...................................................................................... 5-40 Sqrt .................................................................................... 5-42 Cubrt .............................................................................. 5-44 Exp ................................................................................... 5-45 Ln ..................................................................................... 5-48 10Log10 ............................................................................ 5-49 SumLn ............................................................................ 5-51 Arctan .............................................................................. 5-52 Normalize............................................................................. 5-53 Conversion Functions ................................................................. 5-54 SortAscend, SortDescend .................................................... 5-55 SortIndexAscend, SortIndexDescend ..................................... 5-56 SwapBytes ......................................................................... 5-57 Convert................................................................................ 5-59 Join .................................................................................. 5-62 JoinScaled .......................................................................... 5-63 SplitScaled ........................................................................ 5-65 Conj .................................................................................... 5-66 ConjFlip ............................................................................... 5-67 Magnitude ............................................................................ 5-68 MagSquared ...................................................................... 5-70 Phase .................................................................................. 5-71 PowerSpectr ......................................................................... 5-72 viii
分享到:
收藏