avcodec: map Canopus Lossless (CLLC)

Sample:
http://fate-suite.libav.org/cllc/sample-cllc-rgb.avi

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
This commit is contained in:
Daniel Verkamp 2014-01-12 01:15:03 -07:00 committed by Jean-Baptiste Kempf
parent fa5f671482
commit cf550d148c
3 changed files with 7 additions and 1 deletions

View File

@ -145,6 +145,7 @@
#define VLC_CODEC_THP VLC_FOURCC('T','H','P','0') #define VLC_CODEC_THP VLC_FOURCC('T','H','P','0')
#define VLC_CODEC_ESCAPE124 VLC_FOURCC('E','1','2','4') #define VLC_CODEC_ESCAPE124 VLC_FOURCC('E','1','2','4')
#define VLC_CODEC_KGV1 VLC_FOURCC('K','G','V','1') #define VLC_CODEC_KGV1 VLC_FOURCC('K','G','V','1')
#define VLC_CODEC_CLLC VLC_FOURCC('C','L','L','C')
/* Planar YUV 4:1:0 Y:V:U */ /* Planar YUV 4:1:0 Y:V:U */
#define VLC_CODEC_YV9 VLC_FOURCC('Y','V','U','9') #define VLC_CODEC_YV9 VLC_FOURCC('Y','V','U','9')

View File

@ -233,7 +233,9 @@ static const struct
#if LIBAVCODEC_VERSION_CHECK( 54, 20, 0, 37, 100 ) #if LIBAVCODEC_VERSION_CHECK( 54, 20, 0, 37, 100 )
{ VLC_CODEC_MTS2, AV_CODEC_ID_MTS2, VIDEO_ES }, { VLC_CODEC_MTS2, AV_CODEC_ID_MTS2, VIDEO_ES },
#endif #endif
/* AV_CODEC_ID_CLLC */ #if LIBAVCODEC_VERSION_CHECK( 54, 24, 0, 47, 100 )
{ VLC_CODEC_CLLC, AV_CODEC_ID_CLLC, VIDEO_ES },
#endif
#if LIBAVCODEC_VERSION_CHECK( 54, 27, 0, 55, 100 ) #if LIBAVCODEC_VERSION_CHECK( 54, 27, 0, 55, 100 )
{ VLC_CODEC_MSS2, AV_CODEC_ID_MSS2, VIDEO_ES }, { VLC_CODEC_MSS2, AV_CODEC_ID_MSS2, VIDEO_ES },
#endif #endif

View File

@ -1017,6 +1017,9 @@ static const staticentry_t p_list_video[] = {
B(VLC_CODEC_KGV1, "Kega Game Video (KGV1)"), B(VLC_CODEC_KGV1, "Kega Game Video (KGV1)"),
A("KGV1"), A("KGV1"),
B(VLC_CODEC_CLLC, "Canopus Lossless"),
A("CLLC"),
B(0, "") B(0, "")
}; };
static const staticentry_t p_list_audio[] = { static const staticentry_t p_list_audio[] = {