libavformat/mpjpeg.c File Reference

#include "avformat.h"

Go to the source code of this file.

Defines

#define BOUNDARY_TAG   "ffserver"

Functions

static int mpjpeg_write_header (AVFormatContext *s)
static int mpjpeg_write_packet (AVFormatContext *s, AVPacket *pkt)
static int mpjpeg_write_trailer (AVFormatContext *s)

Variables

AVOutputFormat ff_mpjpeg_muxer


Define Documentation

#define BOUNDARY_TAG   "ffserver"

Definition at line 25 of file mpjpeg.c.

Referenced by mpjpeg_write_header(), and mpjpeg_write_packet().


Function Documentation

static int mpjpeg_write_header ( AVFormatContext s  )  [static]

Definition at line 27 of file mpjpeg.c.

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

Definition at line 37 of file mpjpeg.c.

static int mpjpeg_write_trailer ( AVFormatContext s  )  [static]

Definition at line 51 of file mpjpeg.c.


Variable Documentation

Initial value:

 {
    .name              = "mpjpeg",
    .long_name         = NULL_IF_CONFIG_SMALL("MIME multipart JPEG format"),
    .mime_type         = "multipart/x-mixed-replace;boundary=" BOUNDARY_TAG,
    .extensions        = "mjpg",
    .audio_codec       = CODEC_ID_NONE,
    .video_codec       = CODEC_ID_MJPEG,
    .write_header      = mpjpeg_write_header,
    .write_packet      = mpjpeg_write_packet,
    .write_trailer     = mpjpeg_write_trailer,
}

Definition at line 56 of file mpjpeg.c.


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