23 #ifndef AVCODEC_OPUS_PVQ_H 24 #define AVCODEC_OPUS_PVQ_H 26 #include "opus_celt.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) 36 DECLARE_ALIGNED(32,
int, qcoeff )[256];
37 DECLARE_ALIGNED(32,
float, hadamard_tmp)[256];
39 float (*pvq_search)(
float *X,
int *y,
int K,
int N);
40 QUANT_FN(*quant_band);
43 void ff_opus_dsp_init_x86(
struct CeltPVQ *s);
45 int ff_celt_pvq_init(
struct CeltPVQ **pvq,
int encode);
46 void ff_celt_pvq_uninit(
struct CeltPVQ **pvq);
Definition: opus_pvq.h:35