aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2024-05-29 11:02:39 -0300
committerNuo Mi <nuomi2021@gmail.com>2024-05-31 20:05:21 +0800
commit4008a80c1bed313fb0e6cbe5098304cb152abad0 (patch)
treeee0ebec3d885bada1c907ff0231eefdd040eae39 /tests
parentb70289f35446ce79c25255a60bd91db69584c353 (diff)
downloadffmpeg-4008a80c1bed313fb0e6cbe5098304cb152abad0.tar.gz
tests/checkasm/vvc_mc: don't zero the SAD buffers
They will be filled immediately after. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/checkasm/vvc_mc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/checkasm/vvc_mc.c b/tests/checkasm/vvc_mc.c
index 40be837d68..bc6b580f42 100644
--- a/tests/checkasm/vvc_mc.c
+++ b/tests/checkasm/vvc_mc.c
@@ -333,9 +333,6 @@ static void check_vvc_sad(void)
declare_func(int, const int16_t *src0, const int16_t *src1, int dx, int dy, int block_w, int block_h);
ff_vvc_dsp_init(&c, bit_depth);
- memset(src0, 0, MAX_CTU_SIZE * MAX_CTU_SIZE * 4 * sizeof(uint16_t));
- memset(src1, 0, MAX_CTU_SIZE * MAX_CTU_SIZE * 4 * sizeof(uint16_t));
-
randomize_pixels(src0, src1, MAX_CTU_SIZE * MAX_CTU_SIZE * 4);
for (int h = 8; h <= 16; h *= 2) {
for (int w = 8; w <= 16; w *= 2) {