audiodsp: fix vector_clipf documentation

The x86 version processes 16 floats per iteration, so len must be a
multiple of 16.
This commit is contained in:
Anton Khirnov 2016-08-09 19:50:56 +02:00
parent e9ef617139
commit bf58545aac
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ typedef struct AudioDSPContext {
*/ */
void (*vector_clip_int32)(int32_t *dst, const int32_t *src, int32_t min, void (*vector_clip_int32)(int32_t *dst, const int32_t *src, int32_t min,
int32_t max, unsigned int len); int32_t max, unsigned int len);
/* assume len is a multiple of 8, and arrays are 16-byte aligned */ /* assume len is a multiple of 16, and arrays are 16-byte aligned */
void (*vector_clipf)(float *dst /* align 16 */, void (*vector_clipf)(float *dst /* align 16 */,
const float *src /* align 16 */, const float *src /* align 16 */,
float min, float max, int len /* align 16 */); float min, float max, int len /* align 16 */);