android - Pass data efficiently across JNI as well as renderscript -



android - Pass data efficiently across JNI as well as renderscript -

i intend read yuv frames jni level, process them in renderscript , render them. curious if there efficient way pass blocks of info without many re-create ops. right now, using newdirectbytebuffer() homecoming frames java bytebuffer. seems can't straight build allocation upon bytebuffer.

so question can in 2 re-create operations or less?

copy info allocation copy info surfaceview (i suppose there re-create operation @ rendering part, canvas.setbitmapy(bmp))

android jni renderscript

Comments

Popular posts from this blog

java Multi query from Mysql using netbeans -

c# - DotNetZip fails with "stream does not support seek operations" -

c++ - StartServiceCtrlDispatcher don't can access 1063 error -