FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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

static av_cold int wv_write_header ( AVFormatContext ctx)
static

Definition at line 33 of file wvenc.c.

static int wv_write_packet ( AVFormatContext ctx,
AVPacket pkt 
)
static

Definition at line 44 of file wvenc.c.

static av_cold int wv_write_trailer ( AVFormatContext ctx)
static

Definition at line 62 of file wvenc.c.

Variable Documentation

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,
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:176
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:486
static av_cold int wv_write_trailer(AVFormatContext *ctx)
Definition: wvenc.c:62
static void write_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost)
Definition: ffmpeg.c:645
static int flags
Definition: cpu.c:47
static int wv_write_packet(AVFormatContext *ctx, AVPacket *pkt)
Definition: wvenc.c:44
static void write_header(FFV1Context *f)
Definition: ffv1enc.c:344

Definition at line 79 of file wvenc.c.