crcenc.c File Reference
#include "libavutil/adler32.h"
#include "avformat.h"
Include dependency graph for crcenc.c:

Go to the source code of this file.

Data Structures

struct  CRCState
 

Typedefs

typedef struct CRCState 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
 

Typedef Documentation

typedef struct CRCState CRCState

Function Documentation

static int crc_write_header ( struct AVFormatContext s)
static

Definition at line 29 of file crcenc.c.

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

Definition at line 39 of file crcenc.c.

static int crc_write_trailer ( struct AVFormatContext s)
static

Definition at line 46 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,
}
struct CRCState CRCState
static int write_packet(AVFormatContext *s, AVPacket *pkt)
static int crc_write_header(struct AVFormatContext *s)
Definition: crcenc.c:29
static int write_trailer(AVFormatContext *s)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int crc_write_packet(struct AVFormatContext *s, AVPacket *pkt)
Definition: crcenc.c:39
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition: avformat.h:352
static int flags
Definition: cpu.c:23
static int crc_write_trailer(struct AVFormatContext *s)
Definition: crcenc.c:46
static void write_header(FFV1Context *f)
Definition: ffv1enc.c:470

Definition at line 57 of file crcenc.c.