why only ippiSet and ippiCopy have mask ROI mode

why only ippiSet and ippiCopy have mask ROI mode

mingzhong.yu's picture

Hi,

I'm using IPP 6.0.062 to optimize some legacy program, but I found only two functions, ippiSet and ippiCopy have mask ROI mode, ippiMulC or ippiSubC, whereas, have no such modes. So I must first use ippiCopy to copy the masked pixel data to anotherimage, do something to it, then use ippiCopy to copy the masked pixel data back to the original image. Thus the performance does not improve much.

I am wondering why not provide such modes for functionslike ippiMulC and ippiSubC, and if I canimprove the performance much using some tricks I don't know yet?

Thanks a lot!

Mingzhong Yu

4 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
Chao Y (Intel)'s picture
Mingzhong,

Thanks for the suggestion. We will track it for future consideration. It looks that ippiMulC or ippiSubC are two important functions for you. Right?

Thanks,
Chao

elhefe38's picture
Quoting - Chao Y (Intel) Mingzhong,

Thanks for the suggestion. We will track it for future consideration. It looks that ippiMulC or ippiSubC are two important functions for you. Right?

Thanks,
Chao

I guess most arithmetic operations (statistics too ?) would benefit from having masked versions, not juste the two mentioned.

Regards

mingzhong.yu's picture
Quoting - elhefe38

I guess most arithmetic operations (statistics too ?) would benefit from having masked versions, not juste the two mentioned.

Regards

sure, I could't agree more.

Login to leave a comment.