FFmpeg
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

◆ framecrc_write_header()

static int framecrc_write_header ( struct AVFormatContext s)
static

Definition at line 29 of file framecrcenc.c.

◆ framecrc_write_packet()

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

Definition at line 45 of file framecrcenc.c.

Variable Documentation

◆ ff_framecrc_muxer

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,
}

Definition at line 79 of file framecrcenc.c.

AV_CODEC_ID_PCM_S16LE
@ AV_CODEC_ID_PCM_S16LE
Definition: avcodec.h:463
AVFMT_VARIABLE_FPS
#define AVFMT_VARIABLE_FPS
Format allows variable fps.
Definition: avformat.h:470
AV_CODEC_ID_RAWVIDEO
@ AV_CODEC_ID_RAWVIDEO
Definition: avcodec.h:231
framecrc_write_packet
static int framecrc_write_packet(struct AVFormatContext *s, AVPacket *pkt)
Definition: framecrcenc.c:45
framecrc_write_header
static int framecrc_write_header(struct AVFormatContext *s)
Definition: framecrcenc.c:29
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:188
AVFMT_TS_NEGATIVE
#define AVFMT_TS_NEGATIVE
Format allows muxing negative timestamps.
Definition: avformat.h:480
AVFMT_TS_NONSTRICT
#define AVFMT_TS_NONSTRICT
Format does not require strictly increasing timestamps, but they must still be monotonic.
Definition: avformat.h:477