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

Go to the source code of this file.

Data Structures

struct  CRCState
 

Functions

static int crc_write_header (struct AVFormatContext *s)
 
static int crc_write_packet (struct AVFormatContext *s, AVPacket *pkt)
 
static int crc_write_trailer (struct AVFormatContext *s)
 

Variables

AVOutputFormat ff_crc_muxer
 

Function Documentation

static int crc_write_header ( struct AVFormatContext s)
static

Definition at line 31 of file crcenc.c.

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

Definition at line 41 of file crcenc.c.

static int crc_write_trailer ( struct AVFormatContext s)
static

Definition at line 48 of file crcenc.c.

Variable Documentation

AVOutputFormat ff_crc_muxer
Initial value:
= {
.name = "crc",
.long_name = NULL_IF_CONFIG_SMALL("CRC testing"),
.priv_data_size = sizeof(CRCState),
.audio_codec = AV_CODEC_ID_PCM_S16LE,
.video_codec = AV_CODEC_ID_RAWVIDEO,
}
static int crc_write_header(struct AVFormatContext *s)
Definition: crcenc.c:31
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:175
static int write_trailer(AVFormatContext *s1)
Definition: v4l2enc.c:94
static int crc_write_packet(struct AVFormatContext *s, AVPacket *pkt)
Definition: crcenc.c:41
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition: avformat.h:472
static int flags
Definition: cpu.c:47
static int crc_write_trailer(struct AVFormatContext *s)
Definition: crcenc.c:48
static void write_header(FFV1Context *f)
Definition: ffv1enc.c:493
static int write_packet(AVFormatContext *s1, AVPacket *pkt)
Definition: v4l2enc.c:86

Definition at line 59 of file crcenc.c.