ippiAlphaCompC_8u_ works great for a constant alpha.
However, I need to pass in an array of alphas, not a single alpha
Any ideas?. Heres the existing function:
ippiAlphaCompC_8u_AC4R,
( const Ipp8u* pSrc1, int src1Step,
Ipp8u alpha1,
const Ipp8u* pSrc2, int src2Step,
Ipp8u alpha2,
Ipp8u* pDst, int dstStep,
IppiSize roiSize,
IppiAlphaType alphaType ))
I need something like this:
ippiAlphaCompC_8u_AC4R_modified,
( const Ipp8u* pSrc1, int src1Step,
const Ipp8u* pSrc2, int src2Step,
Ipp8u* pDst, int dstStep,
Ipp8u* pAlpha,
IppiSize roiSize,
IppiAlphaType alphaType ))
The first buffer (pSrc1) would be composed against the alpha value.
The second buffer (pSrc2) would be composed against the inverse of that alpha value.
(pDst) would get the result.
(pAlpha) would be the array of alphas.