Calculates 416 elements of the Toepliz matrix for fixed codebook search.
IppStatus ippsToeplizMatrix_G723_16s(const Ipp16s* pSrcImpulseResponse, Ipp16s* pDstMatrix);
IppStatus ippsToeplizMatrix_G723_16s32s(const Ipp16s* pSrcImpulseResponse, Ipp32s* pDstMatrix);
pSrcImpulseResponse |
Pointer to the impulse response vector [60]. |
pDstMatrix |
Pointer to the elements of Toepliz matrix vector [416]. |
The function ippsToeplizMatrix_G723 is declared in the ippsc.h file. This function calculates the 416 elements in Toepliz matrix for the fixed-codebook search. Elements of the Toepliz matrix can be expressed as follows:
i ≤ j , 0 ≤ i ≤ 59 ,
where h(i), i = 0, 1, ..., 59, is the impulse response.
The function stores the calculated 416 elements in pDstMatrix in the following order:
1. Φ(mi , mi ) , (i = 0, 1, 2, 3), 4x8 =32 elements; starting location: 0.
2. Φ(m0, m1), 8x8 = 64 elements; starting location: 32.
3. Φ(m0, m2), 8x8 = 64 elements; starting location: 96.
4. Φ(m0, m3), 8x8 = 64 elements; starting location: 160.
5. Φ(m1, m2), 8x8 = 64 elements; starting location: 224.
6. Φ(m1, m3) , 8x8 = 64 elements; starting location: 288.
7. Φ(m2, m3), 8x8 = 64 elements; starting location: 352.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when one of the specified pointers is NULL. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.