11 2016 档案

摘要:1 void Analysis::compressIntraCU(const CUData& parentCTU, const CUGeom& cuGeom, uint32_t& zOrder) 2 { 3 uint32_t depth = cuGeom.depth;//geometric CU几何结构 4 ModeDepth& md = m_modeDepth... 阅读全文
posted @ 2016-11-27 19:50 mlj318 阅读(1782) 评论(0) 推荐(0)
摘要:1.安装jdk 环境变量 $ sudo gedit ~/.bashrc export JAVA_HOME=/usr/local/jdk1.8.0_65export JRE_HOME=${JAVA_HOME}/jre export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_ 阅读全文
posted @ 2016-11-27 19:46 mlj318 阅读(1168) 评论(0) 推荐(0)
摘要:如果消费者的速度更快,那么消费者总是处于饥饿状态,队列总是处于空状态,生产者生产一个元素立刻就唤醒消费者消耗掉了,有效的队列容量其实只有1,导致消费者每次消费的都是队列中唯一一个元素,每次消费完都处于等待状态。 相反,如果生产者更快,则队列总是处于满状态,消费者总是消费队列中最旧的元素,导致生产者每 阅读全文
posted @ 2016-11-27 19:45 mlj318 阅读(512) 评论(0) 推荐(0)
摘要:同样的代码,在vs下运行正常,在android ndk下却崩溃: signal 7(SIGBUS),code 1 (BUS_ADRALN),fault addr 0xe6b82793 Func(short *pVY[]) { short *dstY[2] = {pVY[0],pVY[1]};//使用 阅读全文
posted @ 2016-11-22 14:00 mlj318 阅读(9786) 评论(0) 推荐(0)
摘要:1.c++ try...catch的支持 需要在Android.mk 中添加 LOCAL_CPPFLAGS += -fexceptions,或者在Application.mk中添加APP_CPPFLAGS += -fexceptions也是等价的 2.添加c++11特性的支持 LOCAL_CPPFL 阅读全文
posted @ 2016-11-07 16:38 mlj318 阅读(547) 评论(0) 推荐(0)
摘要:使用brew install ffmpeg 安装ffmpeg默认是没有支持x265的, 使用brew info ffmpeg 获取安装选项帮助, 使用brew reinstall ffmpeg --with-x265 重新安装即可。 参考:http://trac.ffmpeg.org/wiki/Co 阅读全文
posted @ 2016-11-04 23:40 mlj318 阅读(3536) 评论(0) 推荐(0)
摘要:1. http://www.tuicool.com/articles/fy6Z3aQ 2. http://www.ibm.com/developerworks/cn/linux/l-cn-sdlstatic/ 3. http://blog.chinaunix.net/uid-26548237-id- 阅读全文
posted @ 2016-11-03 15:55 mlj318 阅读(2401) 评论(0) 推荐(0)
摘要:1. vbic_s8 (int8x8_t a, int8x8_t b) 是 ~(ai & bi),一开始理解成 (~ai )& bi 导致出错 2.uint8x8_t vqshrn_n_u16 (uint16x8_t __a, const int __b); 饱和窄型右移 uint8x8_t vsh 阅读全文
posted @ 2016-11-01 12:30 mlj318 阅读(909) 评论(0) 推荐(0)