codecs: Add IMM5 Codec Playback Support from libavcodec
authorTom Needham <06needhamt@gmail.com>
Sat, 23 Nov 2019 19:24:06 +0000 (19:24 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 24 Nov 2019 10:40:33 +0000 (11:40 +0100)
This patch adds playback support for the IMM5 Codec provided in libavcodec
version 58 56 100.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
include/vlc_fourcc.h
modules/codec/avcodec/fourcc.c
src/misc/fourcc_list.h

index cc298b4..bfa40af 100644 (file)
 #define VLC_CODEC_PIXLET          VLC_FOURCC('p','x','l','t')
 #define VLC_CODEC_MAGICYUV        VLC_FOURCC('M','8','Y','0')
 #define VLC_CODEC_IMM4            VLC_FOURCC('I','M','M','4')
+#define VLC_CODEC_IMM5            VLC_FOURCC('I','M','M','5')
 #define VLC_CODEC_AGM             VLC_FOURCC('A','G','M','0')
 
 /***********
index 18fc6aa..6d57c23 100644 (file)
@@ -316,6 +316,10 @@ static const struct vlc_avcodec_fourcc video_codecs[] =
 #if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 58, 49, 100 )
     { VLC_CODEC_AGM, AV_CODEC_ID_AGM },
 #endif
+
+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 58, 56, 100 )
+    { VLC_CODEC_IMM5, AV_CODEC_ID_IMM5 },
+#endif
 #endif /* FFmpeg only */
 };
 
index 2176473..e121b3b 100644 (file)
@@ -1181,6 +1181,9 @@ static const staticentry_t p_list_video[] = {
     B(VLC_CODEC_IMM4, "Infinity IMM4"),
         A("IMM4"),
 
+    B(VLC_CODEC_IMM5, "Infinity IMM5"),
+        A("IMM5"),
+
     B(VLC_CODEC_VDPAU_VIDEO_420, "4:2:0 VDPAU opaque"),
         A("VDV0"),