[Android] Unaligned memory access on HTC OneX

XilasZ xilasz at gmail.com
Fri Oct 5 10:02:50 CEST 2012

  • Previous message:[Android] Please test
  • Next message:[Android] Unaligned memory access on HTC OneX
  • Messages sorted by:[ date ][ thread ][ subject ][ author ]
As some of you may know, Tegra3 on the HTC OneX is a quad core, but thereis a big issue (at least on my device) :Core0 can do unaligned memory access, but the others can't, unalignedaccess on core1/core2/core3 will trigger a SIGBUS signal which will crashthe app.libav use unaligned memory access when decoding on arm, i got random SIGBUScrashes when playing h264 videos.We checked this with mru, it's not a bug in libav or vlc, so it's eitherthe cpu itself or the kernel (version 2.6.39.4 on my device).To workaround this, i use the attached patch, which disable unalignedmemory access. I never had a single SIGBUS crash since.I didn't notice any performance change, I guess it might be slower.I think we can do a little bench (edward ? :) ), and push it if it'sacceptable.What do you think ?-------------- next part --------------An HTML attachment was scrubbed...URL: <http://mailman.videolan.org/pipermail/android/attachments/20121005/01641521/attachment.html>-------------- next part --------------A non-text attachment was scrubbed...Name: 0007-contrib-ffmpeg-add-disable-fast-unaligned-option.patchType: application/octet-streamSize: 2020 bytesDesc: not availableURL: <http://mailman.videolan.org/pipermail/android/attachments/20121005/01641521/attachment.obj>

  • Previous message:[Android] Please test
  • Next message:[Android] Unaligned memory access on HTC OneX
  • Messages sorted by:[ date ][ thread ][ subject ][ author ]
More information about the Android mailing list

更多相关文章

  1. 代码中设置drawableleft
  2. android 3.0 隐藏 系统标题栏
  3. Android开发中activity切换动画的实现
  4. Android(安卓)学习 笔记_05. 文件下载
  5. Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
  6. 技术博客汇总
  7. android 2.3 wifi (一)
  8. AndRoid Notification的清空和修改
  9. Android中的Chronometer

随机推荐

  1. android内存分析工具- MAT的初识(1)
  2. Android开发高薪之路 蜂窝教育与您同行
  3. Android(安卓)EditText的使用
  4. Android(安卓)Sqlite 数据库—基础篇
  5. Android主流屏幕分辨率介绍
  6. android 7种网络连接方式《IT蓝豹》
  7. 第五章 应用:Hello World!——上
  8. ListView有背景图片或背景颜色,那么在滑动
  9. android学习五(android中基本控件的使用)
  10. android键盘的回车键修改和监听