[vlc-devel] [PATCH] Add picture format declarations for NV12 and NV21

Martin Storsjö martin at martin.st
Thu Sep 8 22:55:25 CEST 2011


---
 src/misc/fourcc.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
index fa357fc..5279874 100644
--- a/src/misc/fourcc.c
+++ b/src/misc/fourcc.c
@@ -1767,6 +1767,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) },
-- 
1.7.2.5




More information about the vlc-devel mailing list