comparison idcinvideo.c @ 1499:446ff1d593b0 libavcodec

instructions for using the decoder
author tmmm
date Fri, 03 Oct 2003 05:50:06 +0000
parents 9eb9b77cf418
children 6b224ca24033
comparison
equal deleted inserted replaced
1498:9eb9b77cf418 1499:446ff1d593b0
22 * @file idcinvideo.c 22 * @file idcinvideo.c
23 * Id Quake II Cin Video Decoder by Dr. Tim Ferguson 23 * Id Quake II Cin Video Decoder by Dr. Tim Ferguson
24 * For more information about the Id CIN format, visit: 24 * For more information about the Id CIN format, visit:
25 * http://www.csse.monash.edu.au/~timf/ 25 * http://www.csse.monash.edu.au/~timf/
26 * 26 *
27 * This video decoder outputs PAL8 colorspace data. 27 * This video decoder outputs PAL8 colorspace data. Interacting with this
28 * decoder is a little involved. During initialization, the demuxer must
29 * transmit the 65536-byte Huffman table(s) to the decoder via extradata.
30 * Then, whenever a palette change is encountered while demuxing the file,
31 * the demuxer must use the same extradata space to transmit an
32 * AVPaletteControl structure.
28 * 33 *
29 * Id CIN video is purely Huffman-coded, intraframe-only codec. It achieves 34 * Id CIN video is purely Huffman-coded, intraframe-only codec. It achieves
30 * a little more compression by exploiting the fact that adjacent pixels 35 * a little more compression by exploiting the fact that adjacent pixels
31 * tend to be similar. 36 * tend to be similar.
32 * 37 *