X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fsynth_filter.h;h=d6209d5dbacfe2a4c3c23e2394850bfe164028a6;hb=aad9f50751b86ddd7ae03c641c2673ba77dafd29;hp=701394ca0adb1c448d62276be5d08d0ae2e57e30;hpb=9c9a0840d04b694df9d67e7dc344f813055239e0;p=ffmpeg diff --git a/libavcodec/synth_filter.h b/libavcodec/synth_filter.h index 701394ca0ad..d6209d5dbac 100644 --- a/libavcodec/synth_filter.h +++ b/libavcodec/synth_filter.h @@ -23,9 +23,15 @@ #include "fft.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); +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 */