<script type="text/javascript"><!--google_ad_client = "pub-2299987709779770";google_ad_width = 300;google_ad_height = 250;google_ad_format = "300x250_as";google_ad_type = "text_image";google_ad_channel ="";google_color_border = "FFFFFF";google_color_bg = "FFFFFF";google_color_link = "0000FF";google_color_url = "008000";google_color_text = "000000";//--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> |
static struct video_device vdev_template={……};//声明video_device,指出挂接驱动static struct file_operations ov511_fops={……};//声明本驱动的文件操作函数指针struct video_device*vdev=video_devdata(file);//从文件指针中提取出video_device结构 |
urb->transfer_flags=USB_ISO_ASAP;//尽可能快地发出本URB |
在赛扬366、USBl.1接口的计算机平台上,采用上述不间断采集改进V4L标准,配合双URB、双帧缓冲等方法后,帧速提高两倍有余,有效数据传输速度达960KB/s,接近等时传输方式下USB总线的带宽极限。推荐阅读:《rh9实现视频的捕获》,该文档中有详细的代码
<script type="text/javascript"><!--google_ad_client = "pub-2299987709779770";google_ad_width = 728;google_ad_height = 90;google_ad_format = "728x90_as";google_ad_type = "text_image";google_ad_channel ="";google_color_border = "FFFFFF";google_color_bg = "FFFFFF";google_color_link = "0000ff";google_color_url = "008000";google_color_text = "000000";//--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> |
上一篇:《【linux编程】C++内存管理详解(一)》《【linux编程】C++内存管理详解(二)》 上一篇:《【linux编程】C++内存管理详解(三)》 下一篇:《Linux socket 编程中存在的五个隐患》 |