smjpegdec.c File Reference

This is a demuxer for Loki SDL Motion JPEG files. More...

#include "avformat.h"
#include "internal.h"
#include "riff.h"
#include "smjpeg.h"
Include dependency graph for smjpegdec.c:

Go to the source code of this file.

Data Structures

struct  SMJPEGContext
 

Typedefs

typedef struct SMJPEGContext SMJPEGContext
 

Functions

static int smjpeg_probe (AVProbeData *p)
 
static int smjpeg_read_header (AVFormatContext *s)
 
static int smjpeg_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

AVInputFormat ff_smjpeg_demuxer
 

Detailed Description

This is a demuxer for Loki SDL Motion JPEG files.

Definition in file smjpegdec.c.

Typedef Documentation

typedef struct SMJPEGContext SMJPEGContext

Function Documentation

static int smjpeg_probe ( AVProbeData p)
static

Definition at line 37 of file smjpegdec.c.

static int smjpeg_read_header ( AVFormatContext s)
static

Definition at line 44 of file smjpegdec.c.

static int smjpeg_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 135 of file smjpegdec.c.

Variable Documentation

AVInputFormat ff_smjpeg_demuxer
Initial value:
= {
.name = "smjpeg",
.long_name = NULL_IF_CONFIG_SMALL("Loki SDL MJPEG"),
.priv_data_size = sizeof(SMJPEGContext),
.extensions = "mjpg",
}
static int smjpeg_probe(AVProbeData *p)
Definition: smjpegdec.c:37
static int smjpeg_read_header(AVFormatContext *s)
Definition: smjpegdec.c:44
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int read_probe(AVProbeData *pd)
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:517
struct SMJPEGContext SMJPEGContext
static int read_packet(AVFormatContext *ctx, AVPacket *pkt)
Definition: libcdio.c:114
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:353
static int flags
Definition: cpu.c:23
static int smjpeg_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: smjpegdec.c:135

Definition at line 174 of file smjpegdec.c.