YUV 与RGB互转的函数

来源:互联网 发布:白板教学软件 知乎 编辑:程序博客网 时间:2024/05/16 11:12

原文地址:http://www.mingjianhua.com/post/57.html


YUV 与RGB互转的函数

 

头文件

//colorconvert.h

 

 #ifndef _COLORCONVERT_H

#define _COLORCONVERT_H 1
 
void InitConvtTbl();
 
void i420_to_rgb24(unsigned char *src, unsigned char *dst, int width,int height);
void rgb24_to_i420(unsigned char *src,unsigned char *dst,int width,int height);
 
#endif
 
 
CPP文件
 

全文下载地址:http://www.mingjianhua.com/post/57.html
原创粉丝点击