[vlc-commits] Add DXV fourcc
Vittorio Giovara
git at videolan.org
Fri Feb 5 16:22:46 CET 2016
vlc | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Wed Feb 3 16:14:47 2016 +0100| [75ff8667cc40be7fc136ac219e7efc21afb892f6] | committer: Jean-Baptiste Kempf
Add DXV fourcc
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=75ff8667cc40be7fc136ac219e7efc21afb892f6
---
include/vlc_fourcc.h | 1 +
modules/codec/avcodec/fourcc.c | 5 +++++
src/misc/fourcc_list.h | 4 ++++
3 files changed, 10 insertions(+)
diff --git a/include/vlc_fourcc.h b/include/vlc_fourcc.h
index 2836097..656ec4f 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -176,6 +176,7 @@
#define VLC_CODEC_HQX VLC_FOURCC('C','H','Q','X')
#define VLC_CODEC_HQ_HQA VLC_FOURCC('C','U','V','C')
#define VLC_CODEC_HAP VLC_FOURCC('H','A','P','1')
+#define VLC_CODEC_DXV VLC_FOURCC('D','X','D','3')
/***********
* Chromas
diff --git a/modules/codec/avcodec/fourcc.c b/modules/codec/avcodec/fourcc.c
index 67482d4..3c845e6 100644
--- a/modules/codec/avcodec/fourcc.c
+++ b/modules/codec/avcodec/fourcc.c
@@ -271,6 +271,11 @@ static const struct
{ VLC_CODEC_HAP, AV_CODEC_ID_HAP, VIDEO_ES },
#endif
/* AV_CODEC_ID_DDS */
+
+#if LIBAVCODEC_VERSION_CHECK( 57, 1, 0, 2, 100 )
+ { VLC_CODEC_DXV, AV_CODEC_ID_DXV, VIDEO_ES },
+#endif
+
#if LIBAVCODEC_VERSION_CHECK( 56, 31, 0, 46, 100 )
{ VLC_CODEC_G2M2, AV_CODEC_ID_G2M, VIDEO_ES },
{ VLC_CODEC_G2M3, AV_CODEC_ID_G2M, VIDEO_ES },
diff --git a/src/misc/fourcc_list.h b/src/misc/fourcc_list.h
index a48de54..3c2aa79 100644
--- a/src/misc/fourcc_list.h
+++ b/src/misc/fourcc_list.h
@@ -716,6 +716,10 @@ static const staticentry_t p_list_video[] = {
E("Hap5", "Vidvox Hap Alpha"),
E("HapY", "Vidvox Hap Q"),
+ B(VLC_CODEC_DXV, "Resolume DXV"),
+ A("DXDI"),
+ E("DXD3", "Resolume DXV version 3"),
+
/* */
B(VLC_CODEC_YV12, "Planar 4:2:0 YVU"),
A("YV12"),
More information about the vlc-commits
mailing list