summaryrefslogtreecommitdiff
path: root/libavcodec/opus_celt.h
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2019-03-15 14:35:03 +0000
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2019-04-01 00:19:14 +0200
commit0cea3ca8943b5a3f28a3672037f424b4d03853b8 (patch)
treec7056e3dca217790886df80a44d6ba5e2d24584c /libavcodec/opus_celt.h
parent5468c1d075166fa1a8fea217b07e30abc6bdc4b1 (diff)
opusdsp: create and move deemphasis and postfiltering from opus_celt
Diffstat (limited to 'libavcodec/opus_celt.h')
-rw-r--r--libavcodec/opus_celt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/opus_celt.h b/libavcodec/opus_celt.h
index 9289a1867a..7c1c5316b9 100644
--- a/libavcodec/opus_celt.h
+++ b/libavcodec/opus_celt.h
@@ -28,6 +28,7 @@
#include "opus.h"
#include "opus_pvq.h"
+#include "opusdsp.h"
#include "mdct15.h"
#include "libavutil/float_dsp.h"
@@ -40,7 +41,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 +96,7 @@ struct CeltFrame {
AVFloatDSPContext *dsp;
CeltBlock block[2];
CeltPVQ *pvq;
+ OpusDSP opusdsp;
int channels;
int output_channels;
int apply_phase_inv;