In the documentation I did not found more information about the YUV format used by the Frame object from the plugins.
Is it Y'UV422, Y'UV421, etc... ?
Is it NV21 ? NV12 ? NV16 ?
There are so many kind of YUV specifications...
I need to convert this buffer to and RGB image but I need to know precisely how to read the byteBuffer.
Hi, using the other thread and some YUV documentation, I can confirm this format in Wikitude's plugin buffer: YUV-YV12. Meaning 12 bytes per pixel : 8 bit Y plane followed by 8 bit 2x2 subsampled V and U planes.
(Android natively seems to be YUV NV12)
Hi Eva, this post refers to Unity documentation, is it the same for Android API ?
Ok, thanks I'll start with this thread, but about the next release I really wait for a more precise and complete documentation.