文件名称:mtest1.c
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:2.61kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.