s->block_size = FFALIGN(s->fft_length, 32);
s->coeff_size = FFALIGN(s->part_size + 1, 32);
s->nb_partitions = (s->nb_taps + s->part_size - 1) / s->part_size;
- s->nb_coeffs = s->ir_length + s->nb_partitions;
for (ch = 0; ch < ctx->inputs[0]->channels; ch++) {
s->sum[ch] = av_calloc(s->fft_length, sizeof(**s->sum));
#ifndef AVFILTER_AFIR_H
#define AVFILTER_AFIR_H
-#include "libavutil/audio_fifo.h"
#include "libavutil/common.h"
#include "libavutil/float_dsp.h"
#include "libavutil/opt.h"
int eof_coeffs;
int have_coeffs;
- int nb_coeffs;
int nb_taps;
int part_size;
int part_index;
float **block;
FFTComplex **coeff;
- AVAudioFifo *fifo;
AVFrame *in[2];
AVFrame *buffer;
AVFrame *video;