首页 > 其他 > 详细

(转)V4L2 Video overlay, Video output, Video output overlay的区别

时间:2014-03-11 16:04:18      阅读:491      评论:0      收藏:0      [点我收藏+]
原文地址:http://blog.csdn.net/kickxxx/article/details/7755127

三者都是V4L2定义的接口,英文原文参见 http://v4l2spec.bytesex.org/spec-single/v4l2.html#OVERLAY

Video Overlay: 

Video overlay devices have the ability to genlock (TV-)video into the (VGA-)video signal of a graphics card, or to store captured images directly in video memory of a graphics card, typically with clipping

Video overlay可以同步video到显示输出,  或者直接存储捕获的images到framebuffer的内存中。也就是说video overlay可以有两种实现:

第一种是video数据(很可能指解码的video数据)经过硬件设备的处理直接转换为video 信号,不会修改framebuffer内容。比如samsung fimc控制器的TVout overlay

第二种是camera数据不会向上层传递,直接发送到framebuffer。比如FSL mx51的ipu_prp_vf_sdc实现。

 

Video Output:

Video output devices encode stills or image sequences as analog video signal.

按照V4L2的spec,Video output设备是把静态图片编码为模拟video信号,这就意味着output 设备的输出是模拟video信号

对于output device输出是模拟信号,我们可以从http://v4l2spec.bytesex.org/spec-single/v4l2.html#VIDIOC-ENUMOUTPUT 的output type定义找到侧证。

数据修改:通过设备节点/dev/videox的read/write功能,以及stream的内存映射方式修改

备注:四种analog video信号分别为CVBS, S-Video, YPbPr, RGB

 

Video Output Overlay:

又称on-screen display,把framebuffer中的内容叠加到输出的video信号中。注意,在V4L2 spce中并没有提到输出的video信号是模拟信号。

Enable overlay:Video output overlay interface用framebuffer的FB_BLANK/FB_UNBLANK ioctl接口 使能和停止overlay

数据修改:是通过修改设备/dev/fbx 的ramebuffer来达到修改叠加内容的

 

下图为 OSD on a television displaying the current channel and volume

bubuko.com,布布扣

(转)V4L2 Video overlay, Video output, Video output overlay的区别,布布扣,bubuko.com

(转)V4L2 Video overlay, Video output, Video output overlay的区别

原文:http://www.cnblogs.com/lihaiping/p/overlay.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!