Mercurial > libavcodec.hg
diff dsputil.h @ 10105:7775f6627612 libavcodec
Mark parameter src of vector_clipf() as const
author | vitor |
---|---|
date | Thu, 27 Aug 2009 15:38:59 +0000 |
parents | 0fa3d21b317e |
children | e3fc952dd4b2 |
line wrap: on
line diff
--- a/dsputil.h Thu Aug 27 14:49:36 2009 +0000 +++ b/dsputil.h Thu Aug 27 15:38:59 2009 +0000 @@ -396,7 +396,7 @@ void (*vector_fmul_window)(float *dst, const float *src0, const float *src1, const float *win, float add_bias, int len); /* assume len is a multiple of 8, and arrays are 16-byte aligned */ void (*int32_to_float_fmul_scalar)(float *dst, const int *src, float mul, int len); - void (*vector_clipf)(float *dst /* align 16 */, float *src /* align 16 */, float min, float max, int len /* align 16 */); + void (*vector_clipf)(float *dst /* align 16 */, const float *src /* align 16 */, float min, float max, int len /* align 16 */); /* 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 */