FFmpeg  4.0
Data Structures | Functions | Variables
wvenc.c File Reference
#include "libavutil/attributes.h"
#include "apetag.h"
#include "avformat.h"
#include "wv.h"

Go to the source code of this file.

Data Structures

struct  WvMuxContext
 

Functions

static av_cold int wv_write_header (AVFormatContext *ctx)
 
static int wv_write_packet (AVFormatContext *ctx, AVPacket *pkt)
 
static av_cold int wv_write_trailer (AVFormatContext *ctx)
 

Variables

AVOutputFormat ff_wv_muxer
 

Function Documentation

◆ wv_write_header()

static av_cold int wv_write_header ( AVFormatContext ctx)
static

Definition at line 33 of file wvenc.c.

◆ wv_write_packet()

static int wv_write_packet ( AVFormatContext ctx,
AVPacket pkt 
)
static

Definition at line 44 of file wvenc.c.

◆ wv_write_trailer()

static av_cold int wv_write_trailer ( AVFormatContext ctx)
static

Definition at line 62 of file wvenc.c.

Variable Documentation

◆ ff_wv_muxer

AVOutputFormat ff_wv_muxer
Initial value:
= {
.name = "wv",
.long_name = NULL_IF_CONFIG_SMALL("raw WavPack"),
.mime_type = "audio/x-wavpack",
.extensions = "wv",
.priv_data_size = sizeof(WvMuxContext),
.audio_codec = AV_CODEC_ID_WAVPACK,
.video_codec = AV_CODEC_ID_NONE,
}
static void write_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost, int unqueue)
Definition: ffmpeg.c:679
static int flags
Definition: log.c:55
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static av_cold int wv_write_header(AVFormatContext *ctx)
Definition: wvenc.c:33
static int write_trailer(AVFormatContext *s1)
Definition: v4l2enc.c:94
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition: avformat.h:469
static av_cold int wv_write_trailer(AVFormatContext *ctx)
Definition: wvenc.c:62
static int wv_write_packet(AVFormatContext *ctx, AVPacket *pkt)
Definition: wvenc.c:44
static void write_header(FFV1Context *f)
Definition: ffv1enc.c:337

Definition at line 79 of file wvenc.c.