- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use ippiMean_StdDevand keep variable in Ipp64f pStdDev,pMean. So when i call function ippiMulC_32f_AC4IR thier have error. can u help me?
Ipp64f pMean[3]={0};
Ipp64f pStdDev[3]={0};
for ( int coi = 1; coi < 4; coi++ )ippiMean_StdDev_8u_C3CR( (Ipp8u*)pSrc->DataPtr(),
pSrc->Step(), pSrc->Size(), coi, &pMean[coi-1], &pStdDev[coi-1]);
ippiMulC_32f_AC4IR( (Ipp64f*) pStdDev,
(Ipp32f*)eRand, e->Step(), eSize);
message error::
error C2664: 'ippiMulC_32f_AC4IR' : cannot convert parameter 1 from 'Ipp64f *' to 'const Ipp32f []'
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You should use construction smth. like this:
Ipp32f pStdDevF[3];
pStdDevF[0] = (Ipp32f)pStdDev[0];
pStdDevF[1] = (Ipp32f)pStdDev[1];
pStdDevF[2] = (Ipp32f)pStdDev[2];
ippiMulC_32f_AC4IR( (const Ipp32f*) pStdDevF,(Ipp32f*)eRand, e->Step(), eSize);
Regards,
Vladimir
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page