diff options
author | Loren Merritt <lorenm@u.washington.edu> | 2008-07-16 00:50:12 +0000 |
---|---|---|
committer | Loren Merritt <lorenm@u.washington.edu> | 2008-07-16 00:50:12 +0000 |
commit | 5eb0f2a425b6e1e0f821b52972b7af75de3480e2 (patch) | |
tree | c9c2a4f69dbb2b5c37e887cbc55e3c6479af108d /libavcodec/dsputil.h | |
parent | 633d9def9d53de2ccc1116936f6b1d250b8fd055 (diff) | |
download | ffmpeg-streaming-5eb0f2a425b6e1e0f821b52972b7af75de3480e2.zip ffmpeg-streaming-5eb0f2a425b6e1e0f821b52972b7af75de3480e2.tar.gz |
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.
Originally committed as revision 14252 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.h')
-rw-r--r-- | libavcodec/dsputil.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h index e44eaa2..7a47b87 100644 --- a/libavcodec/dsputil.h +++ b/libavcodec/dsputil.h @@ -372,7 +372,7 @@ typedef struct DSPContext { /* 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*/); |