I can call ippiYCbCr420ToBGR_8u_P3C4R(...) from ippcc.h why are there several versions of the color converter in IPP
ippiYUV420ToRGB_8u_P3C3(..) this returns a perfect image except the RGB is reversed to BGR so I have used opencv cvtColor(src,dst,CV_BGR2RGB3) which works fine.
Now the problem arrises when I wanted to convert from YU12 to RGB32 using
ippiYUV420ToRGB_8u_P3AC4R(..) the second paramater requires the step in an array of 3 values I have set these to step = width of image, step = width/2 and step = width/2 but now my image is not right unless I resize it to 1:4 of the original size so I think my step sizes are wrong can you help and show me what i might be doing wrong
dstStep = 4*strides; (RGB32, AC4R, the pixel is like RGBa RGBa.. and the stride is 4 x image widths).
IppStatus ippiYUV420ToRGB_AC4Rconst Ipp8u* const pSrc, int srcStep, Ipp8u* pDst, int dstStep, IppiSize roiSize);