Also test a smaller buffer. This drastically reduces --bench runtime
and reports smaller, more readable numbers.

Signed-off-by: James Almer <jamr...@gmail.com>
---
 tests/checkasm/vf_blend.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/checkasm/vf_blend.c b/tests/checkasm/vf_blend.c
index cfc389b..aa568c0 100644
--- a/tests/checkasm/vf_blend.c
+++ b/tests/checkasm/vf_blend.c
@@ -79,9 +79,9 @@
                      dst2 + dst_offset, WIDTH, WIDTH, HEIGHT, &param, NULL);   
            \
             if (memcmp(top1, top2, BUF_SIZE) || memcmp(bot1, bot2, BUF_SIZE) 
|| memcmp(dst1, dst2, BUF_SIZE)) \
                 fail();                                                        
            \
-            bench_new(top2 + src_offset, WIDTH, bot2 + src_offset, WIDTH,      
            \
-                      dst2, WIDTH, WIDTH, HEIGHT, &param, NULL);               
            \
         }                                                                      
            \
+        bench_new(top2, WIDTH / 4, bot2, WIDTH / 4, dst2, WIDTH / 4,           
            \
+                  WIDTH / 4, HEIGHT / 4, &param, NULL);                        
            \
     } while (0)
 
 void checkasm_check_blend(void)
-- 
2.7.0

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to