please do not confuse the newbies

please do not confuse the newbies

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

4 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

I will do as follows.
ippiSet_32f_C1R( -1.0f, x, 5 * sizeof(Ipp32f), roi );

The code of the manual is strange.

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

thank you. will be corrected

Leave a Comment

Please sign in to add a comment. Not a member? Join today