Data Structures | Functions | Variables
smjpegdec.c File Reference

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

#include <inttypes.h>
#include "avformat.h"
#include "internal.h"
#include "riff.h"
#include "smjpeg.h"

Go to the source code of this file.

Data Structures

struct  SMJPEGContext


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


AVInputFormat ff_smjpeg_demuxer

Detailed Description

This is a demuxer for Loki SDL Motion JPEG files.

Definition in file smjpegdec.c.

Function Documentation

static int smjpeg_probe ( const AVProbeData p)

Definition at line 39 of file smjpegdec.c.

static int smjpeg_read_header ( AVFormatContext s)

Definition at line 46 of file smjpegdec.c.

static int smjpeg_read_packet ( AVFormatContext s,
AVPacket pkt 

Definition at line 140 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_read_header(AVFormatContext *s)
Definition: smjpegdec.c:46
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:115
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:527
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42
Use generic index building code.
Definition: avformat.h:463
static int smjpeg_probe(const AVProbeData *p)
Definition: smjpegdec.c:39
#define flags(name, subs,...)
Definition: cbs_av1.c:561
static int read_probe(const AVProbeData *pd)
Definition: jvdec.c:55
static int smjpeg_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: smjpegdec.c:140

Definition at line 183 of file smjpegdec.c.