All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
smjpegenc.c File Reference

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

#include "avformat.h"
#include "internal.h"
#include "smjpeg.h"

Go to the source code of this file.

Data Structures

struct  SMJPEGMuxContext


static int smjpeg_write_header (AVFormatContext *s)
static int smjpeg_write_packet (AVFormatContext *s, AVPacket *pkt)
static int smjpeg_write_trailer (AVFormatContext *s)


AVOutputFormat ff_smjpeg_muxer

Detailed Description

This is a muxer for Loki SDL Motion JPEG files.

Definition in file smjpegenc.c.

Function Documentation

static int smjpeg_write_header ( AVFormatContext s)

Definition at line 35 of file smjpegenc.c.

static int smjpeg_write_packet ( AVFormatContext s,
AVPacket pkt 

Definition at line 96 of file smjpegenc.c.

static int smjpeg_write_trailer ( AVFormatContext s)

Definition at line 118 of file smjpegenc.c.

Variable Documentation

AVOutputFormat ff_smjpeg_muxer
Initial value:
= {
.name = "smjpeg",
.long_name = NULL_IF_CONFIG_SMALL("Loki SDL MJPEG"),
.priv_data_size = sizeof(SMJPEGMuxContext),
.audio_codec = AV_CODEC_ID_PCM_S16LE,
.video_codec = AV_CODEC_ID_MJPEG,
.codec_tag = (const AVCodecTag *const []){ ff_codec_smjpeg_video_tags, ff_codec_smjpeg_audio_tags, 0 },
static void write_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost, int unqueue)
Definition: ffmpeg.c:672
static int smjpeg_write_trailer(AVFormatContext *s)
Definition: smjpegenc.c:118
static int smjpeg_write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: smjpegenc.c:96
const AVCodecTag ff_codec_smjpeg_video_tags[]
Definition: smjpeg.c:31
Format does not require strictly increasing timestamps, but they must still be monotonic.
Definition: avformat.h:496
static int flags
Definition: log.c:57
static int smjpeg_write_header(AVFormatContext *s)
Definition: smjpegenc.c:35
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:179
static int write_trailer(AVFormatContext *s1)
Definition: v4l2enc.c:94
Format wants global header.
Definition: avformat.h:485
const AVCodecTag ff_codec_smjpeg_audio_tags[]
Definition: smjpeg.c:36
static void write_header(FFV1Context *f)
Definition: ffv1enc.c:337

Definition at line 136 of file smjpegenc.c.