FFmpeg
4.0
|
#include "libavutil/opt.h"
#include "avcodec.h"
#include "put_bits.h"
#include "internal.h"
#include "lpc.h"
#include "mathops.h"
#include "alac_data.h"
Go to the source code of this file.
Data Structures | |
struct | RiceContext |
struct | AlacLPCContext |
struct | AlacEncodeContext |
Macros | |
#define | DEFAULT_FRAME_SIZE 4096 |
#define | ALAC_EXTRADATA_SIZE 36 |
#define | ALAC_FRAME_HEADER_SIZE 55 |
#define | ALAC_FRAME_FOOTER_SIZE 3 |
#define | ALAC_ESCAPE_CODE 0x1FF |
#define | ALAC_MAX_LPC_ORDER 30 |
#define | DEFAULT_MAX_PRED_ORDER 6 |
#define | DEFAULT_MIN_PRED_ORDER 4 |
#define | ALAC_MAX_LPC_PRECISION 9 |
#define | ALAC_MIN_LPC_SHIFT 0 |
#define | ALAC_MAX_LPC_SHIFT 9 |
#define | ALAC_CHMODE_LEFT_RIGHT 0 |
#define | ALAC_CHMODE_LEFT_SIDE 1 |
#define | ALAC_CHMODE_RIGHT_SIDE 2 |
#define | ALAC_CHMODE_MID_SIDE 3 |
#define | COPY_SAMPLES(type) |
#define | OFFSET(x) offsetof(AlacEncodeContext, x) |
#define | AE AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Variables | |
static const AVOption | options [] |
static const AVClass | alacenc_class |
AVCodec | ff_alac_encoder |
#define DEFAULT_FRAME_SIZE 4096 |
Definition at line 31 of file alacenc.c.
Referenced by alac_encode_frame(), alac_encode_init(), get_max_frame_size(), and write_element_header().
#define ALAC_EXTRADATA_SIZE 36 |
Definition at line 32 of file alacenc.c.
Referenced by alac_encode_init().
#define ALAC_ESCAPE_CODE 0x1FF |
Definition at line 36 of file alacenc.c.
Referenced by encode_scalar().
#define ALAC_MAX_LPC_ORDER 30 |
Definition at line 37 of file alacenc.c.
Referenced by alac_encode_init().
#define ALAC_MAX_LPC_PRECISION 9 |
Definition at line 40 of file alacenc.c.
Referenced by calc_predictor_params().
#define ALAC_MIN_LPC_SHIFT 0 |
Definition at line 41 of file alacenc.c.
Referenced by calc_predictor_params().
#define ALAC_MAX_LPC_SHIFT 9 |
Definition at line 42 of file alacenc.c.
Referenced by calc_predictor_params().
#define ALAC_CHMODE_LEFT_RIGHT 0 |
Definition at line 44 of file alacenc.c.
Referenced by alac_stereo_decorrelation().
#define ALAC_CHMODE_LEFT_SIDE 1 |
Definition at line 45 of file alacenc.c.
Referenced by alac_stereo_decorrelation().
#define ALAC_CHMODE_RIGHT_SIDE 2 |
Definition at line 46 of file alacenc.c.
Referenced by alac_stereo_decorrelation().
#define COPY_SAMPLES | ( | type | ) |
Referenced by init_sample_buffers().
#define OFFSET | ( | x | ) | offsetof(AlacEncodeContext, x) |
#define AE AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Definition at line 655 of file alacenc.c.
Referenced by g726_reset().
|
static |
Definition at line 84 of file alacenc.c.
Referenced by write_element().
|
static |
Definition at line 106 of file alacenc.c.
Referenced by alac_entropy_coder().
|
static |
Definition at line 134 of file alacenc.c.
Referenced by write_element().
|
static |
Definition at line 153 of file alacenc.c.
Referenced by write_element().
Definition at line 184 of file alacenc.c.
Referenced by alac_stereo_decorrelation().
|
static |
Definition at line 217 of file alacenc.c.
Referenced by write_element().
|
static |
Definition at line 257 of file alacenc.c.
Referenced by write_element().
|
static |
Definition at line 321 of file alacenc.c.
Referenced by write_element().
|
static |
Definition at line 365 of file alacenc.c.
Referenced by write_frame().
|
static |
Definition at line 460 of file alacenc.c.
Referenced by alac_encode_frame().
|
static |
Definition at line 491 of file alacenc.c.
Referenced by alac_encode_frame(), and alac_encode_init().
|
static |
Definition at line 497 of file alacenc.c.
Referenced by alac_encode_init().
|
static |
|
static |
|
static |
|
static |
AVCodec ff_alac_encoder |