X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fopus_celt.h;h=661ca251de3d74c18e0520c94828cf380a9ae783;hb=420cedd49745b284c35d97b936b71ff79b43bdf7;hp=9289a1867af7ec27247b01cbb29766b653120e19;hpb=b8eb0827f053230dd919bc73e25381b47b4fe1a7;p=ffmpeg diff --git a/libavcodec/opus_celt.h b/libavcodec/opus_celt.h index 9289a1867af..661ca251de3 100644 --- a/libavcodec/opus_celt.h +++ b/libavcodec/opus_celt.h @@ -28,10 +28,12 @@ #include "opus.h" #include "opus_pvq.h" +#include "opusdsp.h" #include "mdct15.h" #include "libavutil/float_dsp.h" #include "libavutil/libm.h" +#include "libavutil/mem_internal.h" #define CELT_VECTORS 11 #define CELT_ALLOC_STEPS 6 @@ -40,7 +42,6 @@ #define CELT_NORM_SCALE 16384 #define CELT_QTHETA_OFFSET 4 #define CELT_QTHETA_OFFSET_TWOPHASE 16 -#define CELT_EMPH_COEFF 0.85000610f #define CELT_POSTFILTER_MINPERIOD 15 #define CELT_ENERGY_SILENCE (-28.0f) @@ -96,6 +97,7 @@ struct CeltFrame { AVFloatDSPContext *dsp; CeltBlock block[2]; CeltPVQ *pvq; + OpusDSP opusdsp; int channels; int output_channels; int apply_phase_inv;