[vlc-commits] Declare NV21, NV16 and NV61 chromas
Rémi Denis-Courmont
git at videolan.org
Thu Aug 25 22:46:29 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Aug 25 23:45:47 2011 +0300| [24a2edf5e398bbfbc2110fd5c203bda7254793e9] | committer: Rémi Denis-Courmont
Declare NV21, NV16 and NV61 chromas
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=24a2edf5e398bbfbc2110fd5c203bda7254793e9
---
include/vlc_fourcc.h | 8 +++++++-
src/misc/fourcc.c | 8 +++++++-
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/include/vlc_fourcc.h b/include/vlc_fourcc.h
index c4a87d3..b45f769 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -202,8 +202,14 @@
#define VLC_CODEC_CYUV VLC_FOURCC('c','y','u','v')
/* 10-bit 4:2:2 Component YCbCr */
#define VLC_CODEC_V210 VLC_FOURCC('v','2','1','0')
-/* Planar Y Packet UV (420) */
+/* 2 planes Y/UV 4:2:0 */
#define VLC_CODEC_NV12 VLC_FOURCC('N','V','1','2')
+/* 2 planes Y/VU 4:2:0 */
+#define VLC_CODEC_NV21 VLC_FOURCC('N','V','2','1')
+/* 2 planes Y/UV 4:2:2 */
+#define VLC_CODEC_NV16 VLC_FOURCC('N','V','1','6')
+/* 2 planes Y/VU 4:2:2 */
+#define VLC_CODEC_NV61 VLC_FOURCC('N','V','6','1')
/* Image codec (video) */
#define VLC_CODEC_PNG VLC_FOURCC('p','n','g',' ')
diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
index 24d90ae..b3b7cb7 100644
--- a/src/misc/fourcc.c
+++ b/src/misc/fourcc.c
@@ -730,8 +730,14 @@ static const entry_t p_list_video[] = {
B(VLC_CODEC_V210, "10-bit 4:2:2 Component YCbCr"),
A("v210"),
- B(VLC_CODEC_NV12, "Planar Y, Packet UV (420)"),
+ B(VLC_CODEC_NV12, "Biplanar 4:2:0 Y/UV"),
A("NV12"),
+ B(VLC_CODEC_NV21, "Biplanar 4:2:0 Y/VU"),
+ A("NV21"),
+ B(VLC_CODEC_NV16, "Biplanar 4:2:2 Y/UV"),
+ A("NV16"),
+ B(VLC_CODEC_NV61, "Biplanar 4:2:2 Y/VU"),
+ A("NV61"),
B(VLC_CODEC_I420_9L, "Planar 4:2:0 YUV 9-bit LE"),
A("I09L"),
More information about the vlc-commits
mailing list