Mercurial > libavcodec.hg
diff dsputil.h @ 9647:d0fe5dc427f0 libavcodec
mlp: Simplify adressing of state and coeffs arrays for both filters by making
the arrays sequential.
author | ramiro |
---|---|
date | Fri, 15 May 2009 15:34:22 +0000 |
parents | 5e1d9508b62f |
children | 67a20f0eb42c |
line wrap: on
line diff
--- a/dsputil.h Fri May 15 15:30:43 2009 +0000 +++ b/dsputil.h Fri May 15 15:34:22 2009 +0000 @@ -476,8 +476,8 @@ void (*shrink[4])(uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height); /* mlp/truehd functions */ - void (*mlp_filter_channel)(int32_t *firbuf, const int32_t *fircoeff, int firorder, - int32_t *iirbuf, const int32_t *iircoeff, int iirorder, + void (*mlp_filter_channel)(int32_t *state, const int32_t *coeff, + int firorder, int iirorder, unsigned int filter_shift, int32_t mask, int blocksize, int32_t *sample_buffer);