FFmpeg
Data Structures | Macros | Functions | Variables
c93.c File Reference
#include "avformat.h"
#include "demux.h"
#include "internal.h"
#include "voc.h"
#include "libavutil/intreadwrite.h"

Go to the source code of this file.

Data Structures

struct  C93BlockRecord
 
struct  C93DemuxContext
 

Macros

#define C93_HAS_PALETTE   0x01
 
#define C93_FIRST_FRAME   0x02
 

Functions

static int probe (const AVProbeData *p)
 
static int read_header (AVFormatContext *s)
 
static int read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

const FFInputFormat ff_c93_demuxer
 

Macro Definition Documentation

◆ C93_HAS_PALETTE

#define C93_HAS_PALETTE   0x01

Definition at line 104 of file c93.c.

◆ C93_FIRST_FRAME

#define C93_FIRST_FRAME   0x02

Definition at line 105 of file c93.c.

Function Documentation

◆ probe()

static int probe ( const AVProbeData p)
static

Definition at line 47 of file c93.c.

◆ read_header()

static int read_header ( AVFormatContext s)
static

Definition at line 61 of file c93.c.

◆ read_packet()

static int read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 107 of file c93.c.

Variable Documentation

◆ ff_c93_demuxer

const FFInputFormat ff_c93_demuxer
Initial value:
= {
.p.name = "c93",
.p.long_name = NULL_IF_CONFIG_SMALL("Interplay C93"),
.priv_data_size = sizeof(C93DemuxContext),
}

Definition at line 189 of file c93.c.

read_packet
static int read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: c93.c:107
read_header
static int read_header(AVFormatContext *s)
Definition: c93.c:61
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:106
C93DemuxContext
Definition: c93.c:34
probe
static int probe(const AVProbeData *p)
Definition: c93.c:47
read_probe
static int read_probe(const AVProbeData *p)
Definition: cdg.c:30