[vlc-devel] [PATCH] codecs: Add IMM5 Codec Playback Support from libavcodec

Jean-Baptiste Kempf jb at videolan.org
Sun Feb 16 09:31:12 CET 2020


That patch was applied as 5e0988cf9d2b3df8070bca402ac3aa3a0cd82fc9 on Sun Nov 24 11:40:33 2019 +0100


On Thu, Feb 13, 2020, at 18:28, Tom Needham wrote:
> Ping, Is there anything else I must do to get this merged?
> 
> On Sat, 23 Nov 2019 at 19:24, Tom Needham <06needhamt at gmail.com> wrote:
>> This patch adds playback support for the IMM5 Codec provided in libavcodec version 58 56 100.
>> 
>> ---
>>  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..39690f1b0d 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-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

--
Jean-Baptiste Kempf - President
+33 672 704 734


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20200216/06026aff/attachment.html>


More information about the vlc-devel mailing list