Logo Search packages:      
Sourcecode: blender version File versions  Download package

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

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.

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 demuxer handles standard 0xAF11- and 0xAF12-type FLIs. It also handles special FLIs from the PC game "Magic Carpet".

Definition in file flic.c.

#include "avformat.h"

Go to the source code of this file.

Classes

struct  FlicDemuxContext

Defines

#define FLIC_CHUNK_MAGIC_1   0xF1FA
#define FLIC_CHUNK_MAGIC_2   0xF5FA
#define FLIC_DEFAULT_PTS_INC   6000
#define FLIC_FILE_MAGIC_1   0xAF11
#define FLIC_FILE_MAGIC_2   0xAF12
#define FLIC_FILE_MAGIC_3   0xAF44
#define FLIC_HEADER_SIZE   128
#define FLIC_MC_PTS_INC   6000
#define FLIC_PREAMBLE_SIZE   6

Functions

int flic_init (void)
static int flic_probe (AVProbeData *p)
static int flic_read_close (AVFormatContext *s)
static int flic_read_header (AVFormatContext *s, AVFormatParameters *ap)
static int flic_read_packet (AVFormatContext *s, AVPacket *pkt)

Variables

static AVInputFormat flic_iformat


Generated by  Doxygen 1.6.0   Back to index