FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
framecrcenc.c File Reference
#include <inttypes.h>
#include "libavutil/adler32.h"
#include "libavutil/avstring.h"
#include "avformat.h"
#include "internal.h"

Go to the source code of this file.

Functions

static int framecrc_write_header (struct AVFormatContext *s)
 
static int framecrc_write_packet (struct AVFormatContext *s, AVPacket *pkt)
 

Variables

AVOutputFormat ff_framecrc_muxer
 

Function Documentation

static int framecrc_write_header ( struct AVFormatContext s)
static

Definition at line 29 of file framecrcenc.c.

static int framecrc_write_packet ( struct AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 45 of file framecrcenc.c.

Variable Documentation

AVOutputFormat ff_framecrc_muxer
Initial value:
= {
.name = "framecrc",
.long_name = NULL_IF_CONFIG_SMALL("framecrc testing"),
.audio_codec = AV_CODEC_ID_PCM_S16LE,
.video_codec = AV_CODEC_ID_RAWVIDEO,
.write_header = framecrc_write_header,
.write_packet = framecrc_write_packet,
}
static int framecrc_write_header(struct AVFormatContext *s)
Definition: framecrcenc.c:29
#define AVFMT_TS_NONSTRICT
Format does not require strictly increasing timestamps, but they must still be monotonic.
Definition: avformat.h:479
static int framecrc_write_packet(struct AVFormatContext *s, AVPacket *pkt)
Definition: framecrcenc.c:45
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
#define AVFMT_VARIABLE_FPS
Format allows variable fps.
Definition: avformat.h:472
#define AVFMT_TS_NEGATIVE
Format allows muxing negative timestamps.
Definition: avformat.h:484

Definition at line 79 of file framecrcenc.c.