Start a new topic

Plugin and Frame pixels format

Hi,

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.


Thanks !



Hello Vincent,

We are aware of the fact that this information is missing at the moment and we have already included this for our next release. Does this forum post helps you understand more about the format YUV?

Thanks
Eva

 

Hi Eva, this post refers to Unity documentation, is it the same for Android API ?

Thanks


Vince

Hi,

Yes it is, at least the parts that don't specifically mention Unity or C#.

Thanks
Eva

 

Ok, thanks I'll start with this thread, but about the next release I really wait for a more precise and complete documentation.

Thanks

Vince

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)


Vince.

Login or Signup to post a comment