aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/iirfilter.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-06-16 14:06:28 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-06-30 11:37:25 +0200
commit2902ed25b58cb31ec3e0c2ef7d4740ae18200d2d (patch)
treeca6cbfdc811c3d98c96b14b9c512cee68b83fa36 /libavcodec/iirfilter.c
parent2330e77c976f4b41ae3ad5526138b3479f595819 (diff)
downloadffmpeg-2902ed25b58cb31ec3e0c2ef7d4740ae18200d2d.tar.gz
avcodec/iirfilter: Move ff_iir_filter() to lavc/tests/iirfilter.c
It is only used by the test. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/iirfilter.c')
-rw-r--r--libavcodec/iirfilter.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/libavcodec/iirfilter.c b/libavcodec/iirfilter.c
index 727a370444..cefe35ab6e 100644
--- a/libavcodec/iirfilter.c
+++ b/libavcodec/iirfilter.c
@@ -277,20 +277,6 @@ av_cold struct FFIIRFilterState *ff_iir_filter_init_state(int order)
} \
}
-void ff_iir_filter(const struct FFIIRFilterCoeffs *c,
- struct FFIIRFilterState *s, int size,
- const int16_t *src, ptrdiff_t sstep,
- int16_t *dst, ptrdiff_t dstep)
-{
- if (c->order == 2) {
- FILTER_O2(int16_t, S16)
- } else if (c->order == 4) {
- FILTER_BW_O4(int16_t, S16)
- } else {
- FILTER_DIRECT_FORM_II(int16_t, S16)
- }
-}
-
/**
* Perform IIR filtering on floating-point input samples.
*