# HG changeset patch # User tmmm # Date 1065160206 0 # Node ID 446ff1d593b0ef9bcf4215b9bb4bf80e9bc07b9c # Parent 9eb9b77cf418903a5556acd0b12ee6e8d34f269d instructions for using the decoder diff -r 9eb9b77cf418 -r 446ff1d593b0 idcinvideo.c --- a/idcinvideo.c Fri Oct 03 05:43:03 2003 +0000 +++ b/idcinvideo.c Fri Oct 03 05:50:06 2003 +0000 @@ -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