Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
6812 ディスカッション

ippiMalloc_8u_P3 removed? How to do it then?

costelha1
ビギナー
443件の閲覧回数
Hi,

I found out now that ippiMalloc_8u_P3 was removed in IPP 5. I was using it to allocate space for a YUV 420, unsigned char, planar image.

How can I do it then? Strange enough, in page 3-5 of the manual (in the ippiMalloc mods) there is still a 8u_P3. Also there are still lot's of functions (in the manual at least) that still accept a 8u_P3 image.
0 件の賞賛
1 返信
Vladimir_Dudnik
従業員
443件の閲覧回数

Hi,

To be honest, behaviour of ippiMalloc_8u_P3 function was not correct. Or it is better to say it was not flexible enough. Function was able to allocate memory only as contiguous block, but sometime you may need to have three separate blocks of memory (one for each plane). Moreover, you were able to do the same with using just ippMalloc with appropriate size. All of these reasons cause us to remove this function. Note, you still able to allocate memory for several planes with using ippMalloc function. Sorry for any inconvenience.

Thanks for pointing us to documentation issues, they will be fixed in the next releases.

Regards,
Vladimir

返信