Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.

how to use ippuLUT_8u_AC4R()

pango
Beginner
618 Views
I call the function like below in my code:
ippiLUT_8u_AC4R(
pSrc,lineBytesSrc,
pDst,lineBytesDst,
roiSize,
(const Ipp32s *)m_pValues,
(const Ipp32s *)m_pLevels,
m_nLevels);

m_nLevels is int array,I define it as below:
int m_nLevels[3];
but my code can not be compiled in VC++6.0,it always report:
error C2664: 'ippiLUT_8u_AC4R' : cannot convert parameter 6 from 'const int *' to 'const int *[]'"
the error message puzzled me,the 6 parameter is m_pValues,and its data type is Ipp32s *,anyone please help me,how to call the ippuLUT_8u_AC4R()?
0 Kudos
1 Reply
Vladimir_Dudnik
Employee
618 Views

Hi,

your sixth parameter is m_pValues not m_nLevels. It should be array of pointers. Could you check that it is?

Regards,
Vladimir

0 Kudos
Reply