FFmpeg
Functions | Variables
framecrcenc.c File Reference
#include <inttypes.h>
#include "config.h"
#include "libavutil/adler32.h"
#include "libavutil/avstring.h"
#include "libavutil/intreadwrite.h"
#include "libavcodec/avcodec.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 av_unused void bswap (char *buf, int offset, int size)
 
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 32 of file framecrcenc.c.

static av_unused void bswap ( char *  buf,
int  offset,
int  size 
)
inlinestatic

Definition at line 48 of file framecrcenc.c.

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

Definition at line 59 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:32
#define AVFMT_TS_NONSTRICT
Format does not require strictly increasing timestamps, but they must still be monotonic.
Definition: avformat.h:472
static int framecrc_write_packet(struct AVFormatContext *s, AVPacket *pkt)
Definition: framecrcenc.c:59
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:115
#define AVFMT_VARIABLE_FPS
Format allows variable fps.
Definition: avformat.h:465
#define AVFMT_TS_NEGATIVE
Format allows muxing negative timestamps.
Definition: avformat.h:477

Definition at line 130 of file framecrcenc.c.