diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-09-04 14:45:48 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-09-22 09:47:52 +0200 |
commit | 683da86aabb4fbeddc3ead5fce737c63c0ee762c (patch) | |
tree | 40ca837d60567573ebf825e51806d5820b18c292 /tests/checkasm | |
parent | bf58545aace7d14522ce4fa680c7b3ff62109a3a (diff) | |
download | ffmpeg-683da86aabb4fbeddc3ead5fce737c63c0ee762c.tar.gz |
audiodsp: reorder arguments for vector_clipf
This will make the x86 asm simpler.
ARM conversion by Martin Storsjö <martin@martin.st> and Janne Grunau
<janne-libav@jannau.net>
Diffstat (limited to 'tests/checkasm')
-rw-r--r-- | tests/checkasm/audiodsp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/checkasm/audiodsp.c b/tests/checkasm/audiodsp.c index 456b90bfec..40fa3844e8 100644 --- a/tests/checkasm/audiodsp.c +++ b/tests/checkasm/audiodsp.c @@ -120,7 +120,7 @@ void checkasm_check_audiodsp(void) int i, len; declare_func_emms(AV_CPU_FLAG_MMX, void, float *dst, const float *src, - float min, float max, unsigned int len); + int len, float min, float max); val1 = (float)rnd() / (UINT_MAX >> 1) - 1.0f; val2 = (float)rnd() / (UINT_MAX >> 1) - 1.0f; @@ -133,13 +133,13 @@ void checkasm_check_audiodsp(void) len = rnd() % 128; len = 16 * FFMAX(len, 1); - call_ref(dst0, src, min, max, len); - call_new(dst1, src, min, max, len); + call_ref(dst0, src, len, min, max); + call_new(dst1, src, len, min, max); for (i = 0; i < len; i++) { if (!float_near_ulp_array(dst0, dst1, 3, len)) fail(); } - bench_new(dst1, src, min, max, MAX_SIZE); + bench_new(dst1, src, MAX_SIZE, min, max); } report("audiodsp"); |