FFmpeg
Classes | Macros | Typedefs | Variables
wavpack.c File Reference

WavPack lossless audio decoder. More...

#include "libavutil/channel_layout.h"
#include "avcodec.h"
#include "bytestream.h"
#include "get_bits.h"
#include "internal.h"
#include "thread.h"
#include "unary.h"
#include "wavpack.h"

Classes

struct  SavedContext
 
struct  WavpackFrameContext
 
struct  WavpackContext
 

Macros

#define BITSTREAM_READER_LE
 
#define WV_MAX_FRAME_DECODERS   14
 
#define LEVEL_DECAY(a)   (((a) + 0x80) >> 8)
 

Typedefs

typedef struct SavedContext SavedContext
 
typedef struct WavpackFrameContext WavpackFrameContext
 
typedef struct WavpackContext WavpackContext
 

Variables

AVCodec ff_wavpack_decoder
 

Detailed Description

WavPack lossless audio decoder.

Variable Documentation

§ ff_wavpack_decoder

AVCodec ff_wavpack_decoder
Initial value:
= {
.name = "wavpack",
.long_name = NULL_IF_CONFIG_SMALL("WavPack"),
.type = AVMEDIA_TYPE_AUDIO,
.id = AV_CODEC_ID_WAVPACK,
.priv_data_size = sizeof(WavpackContext),
.init = wavpack_decode_init,
.close = wavpack_decode_end,
.decode = wavpack_decode_frame,
.flush = wavpack_decode_flush,
.init_thread_copy = ONLY_IF_THREADS_ENABLED(init_thread_copy),
}
Definition: wavpack.c:75
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
#define AV_CODEC_CAP_FRAME_THREADS
Codec supports frame-level multithreading.
Definition: avcodec.h:1015
#define ONLY_IF_THREADS_ENABLED(x)
Define a function with only the non-default version specified.
Definition: internal.h:225
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: avcodec.h:959