FLI/FLC file demuxer by Mike Melanson (melanson@pcisys.net) for more information on the .fli/.flc file format and all of its many variations, visit: http://www.compuphase.com/flic.htm.
This decoder outputs PAL8/RGB555/RGB565 and maybe one day RGB24 colorspace data, depending on the FLC. To use this decoder, be sure that your demuxer sends the FLI file header to the decoder via the extradata chunk in AVCodecContext. The chunk should be 128 bytes large. The only exception is for FLI files from the game "Magic Carpet", in which the header is only 12 bytes.
This demuxer handles standard 0xAF11- and 0xAF12-type FLIs. It also handles special FLIs from the PC game "Magic Carpet".
Definition in file flic.c.
Go to the source code of this file.
Classes | |
| struct | FlicDemuxContext |
Functions | |
| static int | flic_probe (AVProbeData *p) |
| static int | flic_read_header (AVFormatContext *s, AVFormatParameters *ap) |
| static int | flic_read_packet (AVFormatContext *s, AVPacket *pkt) |
| static int | flic_read_close (AVFormatContext *s) |
Variables | |
| AVInputFormat | flic_demuxer |
| static int flic_probe | ( | AVProbeData * | p | ) | [static] |
| static int flic_read_header | ( | AVFormatContext * | s, | |
| AVFormatParameters * | ap | |||
| ) | [static] |
| static int flic_read_packet | ( | AVFormatContext * | s, | |
| AVPacket * | pkt | |||
| ) | [static] |
| static int flic_read_close | ( | AVFormatContext * | s | ) | [static] |
Initial value:
{
"flic",
"FLI/FLC/FLX animation format",
sizeof(FlicDemuxContext),
flic_probe,
flic_read_header,
flic_read_packet,
flic_read_close,
}
1.5.5