[vlc-devel] commit: FourCC v210 (Jean-Baptiste Kempf )
git version control
git at videolan.org
Wed May 13 23:55:22 CEST 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed May 13 23:51:17 2009 +0200| [2cb44954d6afb9e67eb24c7dcbd4b3d279b4eff0] | committer: Jean-Baptiste Kempf
FourCC v210
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2cb44954d6afb9e67eb24c7dcbd4b3d279b4eff0
---
include/vlc_fourcc.h | 2 ++
modules/codec/avcodec/fourcc.c | 4 ++++
src/misc/fourcc.c | 3 +++
3 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/include/vlc_fourcc.h b/include/vlc_fourcc.h
index 7bc4076..ed7e959 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -167,6 +167,8 @@
#define VLC_CODEC_YMGA VLC_FOURCC('Y','M','G','A')
/* Packed YUV 4:2:2, U:Y:V:Y, reverted */
#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')
/* Image codec (video) */
#define VLC_CODEC_PNG VLC_FOURCC('p','n','g',' ')
diff --git a/modules/codec/avcodec/fourcc.c b/modules/codec/avcodec/fourcc.c
index 6e18746..51d0c59 100644
--- a/modules/codec/avcodec/fourcc.c
+++ b/modules/codec/avcodec/fourcc.c
@@ -208,6 +208,10 @@ static const struct
{ VLC_CODEC_MIMIC, CODEC_ID_MIMIC, VIDEO_ES },
#endif
+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 52, 29, 0 )
+ { VLC_CODEC_V210, CODEC_ID_V210, VIDEO_ES },
+#endif
+
/* Videogames Codecs */
{ VLC_CODEC_INTERPLAY, CODEC_ID_INTERPLAY_VIDEO, VIDEO_ES },
diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
index c168b74..5e92e19 100644
--- a/src/misc/fourcc.c
+++ b/src/misc/fourcc.c
@@ -685,6 +685,9 @@ static const entry_t p_list_video[] = {
A("cyuv"),
A("CYUV"),
+ B(VLC_CODEC_V210, "10-bit 4:2:2 Component YCbCr"),
+ A("v210"),
+
/* Videogames Codecs */
/* Interplay MVE */
More information about the vlc-devel
mailing list