diff options
Diffstat (limited to 'libavcodec/iirfilter.h')
-rw-r--r-- | libavcodec/iirfilter.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/libavcodec/iirfilter.h b/libavcodec/iirfilter.h index f660955..fd26166 100644 --- a/libavcodec/iirfilter.h +++ b/libavcodec/iirfilter.h @@ -87,7 +87,7 @@ void ff_iir_filter_free_coeffs(struct FFIIRFilterCoeffs *coeffs); void ff_iir_filter_free_state(struct FFIIRFilterState *state); /** - * Perform lowpass filtering on input samples. + * Perform IIR filtering on signed 16-bit input samples. * * @param coeffs pointer to filter coefficients * @param state pointer to filter state @@ -100,4 +100,19 @@ void ff_iir_filter_free_state(struct FFIIRFilterState *state); void ff_iir_filter(const struct FFIIRFilterCoeffs *coeffs, struct FFIIRFilterState *state, int size, const int16_t *src, int sstep, int16_t *dst, int dstep); +/** + * Perform IIR filtering on floating-point input samples. + * + * @param coeffs pointer to filter coefficients + * @param state pointer to filter state + * @param size input length + * @param src source samples + * @param sstep source stride + * @param dst filtered samples (destination may be the same as input) + * @param dstep destination stride + */ +void ff_iir_filter_flt(const struct FFIIRFilterCoeffs *coeffs, + struct FFIIRFilterState *state, int size, + const float *src, int sstep, void *dst, int dstep); + #endif /* AVCODEC_IIRFILTER_H */ |