@ -27,7 +27,8 @@
# ifndef AVCODEC_IIRFILTER_H
# define AVCODEC_IIRFILTER_H
# include "avcodec.h"
# include <stddef.h>
# include <stdint.h>
struct FFIIRFilterCoeffs ;
struct FFIIRFilterState ;
@ -61,7 +62,7 @@ typedef struct FFIIRFilterContext {
*/
void ( * filter_flt ) ( const struct FFIIRFilterCoeffs * coeffs ,
struct FFIIRFilterState * state , int size ,
const float * src , in t sstep , float * dst , in t dstep ) ;
const float * src , ptrdiff_ t sstep , float * dst , ptrdiff_ t dstep ) ;
} FFIIRFilterContext ;
/**
@ -125,7 +126,7 @@ void ff_iir_filter_free_statep(struct FFIIRFilterState **state);
* @ param dstep destination stride
*/
void ff_iir_filter ( const struct FFIIRFilterCoeffs * coeffs , struct FFIIRFilterState * state ,
int size , const int16_t * src , in t sstep , int16_t * dst , in t dstep ) ;
int size , const int16_t * src , ptrdiff_ t sstep , int16_t * dst , ptrdiff_ t dstep ) ;
/**
* Perform IIR filtering on floating - point input samples .
@ -140,6 +141,7 @@ void ff_iir_filter(const struct FFIIRFilterCoeffs *coeffs, struct FFIIRFilterSta
*/
void ff_iir_filter_flt ( const struct FFIIRFilterCoeffs * coeffs ,
struct FFIIRFilterState * state , int size ,
const float * src , int sstep , float * dst , int dstep ) ;
const float * src , ptrdiff_t sstep ,
float * dst , ptrdiff_t dstep ) ;
# endif /* AVCODEC_IIRFILTER_H */