Community
cancel
Showing results for 
Search instead for 
Did you mean: 
O_Brien__Brian
Beginner
36 Views

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

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
36 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