FFmpeg
Functions | Variables
framecrcenc.c File Reference
#include <inttypes.h>
#include "libavutil/adler32.h"
#include "libavutil/avstring.h"
#include "libavcodec/codec_id.h"
#include "libavcodec/codec_par.h"
#include "libavcodec/packet.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

const AVOutputFormat ff_framecrc_muxer
 

Function Documentation

◆ framecrc_write_header()

static int framecrc_write_header ( struct AVFormatContext s)
static

Definition at line 34 of file framecrcenc.c.

◆ framecrc_write_packet()

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

Definition at line 50 of file framecrcenc.c.

Variable Documentation

◆ ff_framecrc_muxer

const 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 72 of file framecrcenc.c.

AV_CODEC_ID_PCM_S16LE
@ AV_CODEC_ID_PCM_S16LE
Definition: codec_id.h:314
AVFMT_VARIABLE_FPS
#define AVFMT_VARIABLE_FPS
Format allows variable fps.
Definition: avformat.h:478
AV_CODEC_ID_RAWVIDEO
@ AV_CODEC_ID_RAWVIDEO
Definition: codec_id.h:63
framecrc_write_packet
static int framecrc_write_packet(struct AVFormatContext *s, AVPacket *pkt)
Definition: framecrcenc.c:50
framecrc_write_header
static int framecrc_write_header(struct AVFormatContext *s)
Definition: framecrcenc.c:34
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:117
AVFMT_TS_NEGATIVE
#define AVFMT_TS_NEGATIVE
Format allows muxing negative timestamps.
Definition: avformat.h:488
AVFMT_TS_NONSTRICT
#define AVFMT_TS_NONSTRICT
Format does not require strictly increasing timestamps, but they must still be monotonic.
Definition: avformat.h:485