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

Go to the source code of this file.

Data Structures

struct  SMUSHContext
 

Functions

static int smush_read_probe (const AVProbeData *p)
 
static int smush_read_header (AVFormatContext *ctx)
 
static int smush_read_packet (AVFormatContext *ctx, AVPacket *pkt)
 

Variables

const FFInputFormat ff_smush_demuxer
 

Function Documentation

◆ smush_read_probe()

static int smush_read_probe ( const AVProbeData p)
static

Definition at line 35 of file smush.c.

◆ smush_read_header()

static int smush_read_header ( AVFormatContext ctx)
static

Definition at line 47 of file smush.c.

◆ smush_read_packet()

static int smush_read_packet ( AVFormatContext ctx,
AVPacket pkt 
)
static

Definition at line 189 of file smush.c.

Variable Documentation

◆ ff_smush_demuxer

const FFInputFormat ff_smush_demuxer
Initial value:
= {
.p.name = "smush",
.p.long_name = NULL_IF_CONFIG_SMALL("LucasArts Smush"),
.priv_data_size = sizeof(SMUSHContext),
}

Definition at line 245 of file smush.c.

smush_read_probe
static int smush_read_probe(const AVProbeData *p)
Definition: smush.c:35
smush_read_packet
static int smush_read_packet(AVFormatContext *ctx, AVPacket *pkt)
Definition: smush.c:189
SMUSHContext
Definition: smush.c:29
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_read_callback.c:41
read_header
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:550
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
smush_read_header
static int smush_read_header(AVFormatContext *ctx)
Definition: smush.c:47
read_probe
static int read_probe(const AVProbeData *p)
Definition: cdg.c:30