Initializes the codebook structure.
IppStatus ippsVQCodeBookInit_32f(const Ipp32f* pInputTable, IppsVQCodeBookState_32f** ppCodeBook, int step, int height, Ipp8u* pMemSpec);
pInputTable |
Pointer to the codebook table of the size step * height containing height quantization vectors of the length step. |
ppCodeBook |
Double pointer to the codebook state structure. |
step |
Step to the next line in the table InputTable, quantization vector length. |
height |
Table height, number of quantization vectors. |
pMemSpec |
Pointer to the area for the codebook structure. |
The function ippsVQCodeBookInit is declared in the ippac.h header file. This function initializes the structure that contains the codebook and additional information needed for the search operation. This structure is used by the functions ippsVQPreliminarySelect, ippsVQMainSelect, ippsVQIndexSelect, and ippsVQReconstruction.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when pInputTable, ppCodeBook or pMemSpec pointer is NULL. |
ippStsSizeErr |
Indicates an error when step or height is less than or equal to 0. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.