aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/wma.h
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2022-11-01 08:45:27 +0100
committerLynne <dev@lynne.ee>2022-11-06 14:39:39 +0100
commit978963a77b27d52000f83c647ef46b6d0c390326 (patch)
tree41c0d775508b5d534ac69f3ab51819695c328f13 /libavcodec/wma.h
parent6ba0aa1770ba29eb4126c6a706f6b0cd3809648f (diff)
downloadffmpeg-978963a77b27d52000f83c647ef46b6d0c390326.tar.gz
wma: convert to lavu/tx
Converts both the decoder and encoders.
Diffstat (limited to 'libavcodec/wma.h')
-rw-r--r--libavcodec/wma.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/libavcodec/wma.h b/libavcodec/wma.h
index 80e52687fd..5dc604154d 100644
--- a/libavcodec/wma.h
+++ b/libavcodec/wma.h
@@ -24,9 +24,9 @@
#include "libavutil/float_dsp.h"
#include "libavutil/mem_internal.h"
+#include "libavutil/tx.h"
#include "avcodec.h"
-#include "fft.h"
#include "get_bits.h"
#include "put_bits.h"
@@ -115,8 +115,9 @@ typedef struct WMACodecContext {
float max_exponent[MAX_CHANNELS];
WMACoef coefs1[MAX_CHANNELS][BLOCK_MAX_SIZE];
DECLARE_ALIGNED(32, float, coefs)[MAX_CHANNELS][BLOCK_MAX_SIZE];
- DECLARE_ALIGNED(32, FFTSample, output)[BLOCK_MAX_SIZE * 2];
- FFTContext mdct_ctx[BLOCK_NB_SIZES];
+ DECLARE_ALIGNED(32, float, output)[BLOCK_MAX_SIZE * 2];
+ AVTXContext *mdct_ctx[BLOCK_NB_SIZES];
+ av_tx_fn mdct_fn[BLOCK_NB_SIZES];
const float *windows[BLOCK_NB_SIZES];
/* output buffer for one frame and the last for IMDCT windowing */
DECLARE_ALIGNED(32, float, frame_out)[MAX_CHANNELS][BLOCK_MAX_SIZE * 2];