libavformat/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"

Go to the source code of this file.

Data Structures

struct  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.


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

Initial value:

 {
    .name           = "smjpeg",
    .long_name      = NULL_IF_CONFIG_SMALL("Loki SDL MJPEG"),
    .priv_data_size = sizeof(SMJPEGContext),
    .read_probe     = smjpeg_probe,
    .read_header    = smjpeg_read_header,
    .read_packet    = smjpeg_read_packet,
    .extensions     = "mjpg",
    .flags          = AVFMT_GENERIC_INDEX,
}

Definition at line 173 of file smjpegdec.c.


Generated on Fri Oct 26 02:48:02 2012 for FFmpeg by  doxygen 1.5.8