• /  38
  • 下载费用: 19.90积分  

video4Linux Programming

'video4Linux Programming'
Video4Linux Programming Alan Cox alan@redhat.com Video4Linux Programming by Alan Cox Copyright © 2000 by Alan Cox This documentation is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA For more details see the fi le COPYING in the source distribution of Linux. Table of Contents 1. Introduction5 2. Radio Devices.6 Registering Radio Devices.6 Opening And Closing The Radio.8 The Ioctl Interface9 Module Wrapper17 3. Video Capture Devices 19 Video Capture Device Types19 Registering Video Capture Devices .19 Opening And Closing The Capture Device .21 Interrupt Handling22 Reading The Video Image23 Video Ioctl Handling25 Other Functionality34 4. Known Bugs And Assumptions35 5. Public Functions Provided36 video_register_device.36 video_unregister_device.36 3 List of Tables 2-1. Device Types 7 2-2. struct video_capability fi elds10 2-3. struct video_tuner fi elds .11 2-4. struct video_tuner fl ags 12 2-5. struct video_tuner modes12 2-6. struct video_audio fi elds.15 2-7. struct video_audio fl ags15 2-8. struct video_audio modes.15 3-1. Capture Capabilities.20 3-2. struct video_channel fi elds.26 3-3. struct video_channel fl ags27 3-4. struct video_channel types .27 3-5. struct video_channel norms27 3-6. Framebuffer Encodings29 3-7. struct video_window fi elds.31 3-8. video_clip fi elds .32 4 Chapter 1. Introduction Parts of this document fi rst appeared in Linux Magazine under a ninety day exclusivity. Video4Linux is intended to provide a common programming interface for the many TV and capture cards now on the market, as well as parallel port and USB video cameras. Radio, teletext decoders and vertical blanking data interfaces are also provided. 5 Chapter 2. Radio Devices There are a wide variety of radio interfaces available for PC’s, and these are generally very simple to program. The biggest problem with supporting such devices is normally extracting documentation from the vendor. The radio interface supports a simple set of control ioctls standardised across all radio and tv interfaces. It does not support read or write, which are used for video streams. The reason radio cards do not allow you to read the audio stream into an application is that without exception they provide a connection on to a soundcard. Soundcards can be used to read the radio data just fi ne. Registering Radio Devices The Video4linux core provides an interface for registering devices.
关 键 词:
video4LinuxProgramming
 天天文库所有资源均是用户自行上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作他用。
关于本文
本文标题:video4Linux Programming
链接地址: https://www.wenku365.com/p-40984944.html
关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服点击这里,给天天文库发消息,QQ:1290478887 - 联系我们

本站为“文档C2C交易模式”,即用户上传的文档直接卖给(下载)用户,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有【成交的100%(原创)】。本站是网络服务平台方,若您的权利被侵害,侵权客服QQ:1290478887 欢迎举报。

1290478887@qq.com 2017-2027 https://www.wenku365.com 网站版权所有

粤ICP备19057495号 

收起
展开