Search code examples
androidimage-processingcomputer-visionrenderscript

Renderscript - processing 2 images


Quickly going through the documentation I haven't found any obvious way of passing 2 images as inputs - has anyone done this or know if its possible with the current implementation?

Cheers, Josh


Solution

  • Kernel inputs are currently limited to a single allocation. You can pass additional allocations at the global scope and then use rsGetElementAt(thealloc, coords...) to get the data out of them.