In many IPP API's the size type of a vector is 'int'. Two questions arise:
1. What should I do if I have a vector with size greater that 2^31?
2. What will IPP various functions return if I input them with a negative size?
Link Copied
Hi Yaniv,
1. You probably could use 64-bits integer which is type called 64s, similar as _int64 for Win and long long for Linux. Know more info about IPP data type, please refer developer reference.
2. Many IPP functions would report error message "ippStsSizeErr" if your input size of image is negative. For example, the ippiResizeGetSize.
Best regards,
Fiona
For more complete information about compiler optimizations, see our Optimization Notice.