Data Structures | Functions | Variables
segafilmenc.c File Reference

Sega FILM (.cpk) file muxer. More...

#include "libavutil/avassert.h"
#include "libavutil/intreadwrite.h"
#include "libavcodec/bytestream.h"
#include "avformat.h"
#include "internal.h"
#include "avio_internal.h"

Go to the source code of this file.

Data Structures

struct  FILMOutputContext


static int film_write_packet (AVFormatContext *format_context, AVPacket *pkt)
static int get_audio_codec_id (enum AVCodecID codec_id)
static int film_init (AVFormatContext *format_context)
static int write_header (AVFormatContext *format_context, uint8_t *header, unsigned header_size)
static int film_write_header (AVFormatContext *format_context)
static void film_deinit (AVFormatContext *format_context)


AVOutputFormat ff_segafilm_muxer

Detailed Description

Sega FILM (.cpk) file muxer.

Misty De Meo misty.nosp@m.@bre.nosp@m.w.sh
See also
For more information regarding the Sega FILM file format, visit: http://wiki.multimedia.cx/index.php?title=Sega_FILM

Definition in file segafilmenc.c.

Function Documentation

static int film_write_packet ( AVFormatContext format_context,
AVPacket pkt 

Definition at line 46 of file segafilmenc.c.

static int get_audio_codec_id ( enum AVCodecID  codec_id)

Definition at line 102 of file segafilmenc.c.

Referenced by film_init(), and film_write_header().

static int film_init ( AVFormatContext format_context)

Definition at line 116 of file segafilmenc.c.

static int write_header ( AVFormatContext format_context,
uint8_t header,
unsigned  header_size 

Definition at line 170 of file segafilmenc.c.

Referenced by film_write_header().

static int film_write_header ( AVFormatContext format_context)

Definition at line 224 of file segafilmenc.c.

static void film_deinit ( AVFormatContext format_context)

Definition at line 317 of file segafilmenc.c.

Variable Documentation

AVOutputFormat ff_segafilm_muxer
Initial value:
= {
.name = "film_cpk",
.long_name = NULL_IF_CONFIG_SMALL("Sega FILM / CPK"),
.extensions = "cpk",
.priv_data_size = sizeof(FILMOutputContext),
.video_codec = AV_CODEC_ID_CINEPAK,
.deinit = film_deinit,
static void write_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost, int unqueue)
Definition: ffmpeg.c:726
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:115
static int film_init(AVFormatContext *format_context)
Definition: segafilmenc.c:116
static int film_write_packet(AVFormatContext *format_context, AVPacket *pkt)
Definition: segafilmenc.c:46
static int write_trailer(AVFormatContext *s1)
Definition: v4l2enc.c:98
static int film_write_header(AVFormatContext *format_context)
Definition: segafilmenc.c:224
static void film_deinit(AVFormatContext *format_context)
Definition: segafilmenc.c:317

Definition at line 324 of file segafilmenc.c.