Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
6621 Discussions

simple conversion from 24 to 32 bit... can't do it...

O_Brien__Brian
Beginner
121 Views

I have a memory buffer that is even in width of pixels.  
The buffer is formatted as a stream of bytes.  RGBRGBRGB
I simply want to convert that buffer to RGBARGBA.

Help?

 

0 Kudos
1 Reply
Igor_A_Intel
Employee
121 Views

Hi Brian,

IPP has special function for this purpose:

IPPAPI( IppStatus, ippiCopy_8u_C3AC4R,
                   ( const Ipp8u* pSrc, int srcStep,
                     Ipp8u* pDst, int dstStep, IppiSize roiSize ))

regards, Igor

Reply