Defines | Functions | Variables

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 83 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:
 {
    "framemd5",
    NULL_IF_CONFIG_SMALL("Per-frame MD5 testing format"),
    NULL,
    "",
    PRIVSIZE,
    CODEC_ID_PCM_S16LE,
    CODEC_ID_RAWVIDEO,
    NULL,
    framemd5_write_packet,
    NULL,
}

Definition at line 98 of file md5enc.c.

Initial value:
 {
    "md5",
    NULL_IF_CONFIG_SMALL("MD5 testing format"),
    NULL,
    "",
    PRIVSIZE,
    CODEC_ID_PCM_S16LE,
    CODEC_ID_RAWVIDEO,
    write_header,
    write_packet,
    write_trailer,
}

Definition at line 68 of file md5enc.c.