]> git.sesse.net Git - vlc/commitdiff
Add picture format declarations for NV12 and NV21
authorMartin Storsjö <martin@martin.st>
Mon, 12 Sep 2011 19:40:35 +0000 (21:40 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Mon, 12 Sep 2011 19:40:35 +0000 (21:40 +0200)
Signed-off-by: Laurent Aimar <fenrir@videolan.org>
src/misc/fourcc.c

index e2907cb86e1f5a2026248332bf62e13c94593d33..6e8d85df5e97531e403a1a6150d2b465b120c138 100644 (file)
@@ -1770,6 +1770,7 @@ static const struct
     { { VLC_CODEC_I411, 0 },                   PLANAR_8(3, 4, 1) },
     { { VLC_CODEC_YUV_PLANAR_410, 0 },         PLANAR_8(3, 4, 4) },
     { { VLC_CODEC_YUV_PLANAR_420, 0 },         PLANAR_8(3, 2, 2) },
+    { { VLC_CODEC_NV12, VLC_CODEC_NV21, 0 },   PLANAR_8(2, 1, 2) },
     { { VLC_CODEC_YUV_PLANAR_422, 0 },         PLANAR_8(3, 2, 1) },
     { { VLC_CODEC_YUV_PLANAR_440, 0 },         PLANAR_8(3, 1, 2) },
     { { VLC_CODEC_YUV_PLANAR_444, 0 },         PLANAR_8(3, 1, 1) },