how to use ippuLUT_8u_AC4R()

how to use ippuLUT_8u_AC4R()

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()?

2 posts / novo 0
Último post
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.

Hi,

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

Regards,
Vladimir

Faça login para deixar um comentário.