libavformat/smjpeg.c File Reference

This is a demuxer for Loki SDL MJPEG files. More...

#include "avformat.h"
#include "internal.h"
#include "riff.h"

Go to the source code of this file.

Data Structures

struct  SMJPEGContext


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


static const AVCodecTag codec_smjpeg_tags []
AVInputFormat ff_smjpeg_demuxer

Detailed Description

This is a demuxer for Loki SDL MJPEG files.

Definition in file smjpeg.c.

Function Documentation

static int smjpeg_probe ( AVProbeData p  )  [static]

Definition at line 43 of file smjpeg.c.

static int smjpeg_read_header ( AVFormatContext s,
AVFormatParameters ap 
) [static]

Definition at line 50 of file smjpeg.c.

static int smjpeg_read_packet ( AVFormatContext s,
AVPacket pkt 
) [static]

Definition at line 141 of file smjpeg.c.

Variable Documentation

const AVCodecTag codec_smjpeg_tags[] [static]

Initial value:

    { CODEC_ID_ADPCM_IMA_SMJPEG,  MKTAG('A', 'P', 'C', 'M') },
    { CODEC_ID_PCM_S16LE,         MKTAG('N', 'O', 'N', 'E') },
    { CODEC_ID_MJPEG,             MKTAG('J', 'F', 'I', 'F') },
    { CODEC_ID_NONE, 0 },

Definition at line 31 of file smjpeg.c.

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",

Definition at line 175 of file smjpeg.c.

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