diff options
author | Mike Melanson <mike@multimedia.cx> | 2003-10-03 09:50:06 +0400 |
---|---|---|
committer | Mike Melanson <mike@multimedia.cx> | 2003-10-03 09:50:06 +0400 |
commit | 5a00941b0690968b7309854d188eb63f3a9c6fa2 (patch) | |
tree | a6bdf6c7e3f6c4b5ea3da8bf71247fd6483c5ac4 /libavcodec/idcinvideo.c | |
parent | 4120a53a868cc99e66121c625981050deed50443 (diff) |
instructions for using the decoder
Originally committed as revision 2340 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/idcinvideo.c')
-rw-r--r-- | libavcodec/idcinvideo.c | 7 |
1 files changed, 6 insertions, 1 deletions
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 |