FFmpeg
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,
}

Definition at line 79 of file wvenc.c.

AVFMT_NOTIMESTAMPS
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition: avformat.h:467
wv_write_trailer
static av_cold int wv_write_trailer(AVFormatContext *ctx)
Definition: wvenc.c:62
write_trailer
static int write_trailer(AVFormatContext *s1)
Definition: v4l2enc.c:94
WvMuxContext
Definition: wvenc.c:29
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:188
write_packet
static void write_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost, int unqueue)
Definition: ffmpeg.c:690
AV_CODEC_ID_NONE
@ AV_CODEC_ID_NONE
Definition: avcodec.h:216
wv_write_header
static av_cold int wv_write_header(AVFormatContext *ctx)
Definition: wvenc.c:33
wv_write_packet
static int wv_write_packet(AVFormatContext *ctx, AVPacket *pkt)
Definition: wvenc.c:44
flags
#define flags(name, subs,...)
Definition: cbs_av1.c:565
AV_CODEC_ID_WAVPACK
@ AV_CODEC_ID_WAVPACK
Definition: avcodec.h:589
write_header
static void write_header(FFV1Context *f)
Definition: ffv1enc.c:337