12 2010 档案

摘要:发现一个新的ffdshow-tryout 项目,这个东西不错。集成了ffmpeg,h264等开源项目,又是跨平台的。而且还在不断的更行,我很喜欢这个项目。值得仔细品味研究一下。可以用mingw 和vs2010编译。就像它的wiki上developer 描述的那样就可以。非常简单。用vs2010加graphEdit联合可以进行调试。 grpahEdit is part of window sdk 7.0 /binffdshow.ax有个配置界面,通过它可以选择该fliter可以解码哪些格式的音视频。还可以打开调试用winDbg可以收集到调试信息,或者直接用vs2010查看调试。加载的入口:Tff 阅读全文

posted @ 2010-12-22 17:20 Teddy Yan 阅读(1573) 评论(1) 推荐(0) |

摘要:其实题目很简单,就是计算一个整数数组中,连续的最大子数组。一开始想到肯定是个O(n*n)的算法:maxSectionGood后来使用递归O(n*log(n)):maxSectionExcellent最经典的是最后一个算法,提升到了O(n):maxSectionPrefectGoogle 笔试题:input: an array of int which represent a binary number the bit is 1output: the count of 1 triple of the numberinput: an array of intoutput: the max sum 阅读全文

posted @ 2010-12-16 10:36 Teddy Yan 阅读(238) 评论(0) 推荐(0) |

博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3