]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/synth_filter.h
Set cur_channel in the AAC encoder context where needed.
[ffmpeg] / libavcodec / synth_filter.h
index 0472048fbc1f996110daa552a45bf417f46e5c9d..d6209d5dbacfe2a4c3c23e2394850bfe164028a6 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "dsputil.h"
+#ifndef AVCODEC_SYNTH_FILTER_H
+#define AVCODEC_SYNTH_FILTER_H
 
-void ff_synth_filter_float(FFTContext *imdct,
-                         float *synth_buf_ptr, int *synth_buf_offset,
-                         float synth_buf2[32], const float window[512],
-                         float out[32], const float in[32], float scale, float bias);
+#include "fft.h"
 
+typedef struct SynthFilterContext {
+    void (*synth_filter_float)(FFTContext *imdct,
+                               float *synth_buf_ptr, int *synth_buf_offset,
+                               float synth_buf2[32], const float window[512],
+                               float out[32], const float in[32],
+                               float scale, float bias);
+} SynthFilterContext;
+
+void ff_synth_filter_init(SynthFilterContext *c);
+void ff_synth_filter_init_arm(SynthFilterContext *c);
+
+#endif /* AVCODEC_SYNTH_FILTER_H */