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. More...
#include "libavutil/intreadwrite.h"#include "avformat.h"Go to the source code of this file.
Data Structures | |
| struct | FlicDemuxContext |
Defines | |
| #define | FLIC_FILE_MAGIC_1 0xAF11 |
| #define | FLIC_FILE_MAGIC_2 0xAF12 |
| #define | FLIC_FILE_MAGIC_3 0xAF44 |
| #define | FLIC_CHUNK_MAGIC_1 0xF1FA |
| #define | FLIC_CHUNK_MAGIC_2 0xF5FA |
| #define | FLIC_MC_SPEED 5 |
| #define | FLIC_DEFAULT_SPEED 5 |
| #define | FLIC_HEADER_SIZE 128 |
| #define | FLIC_PREAMBLE_SIZE 6 |
Typedefs | |
| typedef struct FlicDemuxContext | 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) |
Variables | |
| AVInputFormat | flic_demuxer |
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.
| #define FLIC_CHUNK_MAGIC_1 0xF1FA |
Definition at line 41 of file flic.c.
Referenced by flic_probe(), flic_read_header(), and flic_read_packet().
| #define FLIC_CHUNK_MAGIC_2 0xF5FA |
Definition at line 42 of file flic.c.
Referenced by flic_read_packet().
| #define FLIC_FILE_MAGIC_1 0xAF11 |
Definition at line 37 of file flic.c.
Referenced by flic_probe(), and flic_read_header().
| #define FLIC_FILE_MAGIC_2 0xAF12 |
Definition at line 38 of file flic.c.
Referenced by flic_probe(), and flic_read_header().
| #define FLIC_FILE_MAGIC_3 0xAF44 |
Definition at line 39 of file flic.c.
Referenced by flic_probe(), and flic_read_header().
| #define FLIC_HEADER_SIZE 128 |
Definition at line 46 of file flic.c.
Referenced by flic_probe(), and flic_read_header().
| #define FLIC_MC_SPEED 5 |
Definition at line 43 of file flic.c.
Referenced by flic_read_header().
| #define FLIC_PREAMBLE_SIZE 6 |
Definition at line 47 of file flic.c.
Referenced by flic_read_packet().
| typedef struct FlicDemuxContext FlicDemuxContext |
| 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] |
{
"flic",
NULL_IF_CONFIG_SMALL("FLI/FLC/FLX animation format"),
sizeof(FlicDemuxContext),
flic_probe,
flic_read_header,
flic_read_packet,
}
1.7.1