FFmpeg
|
#include "libavutil/channel_layout.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "codec_internal.h"
#include "encode.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 |
const FFCodec | ff_wavpack_encoder |
#define BITSTREAM_WRITER_LE |
Definition at line 21 of file wavpackenc.c.
Definition at line 43 of file wavpackenc.c.
Definition at line 45 of file wavpackenc.c.
#define CLEAR | ( | destin | ) | memset(&destin, 0, sizeof(destin)); |
Definition at line 48 of file wavpackenc.c.
#define SHIFT_LSB 13 |
Definition at line 50 of file wavpackenc.c.
#define SHIFT_MASK (0x1FU << SHIFT_LSB) |
Definition at line 51 of file wavpackenc.c.
#define MAG_LSB 18 |
Definition at line 53 of file wavpackenc.c.
#define MAG_MASK (0x1FU << MAG_LSB) |
Definition at line 54 of file wavpackenc.c.
#define SRATE_LSB 23 |
Definition at line 56 of file wavpackenc.c.
#define SRATE_MASK (0xFU << SRATE_LSB) |
Definition at line 57 of file wavpackenc.c.
#define EXTRA_TRY_DELTAS 1 |
Definition at line 59 of file wavpackenc.c.
#define EXTRA_ADJUST_DELTAS 2 |
Definition at line 60 of file wavpackenc.c.
#define EXTRA_SORT_FIRST 4 |
Definition at line 61 of file wavpackenc.c.
#define EXTRA_BRANCHES 8 |
Definition at line 62 of file wavpackenc.c.
#define EXTRA_SORT_LAST 16 |
Definition at line 63 of file wavpackenc.c.
#define FLOAT_SHIFT_ONES 1 |
Definition at line 214 of file wavpackenc.c.
#define FLOAT_SHIFT_SAME 2 |
Definition at line 215 of file wavpackenc.c.
#define FLOAT_SHIFT_SENT 4 |
Definition at line 216 of file wavpackenc.c.
#define FLOAT_ZEROS_SENT 8 |
Definition at line 217 of file wavpackenc.c.
#define FLOAT_NEG_ZEROS 0x10 |
Definition at line 218 of file wavpackenc.c.
#define FLOAT_EXCEPTIONS 0x20 |
Definition at line 219 of file wavpackenc.c.
Definition at line 221 of file wavpackenc.c.
Definition at line 222 of file wavpackenc.c.
Definition at line 223 of file wavpackenc.c.
#define count_bits | ( | av | ) | ((av) ? 32 - ff_clz(av) : 0) |
Definition at line 642 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 2955 of file wavpackenc.c.
#define FLAGS AV_OPT_FLAG_ENCODING_PARAM | AV_OPT_FLAG_AUDIO_PARAM |
Definition at line 2956 of file wavpackenc.c.
|
static |
Definition at line 127 of file wavpackenc.c.
Definition at line 197 of file wavpackenc.c.
Referenced by scan_float(), scan_int23(), scan_int32(), and wavpack_encode_block().
Definition at line 204 of file wavpackenc.c.
Referenced by scan_float(), scan_int23(), scan_int32(), and wavpack_encode_block().
|
static |
Definition at line 225 of file wavpackenc.c.
Referenced by scan_float().
|
static |
Definition at line 266 of file wavpackenc.c.
Referenced by wavpack_encode_block().
|
static |
Definition at line 352 of file wavpackenc.c.
Referenced by wavpack_encode_block().
|
static |
Definition at line 433 of file wavpackenc.c.
Referenced by wavpack_encode_block().
|
static |
Definition at line 523 of file wavpackenc.c.
Referenced by decorr_mono(), decorr_stereo(), decorr_stereo_quick(), and wavpack_encode_block().
|
static |
Definition at line 532 of file wavpackenc.c.
Referenced by decorr_mono(), decorr_stereo(), and decorr_stereo_quick().
Definition at line 542 of file wavpackenc.c.
Referenced by decorr_mono(), decorr_stereo(), and decorr_stereo_quick().
|
static |
Definition at line 547 of file wavpackenc.c.
Referenced by analyze_mono(), decorr_mono_buffer(), and wv_mono().
|
static |
Definition at line 610 of file wavpackenc.c.
Referenced by decorr_mono_buffer(), and wv_mono().
|
static |
Definition at line 644 of file wavpackenc.c.
Referenced by log2mono(), and log2stereo().
Definition at line 660 of file wavpackenc.c.
Referenced by analyze_mono(), delta_mono(), recurse_mono(), sort_mono(), and wv_mono().
|
static |
Definition at line 670 of file wavpackenc.c.
Referenced by analyze_stereo(), delta_stereo(), recurse_stereo(), sort_stereo(), and wv_stereo().
|
static |
Definition at line 682 of file wavpackenc.c.
Referenced by delta_mono(), recurse_mono(), and sort_mono().
|
static |
Definition at line 721 of file wavpackenc.c.
Referenced by analyze_mono().
|
static |
Definition at line 784 of file wavpackenc.c.
Referenced by analyze_mono().
|
static |
Definition at line 831 of file wavpackenc.c.
Referenced by analyze_mono().
|
static |
Definition at line 884 of file wavpackenc.c.
Referenced by analyze_mono(), and analyze_stereo().
|
static |
Definition at line 904 of file wavpackenc.c.
Referenced by wv_mono(), and wv_stereo().
|
static |
Definition at line 934 of file wavpackenc.c.
Referenced by wv_mono().
|
static |
Definition at line 986 of file wavpackenc.c.
Referenced by wv_mono(), and wv_stereo().
|
static |
Definition at line 1018 of file wavpackenc.c.
Referenced by wavpack_encode_block().
|
static |
Definition at line 1124 of file wavpackenc.c.
Referenced by analyze_stereo(), decorr_stereo_buffer(), and wv_stereo().
|
static |
Definition at line 1317 of file wavpackenc.c.
Referenced by decorr_stereo_buffer(), and wv_stereo().
|
static |
Definition at line 1361 of file wavpackenc.c.
Referenced by analyze_stereo(), decorr_stereo_buffer(), and wv_stereo().
|
static |
Definition at line 1497 of file wavpackenc.c.
Referenced by delta_stereo(), recurse_stereo(), and sort_stereo().
|
static |
Definition at line 1549 of file wavpackenc.c.
Referenced by analyze_stereo().
|
static |
Definition at line 1606 of file wavpackenc.c.
Referenced by analyze_stereo().
|
static |
Definition at line 1666 of file wavpackenc.c.
Referenced by analyze_stereo().
|
static |
Definition at line 1739 of file wavpackenc.c.
Referenced by wv_stereo().
|
static |
Definition at line 1808 of file wavpackenc.c.
Referenced by wavpack_encode_block().
|
static |
Definition at line 1968 of file wavpackenc.c.
Referenced by wavpack_encode_block(), and wavpack_encode_sample().
|
static |
Definition at line 2041 of file wavpackenc.c.
Referenced by wavpack_encode_block().
|
static |
Definition at line 2134 of file wavpackenc.c.
Referenced by wavpack_encode_block().
|
static |
Definition at line 2159 of file wavpackenc.c.
Referenced by pack_float().
|
static |
Definition at line 2214 of file wavpackenc.c.
Referenced by wavpack_encode_block().
|
static |
Definition at line 2231 of file wavpackenc.c.
Referenced by wavpack_encode_block().
|
static |
Definition at line 2350 of file wavpackenc.c.
Referenced by wavpack_encode_block().
|
static |
Definition at line 2459 of file wavpackenc.c.
Referenced by wavpack_encode_block().
|
static |
Definition at line 2468 of file wavpackenc.c.
Referenced by wavpack_encode_frame().
|
static |
Definition at line 2822 of file wavpackenc.c.
Referenced by wavpack_encode_frame().
|
static |
Definition at line 2851 of file wavpackenc.c.
Referenced by wavpack_encode_frame().
|
static |
Definition at line 2863 of file wavpackenc.c.
|
static |
Definition at line 2921 of file wavpackenc.c.
|
static |
Definition at line 2957 of file wavpackenc.c.
|
static |
Definition at line 2963 of file wavpackenc.c.
const FFCodec ff_wavpack_encoder |
Definition at line 2970 of file wavpackenc.c.