ffmpeg htc
16lz
2021-12-04
[Android] Unaligned memory access on HTC OneX
XilasZ xilasz at gmail.comFri 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 ]
更多相关文章
- 代码中设置drawableleft
- android 3.0 隐藏 系统标题栏
- Android开发中activity切换动画的实现
- Android(安卓)学习 笔记_05. 文件下载
- Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
- 技术博客汇总
- android 2.3 wifi (一)
- AndRoid Notification的清空和修改
- Android中的Chronometer