[FFmpeg-cvslog] checkasm/utvideodsp: fix mixed declarations and code
James Almer
git at videolan.org
Tue Nov 21 16:31:19 EET 2017
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Tue Nov 21 11:13:24 2017 -0300| [9a05c873cf2c2f1f4e85e3df82cde1eb86b6752d] | committer: James Almer
checkasm/utvideodsp: fix mixed declarations and code
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9a05c873cf2c2f1f4e85e3df82cde1eb86b6752d
---
tests/checkasm/utvideodsp.c | 6 +++---
1 file 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)); \
More information about the ffmpeg-cvslog
mailing list