Mercurial > libavcodec.hg
diff dsputil.h @ 7286:e267f2519248 libavcodec
float_to_int16_interleave: change src to an array of pointers instead of assuming it's contiguous.
this has no immediate effect, but will allow it to be used in more codecs.
author | lorenm |
---|---|
date | Wed, 16 Jul 2008 00:50:12 +0000 |
parents | fc843d00867c |
children | 483421b11d98 |
line wrap: on
line diff
--- a/dsputil.h Tue Jul 15 23:04:28 2008 +0000 +++ b/dsputil.h Wed Jul 16 00:50:12 2008 +0000 @@ -372,7 +372,7 @@ /* C version: convert floats from the range [384.0,386.0] to ints in [-32768,32767] * simd versions: convert floats from [-32768.0,32767.0] without rescaling and arrays are 16byte aligned */ void (*float_to_int16)(int16_t *dst, const float *src, long len); - void (*float_to_int16_interleave)(int16_t *dst, const float *src, long len, int channels); + void (*float_to_int16_interleave)(int16_t *dst, const float **src, long len, int channels); /* (I)DCT */ void (*fdct)(DCTELEM *block/* align 16*/);