安卓 并行计算 renderscript

本文介绍如何使用Android平台上的Renderscript进行高效的图像模糊处理。Renderscript提供了ScriptIntrinsicBlur,这是一种高斯模糊滤镜,具有良好的视觉效果,并且在Android上实现了最快的实际运行速度。文中还探讨了Renderscript的兼容性和实际应用中可能遇到的问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >



https://medium.com/@qhutch/android-simple-and-fast-image-processing-with-renderscript-2fa8316273e1#.3sm05vq9d    getting started

http://jcodecraeer.com/a/anzhuokaifa/androidkaifa/2016/0504/4205.html getting started  chinese simp


http://stackoverflow.com/questions/2067955/fast-bitmap-blur-for-android-sdk   a example

http://code.tutsplus.com/tutorials/getting-started-with-renderscript-on-android--mobile-9154 getting start 2 

http://www.2cto.com/kf/201604/500817.html


http://android-doc.com/guide/topics/renderscript/advanced.html doc

http://cs.szpt.edu.cn/android/guide/topics/renderscript/advanced.html doc2

http://www.cnblogs.com/hearthunter/p/3448541.html 入门


renderscript :

Renderscript provides ScriptIntrinsicBlur which is a Gaussian blur filter. It has good visual quality and is just the fastest you realisticly get on Android. Google claims to be"typically 2-3x faster than a multithreaded C implementation and often 10x+ faster than a Java implementation". Renderscript is really sophisticated (using fastes processing device (GPU, ISP,etc.), etc.) and there is also thev8 support library for it making it compatible down to 2.2. Well at least in theory, through my own tests and reports from other devs it seems that it is not possible to use renderscript blindly, since the hardware/driver fragmentation seems to cause problems with some devices even with higher sdk lvl (e.g. I had troubles with the 4.1 Nexus S) so be careful and test on a lot devices. Here's a simple example that will get you starting



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值