Monday, October 29, 2012

[android-developers] Using OpenGL ES 2.0 on camera buffers

Hi,
I looked around yesterday for an answer to this but couldn't find a proper way to do this. All of the answer were 'hacks' sort of, results in huge loss in fps doing this.
I am wondering if there's an 'official' way to get camera buffer to GPU? What I mean by that is:

a) Avoid converting from YUB to RGB (takes a lot of CPU cycles, drops fps)
b) Not copying the buffers (sort of like in iOS, where you can bind the texture, and avoid expensive memcpy)
c) Save the buffers to a video file 

It doesn't matter if I need to use the latest device and/or Android OS. Just want to know the proper way of doing this or if it's still yet not possible.

Thanks!

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate