Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

please do not confuse the newbies

rrogojanu
Beginner
870 Views
code from ippiman.pdf (page 73 of 1264, or 4-5):

IppiSize rroi = {5,4};
Ipp32f x[5*4];
Ipp8u y[5*4];
ippiSet_32f_C1R( -1.0f, x, 5, rroi );
...

someone in a hurry, actually used this code sample, and got a headache ...
I will not tell you who, though ... :smileywink:

Message Edited by rrogojanu on 01-07-2005 02:00 PM

0 Kudos
3 Replies
seiji-torigoe
Beginner
870 Views
I will do as follows.
ippiSet_32f_C1R( -1.0f, x, 5 * sizeof(Ipp32f), roi );

The code of the manual is strange.
0 Kudos
rrogojanu
Beginner
870 Views
Thanks, .. figure it out before posting, but maybe one of you guys could send a to-do note to the editors...
Agood manualshould haveonly tested code samples,
otherwise, its mistakesmight confuse readers and might lower the confidence in it.
Regards,
radu
0 Kudos
borix
Beginner
870 Views
thank you. will be corrected
0 Kudos
Reply