libavformat/md5enc.c File Reference

#include "libavutil/md5.h"
#include "avformat.h"

Go to the source code of this file.

Defines

#define PRIVSIZE   512

Functions

static void md5_finish (struct AVFormatContext *s, char *buf)
static int write_header (struct AVFormatContext *s)
static int write_packet (struct AVFormatContext *s, AVPacket *pkt)
static int write_trailer (struct AVFormatContext *s)
static int framemd5_write_packet (struct AVFormatContext *s, AVPacket *pkt)

Variables

AVOutputFormat ff_md5_muxer
AVOutputFormat ff_framemd5_muxer

Define Documentation

#define PRIVSIZE   512

Definition at line 25 of file md5enc.c.

Referenced by framemd5_write_packet(), and write_header().


Function Documentation

static int framemd5_write_packet ( struct AVFormatContext s,
AVPacket pkt 
) [static]

Definition at line 82 of file md5enc.c.

static void md5_finish ( struct AVFormatContext s,
char *  buf 
) [static]

Definition at line 27 of file md5enc.c.

Referenced by framemd5_write_packet(), and write_trailer().

static int write_header ( struct AVFormatContext s  )  [static]

Definition at line 44 of file md5enc.c.

static int write_packet ( struct AVFormatContext s,
AVPacket pkt 
) [static]

Definition at line 54 of file md5enc.c.

static int write_trailer ( struct AVFormatContext s  )  [static]

Definition at line 60 of file md5enc.c.


Variable Documentation

Initial value:
 {
    .name              = "framemd5",
    .long_name         = NULL_IF_CONFIG_SMALL("Per-frame MD5 testing format"),
    .priv_data_size    = PRIVSIZE,
    .audio_codec       = CODEC_ID_PCM_S16LE,
    .video_codec       = CODEC_ID_RAWVIDEO,
    .write_packet      = framemd5_write_packet,
    .flags             = AVFMT_VARIABLE_FPS,
}

Definition at line 97 of file md5enc.c.

Initial value:
 {
    .name              = "md5",
    .long_name         = NULL_IF_CONFIG_SMALL("MD5 testing format"),
    .priv_data_size    = PRIVSIZE,
    .audio_codec       = CODEC_ID_PCM_S16LE,
    .video_codec       = CODEC_ID_RAWVIDEO,
    .write_header      = write_header,
    .write_packet      = write_packet,
    .write_trailer     = write_trailer,
    .flags             = AVFMT_NOTIMESTAMPS,
}

Definition at line 68 of file md5enc.c.