vlc | branch: master | Tom Needham <[email protected]> | Sat Nov 23 19:24:06 2019 +0000| [a68b750602ec9fb827b60e93cb5979b7af926914] | committer: Jean-Baptiste Kempf
codecs: Add IMM5 Codec Playback Support from libavcodec --000000000000f32d540598087994 Content-Type: text/plain; charset="UTF-8" This patch adds playback support for the IMM5 Codec provided in libavcodec version 58 56 100. Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a68b750602ec9fb827b60e93cb5979b7af926914 --- include/vlc_fourcc.h | 1 + modules/codec/avcodec/fourcc.c | 4 ++++ src/misc/fourcc_list.h | 3 +++ 3 files changed, 8 insertions(+) diff --git a/include/vlc_fourcc.h b/include/vlc_fourcc.h index cc298b4b83..bfa40afff8 100644 --- a/include/vlc_fourcc.h +++ b/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') /*********** diff --git a/modules/codec/avcodec/fourcc.c b/modules/codec/avcodec/fourcc.c index 18fc6aa3b8..6d57c23bba 100644 --- a/modules/codec/avcodec/fourcc.c +++ b/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 */ }; diff --git a/src/misc/fourcc_list.h b/src/misc/fourcc_list.h index 2176473b98..e121b3b9a8 100644 --- a/src/misc/fourcc_list.h +++ b/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"), _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
