FFmpeg
|
#include "aactab.h"
#include "aacenc.h"
#include "aacenctab.h"
#include "aacenc_utils.h"
#include "aacenc_quantization_misc.h"
Go to the source code of this file.
Macros | |
#define | QUANTIZE_AND_ENCODE_BAND_COST_FUNC(NAME, BT_ZERO, BT_UNSIGNED, BT_PAIR, BT_ESC, BT_NOISE, BT_STEREO, ROUNDING) |
#define | quantize_and_encode_band_cost( s, pb, in, quant, scaled, size, scale_idx, cb, lambda, uplim, bits, energy, rtz) |
Functions | |
static av_always_inline float | quantize_and_encode_band_cost_template (struct AACEncContext *s, PutBitContext *pb, const float *in, float *out, const float *scaled, int size, int scale_idx, int cb, const float lambda, const float uplim, int *bits, float *energy, int BT_ZERO, int BT_UNSIGNED, int BT_PAIR, int BT_ESC, int BT_NOISE, int BT_STEREO, const float ROUNDING) |
Calculate rate distortion cost for quantizing with given codebook. More... | |
static float | quantize_and_encode_band_cost_NONE (struct AACEncContext *s, PutBitContext *pb, const float *in, float *quant, const float *scaled, int size, int scale_idx, int cb, const float lambda, const float uplim, int *bits, float *energy) |
static float | quantize_band_cost (struct AACEncContext *s, const float *in, const float *scaled, int size, int scale_idx, int cb, const float lambda, const float uplim, int *bits, float *energy, int rtz) |
static int | quantize_band_cost_bits (struct AACEncContext *s, const float *in, const float *scaled, int size, int scale_idx, int cb, const float lambda, const float uplim, int *bits, float *energy, int rtz) |
static void | quantize_and_encode_band (struct AACEncContext *s, PutBitContext *pb, const float *in, float *out, int size, int scale_idx, int cb, const float lambda, int rtz) |
Variables | |
static float(*const | quantize_and_encode_band_cost_arr [])(struct AACEncContext *s, PutBitContext *pb, const float *in, float *quant, const float *scaled, int size, int scale_idx, int cb, const float lambda, const float uplim, int *bits, float *energy) |
static float(*const | quantize_and_encode_band_cost_rtz_arr [])(struct AACEncContext *s, PutBitContext *pb, const float *in, float *quant, const float *scaled, int size, int scale_idx, int cb, const float lambda, const float uplim, int *bits, float *energy) |
AAC encoder quantizer
Definition in file aacenc_quantization.h.
#define QUANTIZE_AND_ENCODE_BAND_COST_FUNC | ( | NAME, | |
BT_ZERO, | |||
BT_UNSIGNED, | |||
BT_PAIR, | |||
BT_ESC, | |||
BT_NOISE, | |||
BT_STEREO, | |||
ROUNDING | |||
) |
Definition at line 171 of file aacenc_quantization.h.
#define quantize_and_encode_band_cost | ( | s, | |
pb, | |||
in, | |||
quant, | |||
scaled, | |||
size, | |||
scale_idx, | |||
cb, | |||
lambda, | |||
uplim, | |||
bits, | |||
energy, | |||
rtz | |||
) |
Definition at line 243 of file aacenc_quantization.h.
|
static |
Calculate rate distortion cost for quantizing with given codebook.
Definition at line 41 of file aacenc_quantization.h.
|
inlinestatic |
Definition at line 162 of file aacenc_quantization.h.
|
inlinestatic |
Definition at line 250 of file aacenc_quantization.h.
Referenced by encode_window_bands_info(), ff_aac_is_encoding_err(), ff_aac_search_for_ltp(), quantize_band_cost_cached(), search_for_ms(), search_for_pns(), and search_for_quantizers_anmr().
|
inlinestatic |
Definition at line 259 of file aacenc_quantization.h.
Referenced by codebook_trellis_rate().
|
inlinestatic |
Definition at line 273 of file aacenc_quantization.h.
|
static |
Definition at line 195 of file aacenc_quantization.h.
|
static |
Definition at line 219 of file aacenc_quantization.h.