summaryrefslogtreecommitdiff
path: root/libavcodec/dsputil.h
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2009-05-15 15:34:22 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2009-05-15 15:34:22 +0000
commit13bd2044d3887b7f0008168c5173a274b5247488 (patch)
tree28efb00200745da115d578ef8d9743eb32872cfd /libavcodec/dsputil.h
parent42e64bf874ee7dae7cf78773e12fbb35571948e3 (diff)
mlp: Simplify adressing of state and coeffs arrays for both filters by making
the arrays sequential. Originally committed as revision 18841 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.h')
-rw-r--r--libavcodec/dsputil.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h
index 365f596fc9..9dc89409c4 100644
--- a/libavcodec/dsputil.h
+++ b/libavcodec/dsputil.h
@@ -476,8 +476,8 @@ typedef struct DSPContext {
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);