[vlc-devel] [PATCH] androidsurface: setup format depending on surface format

Rémi Denis-Courmont remi at remlab.net
Wed Jan 2 18:10:54 CET 2013


Le mardi 1 janvier 2013 23:43:05, Rafaël Carré a écrit :
> (From the comment I assume YV12 is I420 with U&V swapped, please correct
> me if I'm wrong)

In VLC, YV12 is I420 with p[1] and p[2] inverted in picture_t. In most frame 
buffers, YV12 is YUV4:2:2 with planes in YVU memory order.

Subtly different and hence confusing.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list