#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 PRIVSIZE 512 |
Definition at line 25 of file md5enc.c.
Referenced by framemd5_write_packet(), and write_header().
| static int framemd5_write_packet | ( | struct AVFormatContext * | s, | |
| AVPacket * | pkt | |||
| ) | [static] |
| 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] |
| static int write_packet | ( | struct AVFormatContext * | s, | |
| AVPacket * | pkt | |||
| ) | [static] |
| static int write_trailer | ( | struct AVFormatContext * | s | ) | [static] |
{
.name = "framemd5",
.long_name = NULL_IF_CONFIG_SMALL("Per-frame MD5 testing format"),
.extensions = "",
.priv_data_size = PRIVSIZE,
.audio_codec = CODEC_ID_PCM_S16LE,
.video_codec = CODEC_ID_RAWVIDEO,
.write_packet = framemd5_write_packet,
.flags = AVFMT_VARIABLE_FPS,
}
{
.name = "md5",
.long_name = NULL_IF_CONFIG_SMALL("MD5 testing format"),
.extensions = "",
.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,
}