上一页 1 ··· 10 11 12 13 14
摘要: 环境: UBUNTU11.04 摄像头:ZC3XX 开发板:cubieboard源码:video.c:http://pan.baidu.com/share/link?shareid=3899129380&uk=3945660017video.h:http://pan.baidu.com/share/link?shareid=3909248674&uk=3945660017Makefile:http://pan.baidu.com/share/link?shareid=3918164554&uk=3945660017 阅读全文
posted @ 2013-07-24 13:13 yinsua 阅读(625) 评论(0) 推荐(0)
摘要: 使 用Linux异步IO有两种途径:一是使用posix标准的库函数,好处是移植性好;二是使用Linux系统调用,好处是稳定性能更高。Posix标准库 函数以“aio_”打头,如aio_read,而系统调用以“io_”打头,如io_submit。具体的使用,请上Google或百度吧。io_xxx是内核态AIOaio_xxx是用户态AIOps -ef看到的“[aio/0]”是内核线程,为内核态AIO服务的。实际上AIO就是在调用者和IO操作间加入了一个队列。我们经常使用epoll/select等,常常将数据收到后,放到一个消息队列,然后交给其它线程处理,这个实际上就是一个异步操作。对于内核态AIO 阅读全文
posted @ 2013-07-24 12:54 yinsua 阅读(678) 评论(0) 推荐(0)
摘要: 参考:http://blog.csdn.net/tandesir/article/details/8437442系列 http://blog.csdn.net/guishong/article/details/8660725 http://blog.csdn.net/dongshutong/article/details/7184776系列 MJPG-streamer主体上是由main函数和输入插件、输出插件组成。 软件运行的流程是先对摄像头进行初始化然后设置基本的输入输出参数,接着从摄像头中获取数据放到全局内存中,然后通知输出函数来取出,接着输出。 摄像头的初始化由结构体vdI... 阅读全文
posted @ 2013-07-22 14:15 yinsua 阅读(2191) 评论(0) 推荐(0)
摘要: 一:JPEG库移植 1、从http://www.ijg.org/files/下载jpeg源码包; 2、解压,进入其目录 3、配置源码 ./configure CC=arm-linux-gcc --prefix=$(PWD)/jpeg--enable-shared --enable-static 这里的$(PWD)/jpeg指的是安装目录为你当前目录下的jpeg目录 4.在jpeg目录下建立bin include lib man/man1目录: make -p bin include lib man/man1 5、编译:make 6、安装:make instal... 阅读全文
posted @ 2013-07-22 13:14 yinsua 阅读(573) 评论(0) 推荐(0)
摘要: 转载前请注明出处,谢谢!(原创):http://www.cnblogs.com/yinsua/p/3193786.html首先有必要看一下一下几个网站的内容,对下面的内容的理解有很大帮助。blog.chinaunix.net/uid-25120309-id-3501821.htmlhttps://github.com/linux-sunxi/u-boot-sunxi/wikicn.cubieboard.org/forum.php?mod=viewthread&tid=52&extra=page%3D5%26orderby%3Dlastpostblog.csdn.net/sara 阅读全文
posted @ 2013-07-16 17:21 yinsua 阅读(5297) 评论(0) 推荐(0)
摘要: 原文地址:http://blog.sina.com.cn/s/blog_987daf4801011pvy.html开始——运行——输入regedit来打开Windows注册表,找到:HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Class\{36FC9E60-C465-11CF-8056-444553540000}删除UpperFilter的值。找到:HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\删除usbfilter删除 C:\Windows\System32\drivers 阅读全文
posted @ 2013-07-05 15:31 yinsua 阅读(1849) 评论(0) 推荐(0)
摘要: cc1: fatal error: include/generated/autoconf.h: No such file or directorycompilation terminated.解决方法:在内核树下面执行make prepare/bin/sh: scripts/mod/modpost: not found解决方法:在内核树下面执行make scripts 阅读全文
posted @ 2013-05-18 11:36 yinsua 阅读(1692) 评论(0) 推荐(0)
上一页 1 ··· 10 11 12 13 14