自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

嵇康的专栏

从sina博客迁移到此

  • 博客(6)
  • 资源 (9)
  • 收藏
  • 关注

原创 把YUYV转化为jpg格式(改进v4l2的应用程序编写)

参见:linux下usb摄像头采集的YUYV格式转换成JPEG格式的图片只是最后图像不清晰,尚不清楚原因1.要用jpeg库编译,所以要先编译jpegsrc.v6b.tar.gz,$ cd jpeg-6b $ ./configure --prefix=/work/tools/gcc-3.4.5-glibc-2.3.6/arm-linux $ make $ ma

2013-01-17 11:06:36 7470

原创 v4l2的应用程序编写

#include #include #include #include #include #include #include #include /*#define VIDIOC_QUERYCAP _IOR('V', 0, struct v4l2_capability) #define VIDIO_G_FMT _IOWR('V', 4, struct v4l2_f

2013-01-17 00:10:13 1523

原创 移植内核支持usb摄像头(钰创1e4e/0100)

1添加drivers/media/video/uvc,(可以从网上下载linux-uvc_trunk_arne.tar.gz,然后修改,或者参见http://lwn.net/Articles/287912/及http://mxhaard.free.fr/download.html),内涵Kconfig(自己添加)   uvc_compat.h  uvc_driver.c  uvc_v4l2.c

2013-01-17 00:02:48 2259

原创 解决挂载ramdisk时Failed to execute /linuxrc.问题

问题描述:Failed to execute /linuxrc.  Attempting defaults...Kernel panic - not syncing: No init found.  Try passing init= option to kernel.问题所在:编译busybox的编译器要和内核一致,找到问题所在,下面就是把用和内核一致的编译器生成busy

2013-01-13 14:29:13 3069

原创 qtopia/embed编译

路径:/work/GUI/qtopia/qtopia-free-2.2.0qtopia是在qt/embedded的基础上开发的一个应用环境,相当于qt/embedded的集成开发环境1.前期准备:①编译、安装jpeg库源码为/work/GUI/qtopia/deps/jpegsrc.v6b.tar.gz,解开后得到目录jpeg-6b。先使用以下命令进行配置:$

2013-01-12 13:31:57 1076

原创 移植u-boot1.1.4支持操作nandFlash的nand erase命令

我的nandflash的分区:0-128k(20000)                         u-boot1.1.4128k(20000)-192k(30000) param192k(30000)-5M(500000)              kernel5M(500000)-10M(a00000)            jffs210M(a00000)-20

2013-01-07 19:13:48 1881

2013_uboot_aston.txt

x210的uboot2013.10补丁, 由diff -urN u-boot-2013.10 u-boot-2013.10_aston >2013_uboot_aston.txt 生成

2020-05-24

对象计数问题

c++的对象计数问题的多线程实现代码 c++的对象计数问题的多线程实现代码 c++的对象计数问题的多线程实现代码

2012-10-10

uboot_116-linux2.6.32.7z

最新的我的友善之臂膀arms3c410版的文件 编译器arm-linux-gcc4.3.2 目录:/home/jimmy/usr/local/arm/4.3.2/bin/arm-linux-gcc uboot_1.1.6 目录: /home/jimmy/uboot_1.1.6 linux2.6.32.2(地址:http://arm9download.cncncn.com/mini2440/linux/linux-2.6.32.2-mini2440-20110413.tar.gz) 目录: /usr/src/linux_2.6.32.2

2012-09-11

jdbc——内嵌事务

jdbc——内嵌事务 <bean id="transactionManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager"> <property name="dataSource" ref="dataSource"></property> </bean> <bean id="departmentDao" class="my.aop.dao.DepartmentDaoJdbcImpl" scope="prototype"> <property name="dataSource" ref="dataSource"></property> </bean> <bean id="userDao" class="my.aop.dao.UserDaoJdbcImpl" scope="singleton"> <property name="dataSource" ref="dataSource"></property> </bean> <bean id="myService" class="my.aop.dao.MyService"> <property name="departmentDao"> <ref bean="departmentDao" /> </property> <property name="userDao"> <ref bean="userDao" /> </property> </bean> <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource"> &lt;!-- org.apache.commons.dbcp.BasicDataSource class=" --&gt; &lt;property name="url" value="jdbc:oracle:thin:@10.80.1.171:1521:CBS3001"></property> <property name="maxActive" value="4"></property> <property name="username" value="cone3590_dev"></property> <property name="password" value="arbor123"></property> <property name="driverClassName" value="oracle.jdbc.driver.OracleDriver"></property> <property name="defaultAutoCommit"> <value>false</value> </property> </bean> <bean id="jdbcTemplate" class="org.springframework.jdbc.core.JdbcTemplate"> <property name="dataSource" ref="dataSource"/> </bean> </beans>

2012-03-13

linux_0.11_bochs

gcc4编译的内核 bochs2.1.1 Image为内核 rootimage-0.11为文件系统软盘 当然可以搞个虚拟硬盘的文件系统hdc.img,太大的,没上传(同时要改Iamge的509,510字节为0103)

2012-02-23

java数据结构

java data structrue: public interface BinaryTreeInterface<T> { public T getRootData(); public int getHeight(); public int getNumberOfRoot(); public void clear(); public void setTree(T rootData); public void setTree(T rootData,BinaryTreeInterface<T> left,BinaryTreeInterface<T> right); }

2011-12-31

jbpm4.4请假流程

<?xml version="1.0" encoding="UTF-8"?> <process name="leave" xmlns="http://jbpm.org/4.3/jpdl"> <start g="196,25,48,48" name="start1"> <transition to="申请"/> </start> <task form="qhrequest.jsp" g="172,118,92,52" name="申请" candidate-groups="#{dev}"> //*****candidate-groups="#{dev}" 采用JBPM用户组进行处理任务 //*****assignee="manager" 采用指定manager用户进行处理任务 <transition to="经理审批"/> </task> <task assignee="manager" form="qhmanager.jsp" g="175,217,92,52" name="经理审批"> <transition g="-32,-8" name="批准" to="exclusive1"/> <transition g="128,221;124,165:-42,-18" name="驳回" to="申请"/> </task> <decision expr="#{day > 3 ? '老板审批' : '结束'}" g="200,308,48,48" name="exclusive1"> <transition g="-39,-10" name="结束" to="end1"/> <transition g="339,342:-71,-17" name="老板审批" to="老板审批"/> </decision> <task assignee="boss" form="qhboss.jsp" g="294,375,92,52" name="老板审批"> <transition g="339,457:" to="end1"/> </task> <end g="199,445,48,48" name="end1"/> </process>

2011-12-09

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除