FFmpeg
|
WavPack lossless audio decoder. More...
#include "libavutil/channel_layout.h"
#include "avcodec.h"
#include "get_bits.h"
#include "internal.h"
#include "unary.h"
Go to the source code of this file.
Data Structures | |
struct | SavedContext |
struct | Decorr |
struct | WvChannel |
struct | WavpackFrameContext |
struct | WavpackContext |
Macros | |
#define | BITSTREAM_READER_LE |
#define | WV_MONO 0x00000004 |
#define | WV_JOINT_STEREO 0x00000010 |
#define | WV_FALSE_STEREO 0x40000000 |
#define | WV_HYBRID_MODE 0x00000008 |
#define | WV_HYBRID_SHAPE 0x00000008 |
#define | WV_HYBRID_BITRATE 0x00000200 |
#define | WV_HYBRID_BALANCE 0x00000400 |
#define | WV_FLT_SHIFT_ONES 0x01 |
#define | WV_FLT_SHIFT_SAME 0x02 |
#define | WV_FLT_SHIFT_SENT 0x04 |
#define | WV_FLT_ZERO_SENT 0x08 |
#define | WV_FLT_ZERO_SIGN 0x10 |
#define | WV_MAX_SAMPLES 131072 |
#define | MAX_TERMS 16 |
#define | WV_MAX_FRAME_DECODERS 14 |
#define | LEVEL_DECAY(a) ((a + 0x80) >> 8) |
#define | GET_MED(n) ((c->median[n] >> 4) + 1) |
#define | DEC_MED(n) c->median[n] -= ((c->median[n] + (128 >> n) - 2) / (128 >> n)) * 2 |
#define | INC_MED(n) c->median[n] += ((c->median[n] + (128 >> n) ) / (128 >> n)) * 5 |
#define | UPDATE_WEIGHT_CLIP(weight, delta, samples, in) |
Enumerations | |
enum | WP_ID_Flags { WP_IDF_MASK = 0x1F, WP_IDF_IGNORE = 0x20, WP_IDF_ODD = 0x40, WP_IDF_LONG = 0x80 } |
enum | WP_ID { WP_ID_DUMMY = 0, WP_ID_ENCINFO, WP_ID_DECTERMS, WP_ID_DECWEIGHTS, WP_ID_DECSAMPLES, WP_ID_ENTROPY, WP_ID_HYBRID, WP_ID_SHAPING, WP_ID_FLOATINFO, WP_ID_INT32INFO, WP_ID_DATA, WP_ID_CORR, WP_ID_EXTRABITS, WP_ID_CHANINFO } |
Variables | |
static const uint8_t | wp_exp2_table [256] |
static const uint8_t | wp_log2_table [] |
AVCodec | ff_wavpack_decoder |
WavPack lossless audio decoder.
Definition in file wavpack.c.
#define WV_MONO 0x00000004 |
Definition at line 35 of file wavpack.c.
Referenced by wavpack_decode_block().
#define WV_JOINT_STEREO 0x00000010 |
Definition at line 36 of file wavpack.c.
Referenced by wavpack_decode_block().
#define WV_FALSE_STEREO 0x40000000 |
Definition at line 37 of file wavpack.c.
Referenced by wavpack_decode_block().
#define WV_HYBRID_MODE 0x00000008 |
Definition at line 39 of file wavpack.c.
Referenced by wavpack_decode_block().
#define WV_HYBRID_BITRATE 0x00000200 |
Definition at line 41 of file wavpack.c.
Referenced by wavpack_decode_block().
#define WV_FLT_SHIFT_ONES 0x01 |
Definition at line 44 of file wavpack.c.
Referenced by wv_get_value_float().
#define WV_FLT_SHIFT_SAME 0x02 |
Definition at line 45 of file wavpack.c.
Referenced by wv_get_value_float().
#define WV_FLT_SHIFT_SENT 0x04 |
Definition at line 46 of file wavpack.c.
Referenced by wv_get_value_float().
#define WV_FLT_ZERO_SENT 0x08 |
Definition at line 47 of file wavpack.c.
Referenced by wv_get_value_float().
#define WV_FLT_ZERO_SIGN 0x10 |
Definition at line 48 of file wavpack.c.
Referenced by wv_get_value_float().
#define WV_MAX_SAMPLES 131072 |
Definition at line 50 of file wavpack.c.
Referenced by wavpack_decode_frame().
#define MAX_TERMS 16 |
Definition at line 83 of file wavpack.c.
Referenced by wavpack_decode_block().
#define WV_MAX_FRAME_DECODERS 14 |
Definition at line 128 of file wavpack.c.
Referenced by wv_alloc_frame_context().
Definition at line 213 of file wavpack.c.
Referenced by update_error_limit(), and wv_get_value().
#define GET_MED | ( | n | ) | ((c->median[n] >> 4) + 1) |
Definition at line 216 of file wavpack.c.
Referenced by wv_get_value().
Definition at line 217 of file wavpack.c.
Referenced by wv_get_value().
Definition at line 218 of file wavpack.c.
Referenced by wv_get_value().
enum WP_ID_Flags |
enum WP_ID |
|
static |
Definition at line 182 of file wavpack.c.
Referenced by update_error_limit(), and wavpack_decode_block().
|
static |
Definition at line 197 of file wavpack.c.
Referenced by wv_get_value().
|
static |
Definition at line 235 of file wavpack.c.
Referenced by wv_get_value().
|
static |
Definition at line 249 of file wavpack.c.
Referenced by wv_get_value().
|
static |
Definition at line 283 of file wavpack.c.
Referenced by wv_unpack_mono(), and wv_unpack_stereo().
|
inlinestatic |
Definition at line 403 of file wavpack.c.
Referenced by wv_unpack_mono(), and wv_unpack_stereo().
|
static |
Definition at line 426 of file wavpack.c.
Referenced by wv_unpack_mono(), and wv_unpack_stereo().
|
static |
Definition at line 499 of file wavpack.c.
Referenced by wavpack_decode_flush(), wv_alloc_frame_context(), wv_unpack_mono(), and wv_unpack_stereo().
|
inlinestatic |
Definition at line 505 of file wavpack.c.
Referenced by wv_unpack_mono(), and wv_unpack_stereo().
|
inlinestatic |
Definition at line 520 of file wavpack.c.
Referenced by wavpack_decode_block().
|
inlinestatic |
Definition at line 637 of file wavpack.c.
Referenced by wavpack_decode_block().
|
static |
Definition at line 702 of file wavpack.c.
Referenced by wavpack_decode_block().
|
static |
|
static |
|
static |
Definition at line 758 of file wavpack.c.
Referenced by wavpack_decode_frame().
|
static |
Definition at line 1167 of file wavpack.c.
Referenced by wavpack_decode_frame().
|
static |
|
static |
Definition at line 144 of file wavpack.c.
Referenced by wp_exp2().
|
static |
Definition at line 163 of file wavpack.c.
Referenced by wp_log2().
AVCodec ff_wavpack_decoder |