Skip to content

Latest commit

 

History

History
63 lines (40 loc) · 3.01 KB

README.md

File metadata and controls

63 lines (40 loc) · 3.01 KB

Hella-Parallel Compute with RenderScript

Current state: The app works! It's mostly kotlin now. The Cool algebra part is WIP (see below).

Cool algebra, Lydia! Thanks!

  • This repo is also being used as a base-app and test harness for a new project. It's focused on trying to define an abstract algebra of Colors, Photos, and ColorCubes (3D LUTs), and implement it on Android using Renderscript. It's WIP, but pretty fun.
  • Note: As part of this I converted :hella and most of :app to Kotlin.

RS References!

Essentials + source code (somtimes the best docs we have)

RS Developer Guide

RS Runtime API

RS Java api - Tests

  • Good examples! In particular the ImageProcessing2 module.

RS Java API source code

Excellent examples with walkthoughs

Marchetti book + examples

Renderscript: Parallel Computing on Android the Easy Way

Google codelabs: Artistic style transfer and other advanced image editing

  • neural network compute on device!

Intel: Multimedia API Playback with RenderScript Effect

  • shows usage for MediaCodec and ImageFormat.NV21 YUV format

Digging deeper

RS runtime source code (C++)

RS driver reference implementations (C++)

RS scripting language offline compiler (slang)

RS scripting language back-end (jit, on device) compiler (bcc)

Good general references

https://source.android.com/devices/graphics/architecture

https://developer.android.com/training/articles/perf-jni.html

https://developer.android.com/training/articles/smp.html

Other options for compute (mostly GLES)

https://github.com/CyberAgent/android-gpuimage

https://github.com/googlesamples/android-MediaEffects

https://github.com/INDExOS/media-for-mobile

https://developer.android.com/guide/topics/graphics/2d-graphics.html

project sources:

https://github.com/googlesamples/android-HdrViewfinder

https://github.com/googlesamples/android-BasicRenderScript

https://github.com/google/grafika