图像处理算法大全(基于libyuv或IPP)----RGB32(ARGB)转成yuv420,RGB24,nv12,yuv422集合
《周星星教你学ffmpeg》技巧libyuv源码:staticvoidRGB32_2_YUV420(BYTE*pRGBAPtr,BYTE*pYUYVPtr,intwidth,intheight){#ifdefLIBYUVuint8_t*yplane=pYUYVPtr;uint8_t*uplane=pYUYVPtr+width*height;uint8_t*vplane=pYUYVPtr+(widt