avcodec: add cdtoons decoder

This adds a decoder for Broderbund's sprite-based QuickTime CDToons
codec, based on the decoder I wrote for ScummVM.

Signed-off-by: Alyssa Milburn <amilburn@zall.org>
This commit is contained in:
Alyssa Milburn
2020-01-05 19:41:14 +01:00
committed by Paul B Mahol
parent 55755b4ab2
commit 732d77dc50
9 changed files with 465 additions and 2 deletions
+7
View File
@@ -1747,6 +1747,13 @@ static const AVCodecDescriptor codec_descriptors[] = {
.long_name = NULL_IF_CONFIG_SMALL("MidiVid Archive Codec"),
.props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
},
{
.id = AV_CODEC_ID_CDTOONS,
.type = AVMEDIA_TYPE_VIDEO,
.name = "cdtoons",
.long_name = NULL_IF_CONFIG_SMALL("CDToons video"),
.props = AV_CODEC_PROP_LOSSLESS,
},
/* various PCM "codecs" */
{