comparison synth_filter.h @ 11592:18f17f44de37 libavcodec

Make synth_filter a function pointer
author mru
date Sat, 10 Apr 2010 16:27:53 +0000
parents 811467079ec9
children b7fa70eabb1f
comparison
equal deleted inserted replaced
11591:59a801bfc636 11592:18f17f44de37
21 #ifndef AVCODEC_SYNTH_FILTER_H 21 #ifndef AVCODEC_SYNTH_FILTER_H
22 #define AVCODEC_SYNTH_FILTER_H 22 #define AVCODEC_SYNTH_FILTER_H
23 23
24 #include "fft.h" 24 #include "fft.h"
25 25
26 void ff_synth_filter_float(FFTContext *imdct, 26 typedef struct SynthFilterContext {
27 float *synth_buf_ptr, int *synth_buf_offset, 27 void (*synth_filter_float)(FFTContext *imdct,
28 float synth_buf2[32], const float window[512], 28 float *synth_buf_ptr, int *synth_buf_offset,
29 float out[32], const float in[32], float scale, float bias); 29 float synth_buf2[32], const float window[512],
30 float out[32], const float in[32],
31 float scale, float bias);
32 } SynthFilterContext;
33
34 void ff_synth_filter_init(SynthFilterContext *c);
30 35
31 #endif /* AVCODEC_SYNTH_FILTER_H */ 36 #endif /* AVCODEC_SYNTH_FILTER_H */