23 #ifndef AVCODEC_OPUS_PVQ_H
24 #define AVCODEC_OPUS_PVQ_H
28 #define QUANT_FN(name) uint32_t (name)(struct CeltPVQ *pvq, CeltFrame *f, \
29 OpusRangeCoder *rc, const int band, float *X, \
30 float *Y, int N, int b, uint32_t blocks, \
31 float *lowband, int duration, \
32 float *lowband_out, int level, float gain, \
33 float *lowband_scratch, int fill)
44 int band,
float *
bits,
float lambda);
void ff_opus_dsp_init_x86(struct CeltPVQ *s)
void ff_celt_pvq_uninit(struct CeltPVQ **pvq)
#define DECLARE_ALIGNED(n, t, v)
Declare a variable that is aligned in memory.
int ff_celt_pvq_init(struct CeltPVQ **pvq)
float(* band_cost)(struct CeltPVQ *pvq, CeltFrame *f, OpusRangeCoder *rc, int band, float *bits, float lambda)
float(* pvq_search)(float *X, int *y, int K, int N)