As far as I know you have to convert yuv format to rgba as Opengl can't render yuv directly, but rgba.
For the conversion you are encouraged to use shaders for a faster execution.
If I remember well there is an example for this in the AppRTCDemo Android app, as part of the webrtc code base. Probably there is a similar example for the Windows and Mac platform too.
I'm looking for a way to get raw YUV data in cricket::VideoFrame in YUV420 format to float. I need that to make one texture in OpenGL from a YUV frame. If anybody knows any other manner, all help is welcome.
Thanks in advance
--
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Other option can be get a RGB raw data from cricket::VideoFrame. Any example? sorry I'm newbie. Thanks