- 浏览: 559461 次
- 性别:
- 来自: 广州
文章分类
- 全部博客 (338)
- 已过时文章(留念用) (39)
- Android学习笔记 (30)
- Android开发指引自译 (100)
- Android NDK文档自译 (23)
- Android设计指引自译 (2)
- xp(ペケピー)&linux(理奈、铃)酱~ (4)
- ui酱&歌词自译~ (9)
- lua酱~ (9)
- 自我反省 (1)
- 羽game计划 (1)
- XSL酱 (2)
- java酱 (3)
- 设计的领悟 (58)
- 涂鸦作品(pixiv) (1)
- ruby酱 (2)
- Objective-C编程语言自译 (2)
- Android开发月报 (6)
- objc酱 (2)
- photoshop (3)
- js酱 (6)
- cpp酱 (8)
- antlr酱 (7)
- Lua 5.1参考手册自译 (11)
- 收藏品 (3)
- 待宵草计划 (4)
- 体验版截图 (1)
最新评论
-
naruto60:
太给力了!!!!我这网打不开Intel官网,多亏楼主贴了连接, ...
使用HAXM加速的Android x86模拟器(和一些问题) -
yangyile2011:
谢谢博主,翻译得很好哦
【翻译】(4)片段 -
ggwang:
牙痛的彼岸:痹!
牙痛的彼岸 -
ggwang:
总结得很简练清晰啊,学习了!
ANTLR学习笔记一:概念理解 -
leisurelife1990:
mk sdd
用git下载Android自带app的源代码
【翻译】(81)Renderscript之运行时API参考手册
see
http://developer.android.com/guide/topics/renderscript/reference.html
原文见
http://developer.android.com/guide/topics/renderscript/reference.html
-------------------------------
Runtime API Reference
Renderscript之运行时API参考手册
(注:此章包含的是用doxygen生成的文档,我只翻译概览部分,其余内容待翻译)
-------------------------------
Overview Globals Structs
概览 全局 结构体
Renderscript is a high-performance runtime that provides graphics rendering and compute operations at the native level. Renderscript code is compiled on devices at runtime to allow platform-independence as well. This reference documentation describes the Renderscript runtime APIs, which you can utilize to write Renderscript code in C99. The Renderscript header files are automatically included for you, except for the rs_graphics.rsh header. If you are doing graphics rendering, include the graphics header file like this:
Renderscript是一个高性能运行时,它在原生层上提供图形渲染和计算操作。Renderscript代码在运行时期间在设备上被编译,而且是为了允许平台独立性。本参考文档描述Renderscript运行时API,你可以利用它用C99编写Renderscript代码。Renderscript头文件为你自动地被包含,除了rs_graphics.rsh头文件。如果你正在执行图形渲染,像这样包含图形头文件:
#include "rs_graphics.rsh"
To use Renderscript, you need to utilize the Renderscript runtime APIs documented here as well as the Android framework APIs for Renderscript. For documentation on the Android framework APIs, see the android.renderscript package reference. For more information on how to develop with Renderscript and how the runtime and Android framework APIs interact, see the Renderscript developer guide and the Renderscript samples.
为了使用Renderscript,你需要利用在这里被文档化的Renderscript运行时API以及用于Renderscript的Android框架API。想获得关于Android框架API的文档,参见android.renderscript的包参考手册。想获得关于如何用Renderscript开发和运行时和Android框架API如何交互的更多信息,参见Renderscript开发者指引和Renderscript示例。
Except as noted, this content is licensed under Apache 2.0. For details and restrictions, see the Content License.
除特别说明外,本文在Apache 2.0下许可。细节和限制请参考内容许可证。
Android 4.0 r1 - 07 Apr 2012 1:06
-------------------------------
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
此页部分内容,是基于Android开源项目所创建和共享的工作,并且根据知识共享2.5署名许可证描述的条款来使用的修改版。
(本人翻译质量欠佳,请以官方最新内容为准,或者参考其它翻译版本:
* ソフトウェア技術ドキュメントを勝手に翻訳
http://www.techdoctranslator.com/android
* Ley's Blog
http://leybreeze.com/blog/
* 农民伯伯
http://www.cnblogs.com/over140/
* Android中文翻译组
http://androidbox.sinaapp.com/
)
发表评论
-
【翻译】(9-补丁2)电话簿提供者
2012-07-18 12:54 2332【翻译】(9-补丁2)电话簿提供者 see h ... -
【翻译】(8-补丁1)Android接口定义语言(AIDL)
2012-07-02 05:55 2850【翻译】(8-补丁1)Andro ... -
【翻译】(0)应用组件
2012-06-30 23:50 789【翻译】(0)应用组件 see http:// ... -
【翻译】(88)传感器
2012-05-21 21:25 1023【翻译】(88)传感器 ... -
【翻译】(87)复制与粘贴
2012-05-20 14:48 1884【翻译】(87)复制与粘贴 see http: ... -
【翻译】(86)音频捕捉
2012-05-16 15:14 1037【翻译】(86)音频捕捉 ... -
【翻译】(85)照相机
2012-05-13 15:09 3727【翻译】(85)照相机 see http:// ... -
【翻译】(84)JetPlayer
2012-04-21 16:24 933【翻译】(84)JetPlayer see h ... -
【翻译】(83)媒体回放
2012-04-21 16:00 1801【翻译】(83)媒体回放 see http:/ ... -
【翻译】(82)多媒体与照相机
2012-04-18 23:05 904【翻译】(82)多媒体与照相机 see htt ... -
【翻译】(23-补丁3)构建无障碍服务
2012-04-18 21:57 1582【翻译】(23-补丁3)构 ... -
【翻译】(23-补丁2)使应用程序无障碍
2012-04-16 13:08 2029【翻译】(23-补丁2)使应用程序无障碍 see ... -
【翻译】(23-补丁1)无障碍
2012-04-11 22:38 854【翻译】(23-补丁1)无 ... -
【翻译】(80)Renderscript之计算
2012-04-09 14:09 1388【翻译】(80)Renderscript之计算 ... -
【翻译】(79)Renderscript之图形
2012-04-08 13:59 2800【翻译】(79)Renderscript之图形 ... -
【翻译】(78)Renderscript
2012-04-04 15:35 1394【翻译】(78)Renderscript see ... -
【翻译】(77)可绘画对象动画
2012-03-18 10:52 666【翻译】(77)可绘画对象动画 see htt ... -
【翻译】(76)视图动画
2012-03-18 10:04 759【翻译】(76)视图动画 see http:/ ... -
【翻译】(75)属性动画
2012-03-17 18:24 2473【翻译】(75)属性动画 see http:/ ... -
【翻译】(74)动画
2012-03-10 14:22 989【翻译】(74)动画 ...
相关推荐
renderscript Google官方源码。
分别为:RenderScript绘制字符串、RenderScript绘制颜色矩形、RenderScript绘制纹理矩形、RenderScript混合、RenderScript采样、RenderScript旋转的圆环(剪裁方式)、RenderScript中的光照、RenderScript中片元着色器...
简单的RenderScript实现照片取反色
renderScript_fina ,max批量渲染工具,可以一键渲染多个文件
renderscript-v8.jar,直接放入工程libs目录引用即可,有需要拿去
实现高斯模糊的工具包,github开源项目https://github.com/android/renderscript-intrinsics-replacement-toolkit打包生成。
包含经典的rs使用代码示例,包括了rs的基础使用,和高级使用
Camera 使用renderscript高效转化YUV到RGB,我查了很多代码资料,关于renderscript的使用方法都没太看懂,特别是foreach的使用,以及camera照片需要90度旋转的问题都没有很好的解决。自己摸索了两天终于试了出来,...
You can find more detail about RenderScript here: RenderScript Includes library and small example project. Gradle compile 'com.qiushui:blurredview:0.8.1' Enable RenderScript support mode: default...
RenderScript 计算的Sample
用于低版本(API Level8及以上)的安卓系统的图像处理的库文件,例如模糊、矩阵运算等的图像处理
YUV数据格式支持NV21、YV12、YUV420_888,对应Android Camera1API和Camera2 API的YUV处理。 这段时间在做一些Android Camera数据处理相关的工作,涉及到YUV转RGBA。 由于对性能要求极高,我采用了多种解决方案。 ...
主要为大家详细介绍了Android RenderScript实现高斯模糊的相关资料,具有一定的参考价值,感兴趣的小伙伴们可以参考一下
安卓开发-RenderScript.zip
基于 RenderScript 实现的模糊效果,支持多种方式的模糊,如静态模糊,实时模糊还有模糊动画。.zip,dali是android的图像模糊库。它包含几个模块,用于静态模糊、实时模糊和动画。
主要介绍了Android RenderScript高斯模糊的相关代码,具有一定的参考价值,感兴趣的小伙伴们可以参考一下
RenderScriptPlayground是一个示例性Android应用程序,显示了如何将RenderScript与Android Studio和Gradle一起使用。 应用程序正在使用RenderScript支持库,因此它应可与Android Froyo(2.2)一起使用。 入门 1.克隆...