图像处理算法大全(基于libyuv或IPP)----RGB24镜像,翻转

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/xjb2006/article/details/80826880

《周星星教你学ffmpeg》技巧

ipp源码:

static void RGB_Mirror(BYTE* pin, BYTE* pout, int width,int height,int nType=0)//RGB翻转函数:0水平 1垂直  2两者
{
IppiSize imgSize;
imgSize.width=width;
imgSize.height=height;
ippiMirror_8u_C3R((BYTE*)pin,width*3,(BYTE*)pout,width*3,,imgSize,nType==0?ippAxsHorizontal:(nType==1?ippAxsVertical:ippAxsBoth));

}


有问题联系作者QQ:35744025

猜你喜欢

转载自blog.csdn.net/xjb2006/article/details/80826880