首先我们来看问题的背景,上层的encoder/decoder的工作流程是这样的:Work procedure1. Open the uio0 device to get the fd2. Get the VPU register base address, work buffer and SRAM ...
分类:
其他好文 时间:
2014-11-18 14:45:13
阅读次数:
314
1.距离单位之px---像素2.距离单位之dp---设备无关像素3.距离单位之sp4.控件的外边距与内边距dpi(dots per inch) 每英寸显示像素个数dp = dip (device Independent pixels)设备无关像素px = dp*(dpi/160)在dpi为160的屏...
分类:
移动开发 时间:
2014-11-18 00:03:51
阅读次数:
249
画原理图的时候为了使布线方便,使用了jlink的引脚。而STM32默认是设置为Jlink功能的,所以烧写代码的时候必须先关闭Jlink功能才能当做普通IO口使用,关闭代码如下:1 RCC_APB2PeriphClockCmd(RCC_APB2Periph_AFIO,ENABLE);2 ...
分类:
其他好文 时间:
2014-11-17 22:34:01
阅读次数:
3559
自从360盲目升级Oracle VM VirtualBox版本后,导致Genymotion无法正常启动android模拟器完全卸载,重新安装还是悲剧一段时间过后,随意百度之,终于找到解决的办法-------------------------感谢原作者------------------------...
分类:
其他好文 时间:
2014-11-17 15:39:08
阅读次数:
241
if you‘re having this same issue the problem is probably an out-of-date SDK. As of Android 4.2.2 there is a security feature that requires you to confirm the RSA fingerprint of the connecting devic...
分类:
移动开发 时间:
2014-11-16 12:13:57
阅读次数:
362
在RedHat下网络配置如下静态IP的文件配置方式vim/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
HWADDR=64:27:37:D3:B5:F7
IPADDR=192.168.0.3
NETMASK=255.255.255.0
GATEWAY=192.168.0.1DNS域名解析配置echo"nameserver8.8.8.8"..
分类:
系统相关 时间:
2014-11-16 01:58:09
阅读次数:
308
在网页代码的头部,加入一行viewport元标签。viewport是网页默认的宽度和高度,上面这行代码的意思是,网页宽度默认等于屏幕宽度(width=device-width),原始缩放比例(initial-scale=1)为1.0,即网页初始大小占屏幕面积的100%。在页面里面使用元素时千万不要使...
分类:
其他好文 时间:
2014-11-15 23:08:45
阅读次数:
264
转载:http://blog.chinaunix.net/uid-20522771-id-3457184.html原文链接:http://devicetree.org/Device_Tree_Usage#How_Interrupts_WorkDevice Tree Usage设备树使用手册This ...
分类:
其他好文 时间:
2014-11-15 18:49:05
阅读次数:
115
转载:http://www.wowotech.net/device_model/why-dt.htmlhttp://www.wowotech.net/device_model/dt_basic_concept.htmlhttp://www.wowotech.net/device_model/dt-c...
分类:
其他好文 时间:
2014-11-15 16:54:57
阅读次数:
331
转载:http://blog.chinaunix.net/uid-20522771-id-3785808.html本文代码均来自标准 linux kernel 3.10,可以到这里下载https://www.kernel.org/ 以arch/arm/mach-msm/board-dt-8960.....
分类:
系统相关 时间:
2014-11-15 16:46:54
阅读次数:
296