FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
libwavpackenc.c File Reference
#include <wavpack/wavpack.h>
#include <string.h>
#include "libavutil/attributes.h"
#include "libavutil/opt.h"
#include "libavutil/samplefmt.h"
#include "audio_frame_queue.h"
#include "avcodec.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  LibWavpackContext
 

Macros

#define WV_DEFAULT_BLOCK_SIZE   32768
 

Functions

static int wavpack_encode_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_output)
 
static int encode_callback (void *id, void *data, int32_t count)
 
static av_cold int wavpack_encode_init (AVCodecContext *avctx)
 
static av_cold int wavpack_encode_close (AVCodecContext *avctx)
 

Variables

AVCodec ff_libwavpack_encoder
 

Macro Definition Documentation

#define WV_DEFAULT_BLOCK_SIZE   32768

Definition at line 30 of file libwavpackenc.c.

Referenced by wavpack_encode_init().

Function Documentation

static int wavpack_encode_frame ( AVCodecContext avctx,
AVPacket pkt,
const AVFrame frame,
int *  got_output 
)
static

Definition at line 43 of file libwavpackenc.c.

static int encode_callback ( void id,
void data,
int32_t  count 
)
static

Definition at line 84 of file libwavpackenc.c.

Referenced by wavpack_encode_init().

static av_cold int wavpack_encode_init ( AVCodecContext avctx)
static

Definition at line 111 of file libwavpackenc.c.

static av_cold int wavpack_encode_close ( AVCodecContext avctx)
static

Definition at line 172 of file libwavpackenc.c.

Variable Documentation

AVCodec ff_libwavpack_encoder
Initial value:
= {
.name = "libwavpack",
.priv_data_size = sizeof(LibWavpackContext),
}

Definition at line 183 of file libwavpackenc.c.