Order and arrangement of planar data

Order and arrangement of planar data

I have been trying to determine the order and arrangement of the planar data in memory that is returned from calls to ippiRGBToYUV_8u_C3P3R and ippiYUVToRGB_8u_P3C3R.

The planes are correctly filled with information but how is it arranged? Is it left,right and then top,down in sequential order or macro block order or is it arranged in some other order?

I have been able to get these to work properly, but I cannot locate any information anywhere in the documentation as to the order of the YUV and RGB data that is returned.

/* Pixel to Plane */
IPPAPI(IppStatus, ippiRGBToYUV_8u_C3P3R,( const Ipp8u* pSrc, int srcStep ,
Ipp8u* pDst[3], int dstStep, IppiSize roiSize))
/* Plane to Pixel */
IPPAPI(IppStatus, ippiYUVToRGB_8u_P3C3R,(const Ipp8u* const pSrc[3], int srcStep,
Ipp8u* pDst,int dstStep, IppiSize roiSize))


1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.