From 5a00941b0690968b7309854d188eb63f3a9c6fa2 Mon Sep 17 00:00:00 2001 From: Mike Melanson Date: Fri, 3 Oct 2003 05:50:06 +0000 Subject: instructions for using the decoder Originally committed as revision 2340 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/idcinvideo.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'libavcodec/idcinvideo.c') diff --git a/libavcodec/idcinvideo.c b/libavcodec/idcinvideo.c index 2a6ae360f8..d516e39fbf 100644 --- a/libavcodec/idcinvideo.c +++ b/libavcodec/idcinvideo.c @@ -24,7 +24,12 @@ * For more information about the Id CIN format, visit: * http://www.csse.monash.edu.au/~timf/ * - * This video decoder outputs PAL8 colorspace data. + * This video decoder outputs PAL8 colorspace data. Interacting with this + * decoder is a little involved. During initialization, the demuxer must + * transmit the 65536-byte Huffman table(s) to the decoder via extradata. + * Then, whenever a palette change is encountered while demuxing the file, + * the demuxer must use the same extradata space to transmit an + * AVPaletteControl structure. * * Id CIN video is purely Huffman-coded, intraframe-only codec. It achieves * a little more compression by exploiting the fact that adjacent pixels -- cgit v1.2.3