[FFmpeg-cvslog] audiodsp: fix vector_clipf documentation
Anton Khirnov
git at videolan.org
Mon Mar 20 20:12:05 EET 2017
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Tue Aug 9 19:50:56 2016 +0200| [bf58545aace7d14522ce4fa680c7b3ff62109a3a] | committer: Anton Khirnov
audiodsp: fix vector_clipf documentation
The x86 version processes 16 floats per iteration, so len must be a
multiple of 16.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bf58545aace7d14522ce4fa680c7b3ff62109a3a
---
libavcodec/audiodsp.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/audiodsp.h b/libavcodec/audiodsp.h
index 58205a1..e48cdb0 100644
--- a/libavcodec/audiodsp.h
+++ b/libavcodec/audiodsp.h
@@ -45,7 +45,7 @@ typedef struct AudioDSPContext {
*/
void (*vector_clip_int32)(int32_t *dst, const int32_t *src, int32_t min,
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 */,
const float *src /* align 16 */,
float min, float max, int len /* align 16 */);
More information about the ffmpeg-cvslog
mailing list