Go to the documentation of this file.
28 #ifndef AVCODEC_AACENC_QUANTIZATION_H
29 #define AVCODEC_AACENC_QUANTIZATION_H
38 const float *in,
float *
quant,
const float *scaled,
39 int size,
int scale_idx,
int cb,
40 const float lambda,
const float uplim,
41 int *
bits,
float *energy);
44 const float *scaled,
int size,
int scale_idx,
45 int cb,
const float lambda,
const float uplim,
46 int *
bits,
float *energy)
49 cb, lambda, uplim,
bits, energy);
53 const float *scaled,
int size,
int scale_idx,
54 int cb,
const float lambda,
const float uplim,
55 int *
bits,
float *energy)
59 cb, 0.0
f, uplim, &auxbits, energy);
static double cb(void *priv, double x, double y)
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)
static const uint8_t quant[64]
float ff_quantize_and_encode_band_cost(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)