[FFmpeg-devel] [PATCH 1/2] checkasm/rv40dsp: cover more cases for rv40_bias

uk7b at foxmail.com uk7b at foxmail.com
Thu Dec 5 06:29:39 EET 2024


From: sunyuechi <sunyuechi at iscas.ac.cn>

---
 tests/checkasm/rv40dsp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/checkasm/rv40dsp.c b/tests/checkasm/rv40dsp.c
index a1a873d430..0600b07d09 100644
--- a/tests/checkasm/rv40dsp.c
+++ b/tests/checkasm/rv40dsp.c
@@ -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