Mercurial > libavcodec.hg
changeset 1499:446ff1d593b0 libavcodec
instructions for using the decoder
author | tmmm |
---|---|
date | Fri, 03 Oct 2003 05:50:06 +0000 |
parents | 9eb9b77cf418 |
children | 726a81d83ddd |
files | idcinvideo.c |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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