自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

sxx1728的专栏

能力代表现在,学习力决定未来

  • 博客(11)
  • 收藏
  • 关注

原创 宏定义中的坑爹陷阱

float fx,fy;[self translate:&fx,&fy];bgraStart = GET_BGRA_START_BY(fx, fy);b=pixelBuf[bgraStart++]g=pixelBuf[bgraStart++]r=pixelBuf[bgraStart++]a=pixelBuf[bgraStart++]宏

2012-05-29 18:57:40 744

原创 NSUserDefaults standardUserDefaults使用注意事项

NSUserDefaults可以存储NSString,NSNumber, NSDate, NSArray, NSDictionary,自定义类可以通过NSData的方式进行存储,当然要实现NSCoding这个protocol才行,NSObject1.  系统会保存到该应用下的/Library/Preferences/gongcheng.plist文件中。需要注意的是如果程序意外退出,NSU

2012-05-15 11:20:16 3386

原创 串口调试工具开发

工作需要,用c#写了一个串口调试的工具。很小比较简单。功能就是给允许用户查看当前kernel中的某些SDram,Flash地址的值,以及部分寄存器值。其size如下: Register:  4 bytememory:  4 *n byte. 如果n > 1,那么这段区域即为map类型。 工具的架构类似于C/S,非常简单。kenerl运行的console线程,基于UART驱动

2009-10-13 17:34:00 867

原创 Porting FreePV to PSP (one)

 By occasion, i get a job to modify and porting freePV to PSP.FreePV is a open-source project, which licence obey to LGPL 2. Please refer to here:http://freepv.sourceforge.net/It is a viewer f

2009-10-13 17:14:00 580

原创 MIPS32->MIPS16E

As a 32-bit Instruction Set Architecture, the code density of MIPS32 is not as high as that of MIPS16E. Our practice has shown that if a program is built with MIPS16E instead of MIPS32, the code size

2009-08-05 10:28:00 1255

原创 MIPS指令的疑问

For the job reason, i need to statistic the stack frame of application binary.  Any way, i studied the MIPS16E assembly instruction.  And found that there is a set of intruction to save register at th

2009-08-03 18:39:00 584

原创 检查函数用的栈空间

  cost down继续中,为了减少栈的空间(34k->20K),浏览代码中用了很大的栈空间的函数。挑出这些函数,并进行研究之。   MIP16有个特点,在进入函数后,用save指令将一些寄存器压栈,同时为local变量留出足够的栈空间。所以,检索save的大小就可以了。 反汇编代码如下:  68342 801013d0 :  68343 801013d0:       64

2009-07-29 17:16:00 932

原创 MIPS ld脚本的见解

   Mips的ld脚本会随着Ecos的编译进行。OUTPUT_FORMAT("elf32-bigmips", "elf32-tradbigmips",    "elf32-tradlittlemips")OUTPUT_ARCH(mips:isa32)STARTUP(vectors.o)ENTRY(reset_vector) 启动到reset_vector段执行    

2009-07-24 19:25:00 2009

原创 Cost down的方式

   由于Rigel的成本问题,其flash有512K,而SDRam只有2M. 要将code压缩在这样的空间包括两个工作: 二进制SDRam必须小于2M,越小越好    采用工具,将SDRam刷为特殊的值,将当前的bin运行在FPGA之上,运行一段时间后,将SDRam dump出来检查其占用的SDRam空间是否足够小。     占用的空间如下:           

2009-07-22 18:36:00 1829

原创 PCR/PTS/DTS 之我见

    现在的工作的原因,有机会深入了解PCR/PTS/DTS的关系和理论。     PCR/PTS/DTS是MEPG2中为了完成A/V播放同步而采用的设置。这个同步有多个意思:AV播放和解码的同步,也就是说传输信道的同步。MEPG2规范中忽略了传输信道的延迟。所以说MPEG2现有的规范难以用在IP TV上。它缺少更进一步的同步机制。解决互联网上传输数据的延迟,抖动,乱序。这些正好

2009-07-21 14:52:00 5302 1

原创 如何开始一份新的工作

Remember: 1. Dont make a sudden impact. Its better to ease your way intothe position and set goals to reach for—so start by observing。2.Really understand the contextof the company

2009-07-15 12:50:00 703

空空如也

空空如也

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

TA关注的人

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