FFmpeg
Data Structures | Functions | Variables
mspdec.c File Reference
#include "libavutil/intreadwrite.h"
#include "libavutil/imgutils.h"
#include "avformat.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  MSPContext
 

Functions

static int msp_probe (const AVProbeData *p)
 
static int msp_read_header (AVFormatContext *s)
 
static int msp_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

const AVInputFormat ff_msp_demuxer
 

Detailed Description

Microsoft Paint (MSP) demuxer

Definition in file mspdec.c.

Function Documentation

◆ msp_probe()

static int msp_probe ( const AVProbeData p)
static

Definition at line 36 of file mspdec.c.

◆ msp_read_header()

static int msp_read_header ( AVFormatContext s)
static

Definition at line 50 of file mspdec.c.

◆ msp_read_packet()

static int msp_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 82 of file mspdec.c.

Variable Documentation

◆ ff_msp_demuxer

const AVInputFormat ff_msp_demuxer
Initial value:
= {
.name = "msp",
.long_name = NULL_IF_CONFIG_SMALL("Microsoft Paint (MSP))"),
.read_probe = msp_probe,
.read_header = msp_read_header,
.read_packet = msp_read_packet,
.priv_data_size = sizeof(MSPContext),
}

Definition at line 109 of file mspdec.c.

AVFMT_NOTIMESTAMPS
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition: avformat.h:475
msp_probe
static int msp_probe(const AVProbeData *p)
Definition: mspdec.c:36
msp_read_header
static int msp_read_header(AVFormatContext *s)
Definition: mspdec.c:50
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:117
MSPContext
Definition: mspdec.c:32
msp_read_packet
static int msp_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: mspdec.c:82