libavformat/segafilm.c File Reference

Sega FILM (.cpk) file demuxer by Mike Melanson (melanson@pcisys.net) For more information regarding the Sega FILM file format, visit: http://www.pcisys.net/~melanson/codecs/. More...

#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "internal.h"
#include "avio_internal.h"

Go to the source code of this file.

Data Structures

struct  film_sample
struct  FilmDemuxContext

Defines

#define FILM_TAG   MKBETAG('F', 'I', 'L', 'M')
#define FDSC_TAG   MKBETAG('F', 'D', 'S', 'C')
#define STAB_TAG   MKBETAG('S', 'T', 'A', 'B')
#define CVID_TAG   MKBETAG('c', 'v', 'i', 'd')
#define RAW_TAG   MKBETAG('r', 'a', 'w', ' ')

Functions

static int film_probe (AVProbeData *p)
static int film_read_header (AVFormatContext *s)
static int film_read_packet (AVFormatContext *s, AVPacket *pkt)
static int film_read_close (AVFormatContext *s)

Variables

AVInputFormat ff_segafilm_demuxer


Detailed Description

Sega FILM (.cpk) file demuxer by Mike Melanson (melanson@pcisys.net) For more information regarding the Sega FILM file format, visit: http://www.pcisys.net/~melanson/codecs/.

Definition in file segafilm.c.


Define Documentation

#define CVID_TAG   MKBETAG('c', 'v', 'i', 'd')

Definition at line 38 of file segafilm.c.

Referenced by film_read_header().

#define FDSC_TAG   MKBETAG('F', 'D', 'S', 'C')

Definition at line 36 of file segafilm.c.

Referenced by film_read_header().

#define FILM_TAG   MKBETAG('F', 'I', 'L', 'M')

Definition at line 35 of file segafilm.c.

Referenced by film_probe().

#define RAW_TAG   MKBETAG('r', 'a', 'w', ' ')

Definition at line 39 of file segafilm.c.

Referenced by film_read_header().

#define STAB_TAG   MKBETAG('S', 'T', 'A', 'B')

Definition at line 37 of file segafilm.c.

Referenced by film_read_header().


Function Documentation

static int film_probe ( AVProbeData p  )  [static]

Definition at line 71 of file segafilm.c.

static int film_read_close ( AVFormatContext s  )  [static]

Definition at line 318 of file segafilm.c.

static int film_read_header ( AVFormatContext s  )  [static]

Definition at line 79 of file segafilm.c.

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

Definition at line 240 of file segafilm.c.


Variable Documentation

Initial value:

 {
    .name           = "film_cpk",
    .long_name      = NULL_IF_CONFIG_SMALL("Sega FILM / CPK"),
    .priv_data_size = sizeof(FilmDemuxContext),
    .read_probe     = film_probe,
    .read_header    = film_read_header,
    .read_packet    = film_read_packet,
    .read_close     = film_read_close,
}

Definition at line 328 of file segafilm.c.


Generated on Fri Oct 26 02:50:11 2012 for FFmpeg by  doxygen 1.5.8