Hella-Parallel Compute with RenderScript
summary
VSCO’s Android imaging pipeline runs almost entirely on RenderScript for over three years, processing 12 million pixels (4K) images without blowing the Java heap by using allocation outside Java heap and surface-backed YUV→RGB conversion. Available intrinsics — script intrinsics like blur, resize, color matrix and 3D LUTs — perform large per-pixel pure functions massively parallel on CPU/GPU where available. An open-source camera app shows real-time filters, drops occasional frames, and exposes limits: sparse docs and tricky native debugging.
AI-written summary · about
chapters (13)
- 0:00Introduction to RenderScript
- 1:01What is RenderScript
- 5:19Understanding Bitmaps
- 11:42RenderScript API Basics
- 15:31Parallel Execution Strategies
- 20:12Comparing Compute Options
- 23:23OpenGL for Image Processing
- 27:59Vulkan and RenderScript
- 28:23Script Intrinsics Overview
- 31:15Color Manipulation with Scripts
- 31:41Live Demo of Camera App
- 38:04Debugging and Recommendations
- 38:49Q&A and Closing
related talks
40mHigh Performance Applications with RenderScript
21mSimple and Fast Image Processing with RenderScript
37mRendering performance inside out
30mGeneral Purpose GPU computing in simple steps
21mOptimising your mobile game using scriptable render pipelines
33mA LUT (lot) of image filters on Android
39mThe Pixel Factory
01h 03mIntro to 3D Graphics
