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

Martin Storsjö git at videolan.org
Mon Sep 12 21:48:01 CEST 2011


vlc | branch: master | Martin Storsjö <martin at martin.st> | Mon Sep 12 21:40:35 2011 +0200| [2bf6fb20e219a113622624ee61c143e543b65bf0] | committer: Laurent Aimar

Add picture format declarations for NV12 and NV21

Signed-off-by: Laurent Aimar <fenrir at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2bf6fb20e219a113622624ee61c143e543b65bf0
---

 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 e2907cb..6e8d85d 100644
--- a/src/misc/fourcc.c
+++ b/src/misc/fourcc.c
@@ -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) },



More information about the vlc-commits mailing list