Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2022-10-30 13:14:38 +0300
committerLynne <dev@lynne.ee>2022-11-06 16:39:37 +0300
commit055413788fbfbdbb08acd591203e0b8e749cd04e (patch)
tree5f547fbfdd748f86c26a9e5d893dface024ad20f /libavcodec/dca_lbr.h
parente0661fc805a30b7c5cef682f179d113ac1934f9f (diff)
dca_lbr: convert to lavu/tx
Fully converts the DCA decoder to lavu/tx.
Diffstat (limited to 'libavcodec/dca_lbr.h')
-rw-r--r--libavcodec/dca_lbr.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/dca_lbr.h b/libavcodec/dca_lbr.h
index 9e1abec0b4..8ff66afcb7 100644
--- a/libavcodec/dca_lbr.h
+++ b/libavcodec/dca_lbr.h
@@ -23,13 +23,13 @@
#include "libavutil/float_dsp.h"
#include "libavutil/mem_internal.h"
+#include "libavutil/tx.h"
#include "avcodec.h"
#include "get_bits.h"
#include "dca.h"
#include "dca_exss.h"
#include "dcadsp.h"
-#include "fft.h"
#define DCA_LBR_CHANNELS 6
#define DCA_LBR_CHANNELS_TOTAL 32
@@ -119,7 +119,8 @@ typedef struct DCALbrDecoder {
DCALbrTone tones[DCA_LBR_TONES]; ///< Circular buffer of tones
int ntones; ///< Circular buffer head position
- FFTContext imdct;
+ AVTXContext *imdct;
+ av_tx_fn imdct_fn;
AVFloatDSPContext *fdsp;
DCADSPContext *dcadsp;
} DCALbrDecoder;