flic.c File Reference


Detailed Description

Autodesk Animator FLI/FLC Video Decoder 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.

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


Function Documentation

static int flic_probe ( AVProbeData p  )  [static]

Definition at line 53 of file flic.c.

static int flic_read_header ( AVFormatContext s,
AVFormatParameters ap 
) [static]

Definition at line 66 of file flic.c.

static int flic_read_packet ( AVFormatContext s,
AVPacket pkt 
) [static]

Definition at line 141 of file flic.c.

static int flic_read_close ( AVFormatContext s  )  [static]

Definition at line 188 of file flic.c.


Variable Documentation

Initial value:

 {
    "flic",
    "FLI/FLC/FLX animation format",
    sizeof(FlicDemuxContext),
    flic_probe,
    flic_read_header,
    flic_read_packet,
    flic_read_close,
}

Definition at line 195 of file flic.c.


Generated on Sat Dec 18 05:15:51 2010 for MythTV by  doxygen 1.5.5