FFmpeg
|
#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "internal.h"
#include "put_bits.h"
#include "bytestream.h"
#include "wavpackenc.h"
#include "wavpack.h"
Go to the source code of this file.
Data Structures | |
struct | WavPackExtraInfo |
struct | WavPackWords |
struct | WavPackEncodeContext |
Variables | |
static const AVOption | options [] |
static const AVClass | wavpack_encoder_class |
AVCodec | ff_wavpack_encoder |
#define BITSTREAM_WRITER_LE |
Definition at line 21 of file wavpackenc.c.
Definition at line 41 of file wavpackenc.c.
Definition at line 43 of file wavpackenc.c.
#define CLEAR | ( | destin | ) | memset(&destin, 0, sizeof(destin)); |
Definition at line 46 of file wavpackenc.c.
#define SHIFT_LSB 13 |
Definition at line 48 of file wavpackenc.c.
#define SHIFT_MASK (0x1FU << SHIFT_LSB) |
Definition at line 49 of file wavpackenc.c.
#define MAG_LSB 18 |
Definition at line 51 of file wavpackenc.c.
#define MAG_MASK (0x1FU << MAG_LSB) |
Definition at line 52 of file wavpackenc.c.
#define SRATE_LSB 23 |
Definition at line 54 of file wavpackenc.c.
#define SRATE_MASK (0xFU << SRATE_LSB) |
Definition at line 55 of file wavpackenc.c.
#define EXTRA_TRY_DELTAS 1 |
Definition at line 57 of file wavpackenc.c.
#define EXTRA_ADJUST_DELTAS 2 |
Definition at line 58 of file wavpackenc.c.
#define EXTRA_SORT_FIRST 4 |
Definition at line 59 of file wavpackenc.c.
#define EXTRA_BRANCHES 8 |
Definition at line 60 of file wavpackenc.c.
#define EXTRA_SORT_LAST 16 |
Definition at line 61 of file wavpackenc.c.
#define FLOAT_SHIFT_ONES 1 |
Definition at line 212 of file wavpackenc.c.
#define FLOAT_SHIFT_SAME 2 |
Definition at line 213 of file wavpackenc.c.
#define FLOAT_SHIFT_SENT 4 |
Definition at line 214 of file wavpackenc.c.
#define FLOAT_ZEROS_SENT 8 |
Definition at line 215 of file wavpackenc.c.
#define FLOAT_NEG_ZEROS 0x10 |
Definition at line 216 of file wavpackenc.c.
#define FLOAT_EXCEPTIONS 0x20 |
Definition at line 217 of file wavpackenc.c.
Definition at line 219 of file wavpackenc.c.
Definition at line 220 of file wavpackenc.c.
Definition at line 221 of file wavpackenc.c.
#define count_bits | ( | av | ) | ((av) ? 32 - ff_clz(av) : 0) |
Definition at line 640 of file wavpackenc.c.
#define WRITE_DECWEIGHT | ( | type | ) |
#define WRITE_DECSAMPLE | ( | type | ) |
#define WRITE_CHAN_ENTROPY | ( | chan | ) |
#define OFFSET | ( | x | ) | offsetof(WavPackEncodeContext, x) |
Definition at line 2945 of file wavpackenc.c.
#define FLAGS AV_OPT_FLAG_ENCODING_PARAM | AV_OPT_FLAG_AUDIO_PARAM |
Definition at line 2946 of file wavpackenc.c.
|
static |
Definition at line 125 of file wavpackenc.c.
Definition at line 195 of file wavpackenc.c.
Referenced by scan_float(), scan_int23(), scan_int32(), and wavpack_encode_block().
Definition at line 202 of file wavpackenc.c.
Referenced by scan_float(), scan_int23(), scan_int32(), and wavpack_encode_block().
|
static |
Definition at line 223 of file wavpackenc.c.
Referenced by scan_float().
|
static |
Definition at line 264 of file wavpackenc.c.
Referenced by wavpack_encode_block().
|
static |
Definition at line 350 of file wavpackenc.c.
Referenced by wavpack_encode_block().
|
static |
Definition at line 431 of file wavpackenc.c.
Referenced by wavpack_encode_block().
|
static |
Definition at line 521 of file wavpackenc.c.
Referenced by decorr_mono(), decorr_stereo(), decorr_stereo_quick(), and wavpack_encode_block().
|
static |
Definition at line 530 of file wavpackenc.c.
Referenced by decorr_mono(), decorr_stereo(), and decorr_stereo_quick().
Definition at line 540 of file wavpackenc.c.
Referenced by decorr_mono(), decorr_stereo(), and decorr_stereo_quick().
|
static |
Definition at line 545 of file wavpackenc.c.
Referenced by analyze_mono(), decorr_mono_buffer(), and wv_mono().
|
static |
Definition at line 608 of file wavpackenc.c.
Referenced by decorr_mono_buffer(), and wv_mono().
|
static |
Definition at line 642 of file wavpackenc.c.
Referenced by log2mono(), and log2stereo().
Definition at line 658 of file wavpackenc.c.
Referenced by analyze_mono(), delta_mono(), recurse_mono(), sort_mono(), and wv_mono().
|
static |
Definition at line 668 of file wavpackenc.c.
Referenced by analyze_stereo(), delta_stereo(), recurse_stereo(), sort_stereo(), and wv_stereo().
|
static |
Definition at line 680 of file wavpackenc.c.
Referenced by delta_mono(), recurse_mono(), and sort_mono().
|
static |
Definition at line 719 of file wavpackenc.c.
Referenced by analyze_mono().
|
static |
Definition at line 782 of file wavpackenc.c.
Referenced by analyze_mono().
|
static |
Definition at line 829 of file wavpackenc.c.
Referenced by analyze_mono().
|
static |
Definition at line 882 of file wavpackenc.c.
Referenced by analyze_mono(), and analyze_stereo().
|
static |
Definition at line 902 of file wavpackenc.c.
Referenced by wv_mono(), and wv_stereo().
|
static |
Definition at line 932 of file wavpackenc.c.
Referenced by wv_mono().
|
static |
Definition at line 984 of file wavpackenc.c.
Referenced by wv_mono(), and wv_stereo().
|
static |
Definition at line 1016 of file wavpackenc.c.
Referenced by wavpack_encode_block().
|
static |
Definition at line 1122 of file wavpackenc.c.
Referenced by analyze_stereo(), decorr_stereo_buffer(), and wv_stereo().
|
static |
Definition at line 1315 of file wavpackenc.c.
Referenced by decorr_stereo_buffer(), and wv_stereo().
|
static |
Definition at line 1359 of file wavpackenc.c.
Referenced by analyze_stereo(), decorr_stereo_buffer(), and wv_stereo().
|
static |
Definition at line 1495 of file wavpackenc.c.
Referenced by delta_stereo(), recurse_stereo(), and sort_stereo().
|
static |
Definition at line 1547 of file wavpackenc.c.
Referenced by analyze_stereo().
|
static |
Definition at line 1604 of file wavpackenc.c.
Referenced by analyze_stereo().
|
static |
Definition at line 1664 of file wavpackenc.c.
Referenced by analyze_stereo().
|
static |
Definition at line 1737 of file wavpackenc.c.
Referenced by wv_stereo().
|
static |
Definition at line 1806 of file wavpackenc.c.
Referenced by wavpack_encode_block().
|
static |
Definition at line 1966 of file wavpackenc.c.
Referenced by wavpack_encode_block(), and wavpack_encode_sample().
|
static |
Definition at line 2039 of file wavpackenc.c.
Referenced by wavpack_encode_block().
|
static |
Definition at line 2132 of file wavpackenc.c.
Referenced by wavpack_encode_block().
|
static |
Definition at line 2157 of file wavpackenc.c.
Referenced by pack_float().
|
static |
Definition at line 2212 of file wavpackenc.c.
Referenced by wavpack_encode_block().
|
static |
Definition at line 2229 of file wavpackenc.c.
Referenced by wavpack_encode_block().
|
static |
Definition at line 2348 of file wavpackenc.c.
Referenced by wavpack_encode_block().
|
static |
Definition at line 2457 of file wavpackenc.c.
Referenced by wavpack_encode_block().
|
static |
Definition at line 2466 of file wavpackenc.c.
Referenced by wavpack_encode_frame().
|
static |
Definition at line 2810 of file wavpackenc.c.
Referenced by wavpack_encode_frame().
|
static |
Definition at line 2839 of file wavpackenc.c.
Referenced by wavpack_encode_frame().
|
static |
Definition at line 2851 of file wavpackenc.c.
|
static |
Definition at line 2911 of file wavpackenc.c.
|
static |
Definition at line 2947 of file wavpackenc.c.
|
static |
Definition at line 2953 of file wavpackenc.c.
AVCodec ff_wavpack_encoder |
Definition at line 2960 of file wavpackenc.c.