[FFmpeg-devel] [PATCH v2 1/2] checkasm/rv40dsp: cover more cases
uk7b at foxmail.com
uk7b at foxmail.com
Wed Dec 4 11:13:49 EET 2024
From: sunyuechi <sunyuechi at iscas.ac.cn>
---
tests/checkasm/rv40dsp.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/checkasm/rv40dsp.c b/tests/checkasm/rv40dsp.c
index a1a873d430..8d2252116c 100644
--- a/tests/checkasm/rv40dsp.c
+++ b/tests/checkasm/rv40dsp.c
@@ -27,7 +27,7 @@
#define randomize_buffers() \
do { \
for (int i = 0; i < 16*18*2; i++) \
- src[i] = rnd() & 0x3; \
+ src[i] = rnd() & 0xff; \
} while (0)
static void check_chroma_mc(void)
@@ -47,8 +47,8 @@ static void check_chroma_mc(void)
#define CHECK_CHROMA_MC(name) \
do { \
if (check_func(h.name## _pixels_tab[size], #name "_mc%d", 1 << (3 - size))) { \
- for (int x = 0; x < 2; x++) { \
- for (int y = 0; y < 2; y++) { \
+ for (int x = 0; x < 8; x++) { \
+ for (int y = 0; y < 8; y++) { \
memcpy(dst0, src, 16 * 18); \
memcpy(dst1, src, 16 * 18); \
call_ref(dst0, src, 16, 16, x, y); \
--
2.47.1
More information about the ffmpeg-devel
mailing list