FFmpeg
Classes | Macros | Typedefs | Variables
segafilmenc.c File Reference

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

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

Classes

struct  FILMPacket
 
struct  FILMOutputContext
 

Macros

#define READ_BLOCK
 

Typedefs

typedef struct FILMPacket FILMPacket
 
typedef struct FILMOutputContext FILMOutputContext
 

Variables

AVOutputFormat ff_segafilm_muxer
 

Detailed Description

Sega FILM (.cpk) file muxer.

Author
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

Macro Definition Documentation

§ READ_BLOCK

#define READ_BLOCK
Value:
do { \
read_size[read_buf_id] = avio_read(read_pb, read_buf[read_buf_id], shift_size); \
read_buf_id ^= 1; \
} while (0)
int avio_read(AVIOContext *s, unsigned char *buf, int size)
Read size bytes from AVIOContext into buf.
Definition: aviobuf.c:648

Variable Documentation

§ ff_segafilm_muxer

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),
.audio_codec = AV_CODEC_ID_PCM_S16BE_PLANAR,
.video_codec = AV_CODEC_ID_CINEPAK,
.init = film_init,
.write_trailer = film_write_header,
.write_packet = film_write_packet,
.priv_class = &film_muxer_class,
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
Definition: segafilmenc.c:47