文件名称:mtest1.c
- 所属分类:
- 图形图像处理(光照,映射..)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 3kb
- 下载次数:
- 0次
- 提 供 者:
- zhaox*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
RGB TO YUV转换原理及代码示例 RGB TO YUV转换原理及代码示例
由于H.264等压缩算法都是在YUV的颜色空间上进行的,所有在进行压缩前,首先要进行颜色空间的转换。如果摄像头采集的资源是RGB的,那么首先要转换成YUV,如果是YUV的,那么要根据压缩器具体支持的YUV格式做数据的重排。本文以RGB24àYUV420(YV12)为例,讲解颜色空间转换的原理。-RGB TO YUV conversion principle and code examples RGB TO YUV conversion principle and code examples H.264 compression algorithms are performed in the YUV color space, all during compression, we must first color space conversion. The camera acquisition resources RGB, then we must first convert YUV, if YUV, then to the rearrangement of the data according to the the compressor specific support YUV format. In this paper, for example, to explain the principles of color space conversion RGB24YUV420 (YV12).
由于H.264等压缩算法都是在YUV的颜色空间上进行的,所有在进行压缩前,首先要进行颜色空间的转换。如果摄像头采集的资源是RGB的,那么首先要转换成YUV,如果是YUV的,那么要根据压缩器具体支持的YUV格式做数据的重排。本文以RGB24àYUV420(YV12)为例,讲解颜色空间转换的原理。-RGB TO YUV conversion principle and code examples RGB TO YUV conversion principle and code examples H.264 compression algorithms are performed in the YUV color space, all during compression, we must first color space conversion. The camera acquisition resources RGB, then we must first convert YUV, if YUV, then to the rearrangement of the data according to the the compressor specific support YUV format. In this paper, for example, to explain the principles of color space conversion RGB24YUV420 (YV12).
(系统自动生成,下载前可以参看下载内容)
下载文件列表
mtest1.c