wvenc.c File Reference
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "internal.h"
#include "avio_internal.h"
#include "apetag.h"
Include dependency graph for wvenc.c:

Go to the source code of this file.

Data Structures

struct  WVMuxContext
 

Macros

#define WV_EXTRA_SIZE   12
 
#define WV_END_BLOCK   0x1000
 

Functions

static int write_header (AVFormatContext *s)
 
static int write_packet (AVFormatContext *s, AVPacket *pkt)
 
static int write_trailer (AVFormatContext *s)
 

Variables

AVOutputFormat ff_wv_muxer
 

Macro Definition Documentation

#define WV_END_BLOCK   0x1000

Definition at line 29 of file wvenc.c.

Referenced by write_packet().

#define WV_EXTRA_SIZE   12

Definition at line 28 of file wvenc.c.

Referenced by write_packet().

Function Documentation

static int write_header ( AVFormatContext s)
static

Definition at line 35 of file wvenc.c.

static int write_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 56 of file wvenc.c.

static int write_trailer ( AVFormatContext s)
static

Definition at line 117 of file wvenc.c.

Variable Documentation

AVOutputFormat ff_wv_muxer
Initial value:
= {
.name = "wv",
.long_name = NULL_IF_CONFIG_SMALL("WavPack"),
.priv_data_size = sizeof(WVMuxContext),
.extensions = "wv",
.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. ...
static int write_trailer(AVFormatContext *s)
Definition: wvenc.c:117
static int write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: wvenc.c:56
static int write_header(AVFormatContext *s)
Definition: wvenc.c:35

Definition at line 133 of file wvenc.c.