summaryrefslogtreecommitdiff
path: root/libavcodec/sbr.h
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-01-12 00:17:45 +0000
committerMans Rullgard <mans@mansr.com>2012-01-28 14:56:18 +0000
commitaac46e088d67a390489af686b846dea4987d8ffb (patch)
tree500b708b111678eb47bcf5fba78b0c64015ce150 /libavcodec/sbr.h
parent7181c4edee636beaf520344766ae5bd8a9d9d15a (diff)
aacsbr: move some simdable loops to function pointers
This prepares for assembly optimisations by moving the most time-consuming loops to functions called through pointers in a new context. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/sbr.h')
-rw-r--r--libavcodec/sbr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/sbr.h b/libavcodec/sbr.h
index 5b0f334219..58f4b61341 100644
--- a/libavcodec/sbr.h
+++ b/libavcodec/sbr.h
@@ -32,6 +32,7 @@
#include <stdint.h>
#include "fft.h"
#include "aacps.h"
+#include "sbrdsp.h"
/**
* Spectral Band Replication header - spectrum parameters that invoke a reset if they differ from the previous header.
@@ -180,6 +181,7 @@ typedef struct {
DECLARE_ALIGNED(16, float, qmf_filter_scratch)[5][64];
FFTContext mdct_ana;
FFTContext mdct;
+ SBRDSPContext dsp;
} SpectralBandReplication;
#endif /* AVCODEC_SBR_H */