Browse Source

codecs: Add IMM5 Codec Playback Support from libavcodec

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>
pull/100/head
Tom Needham 6 years ago
committed by Jean-Baptiste Kempf
parent
commit
5e0988cf9d
  1. 1
      include/vlc_fourcc.h
  2. 4
      modules/codec/avcodec/fourcc.c
  3. 3
      src/misc/fourcc_list.h

1
include/vlc_fourcc.h

@ -188,6 +188,7 @@
#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')
/***********

4
modules/codec/avcodec/fourcc.c

@ -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 */
};

3
src/misc/fourcc_list.h

@ -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"),

Loading…
Cancel
Save