aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-11-21 11:13:24 -0300
committerJames Almer <jamrial@gmail.com>2017-11-21 11:13:24 -0300
commit9a05c873cf2c2f1f4e85e3df82cde1eb86b6752d (patch)
treedc86ad4313fbcfca8343df2da4eee4b6733c5fc8
parentbeb63baa6961698982e5e59037be1854e532425c (diff)
downloadffmpeg-9a05c873cf2c2f1f4e85e3df82cde1eb86b6752d.tar.gz
checkasm/utvideodsp: fix mixed declarations and code
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--tests/checkasm/utvideodsp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/checkasm/utvideodsp.c b/tests/checkasm/utvideodsp.c
index 6ef2fb21f0..e811f523e5 100644
--- a/tests/checkasm/utvideodsp.c
+++ b/tests/checkasm/utvideodsp.c
@@ -60,6 +60,9 @@ LOCAL_ALIGNED_32(type, src_b0, [BUFFER_SIZE]); \
LOCAL_ALIGNED_32(type, src_r1, [BUFFER_SIZE]); \
LOCAL_ALIGNED_32(type, src_g1, [BUFFER_SIZE]); \
LOCAL_ALIGNED_32(type, src_b1, [BUFFER_SIZE]); \
+declare_func(void, type *src_r, type *src_g, type *src_b, \
+ ptrdiff_t linesize_r, ptrdiff_t linesize_g, \
+ ptrdiff_t linesize_b, int width, int height); \
memset(src_r0, 0, BUFFER_SIZE); \
memset(src_g0, 0, BUFFER_SIZE); \
memset(src_b0, 0, BUFFER_SIZE); \
@@ -69,9 +72,6 @@ randomize_plane(src_b0, type); \
memcpy(src_r1, src_r0, BUFFER_SIZE * sizeof(type)); \
memcpy(src_g1, src_g0, BUFFER_SIZE * sizeof(type)); \
memcpy(src_b1, src_b0, BUFFER_SIZE * sizeof(type)); \
-declare_func(void, type *src_r, type *src_g, type *src_b, \
- ptrdiff_t linesize_r, ptrdiff_t linesize_g, \
- ptrdiff_t linesize_b, int width, int height); \
call_ref(src_r0, src_g0, src_b0, WIDTH_PADDED, WIDTH_PADDED, WIDTH_PADDED, WIDTH, HEIGHT);\
call_new(src_r1, src_g1, src_b1, WIDTH_PADDED, WIDTH_PADDED, WIDTH_PADDED, WIDTH, HEIGHT);\
cmp_plane(src_r0, src_r1, sizeof(type)); \