diff options
author | Lynne <dev@lynne.ee> | 2022-10-30 13:14:38 +0300 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2022-11-06 16:39:37 +0300 |
commit | 055413788fbfbdbb08acd591203e0b8e749cd04e (patch) | |
tree | 5f547fbfdd748f86c26a9e5d893dface024ad20f /libavcodec/dca_lbr.h | |
parent | e0661fc805a30b7c5cef682f179d113ac1934f9f (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.h | 5 |
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; |