diff mbox series

[FFmpeg-devel,2/2] tests/checkasm/vvc_mc: don't zero the SAD buffers

Message ID 20240529140239.3433-2-jamrial@gmail.com
State Accepted
Commit 4008a80c1bed313fb0e6cbe5098304cb152abad0
Headers show
Series [FFmpeg-devel,1/2] tests/checkasm/vvc_mc: fix indentation | expand

Checks

Context Check Description
yinshiyou/configure_loongarch64 warning Failed to apply patch
andriy/configure_x86 warning Failed to apply patch

Commit Message

James Almer May 29, 2024, 2:02 p.m. UTC
They will be filled immediately after.

Signed-off-by: James Almer <jamrial@gmail.com>
---
 tests/checkasm/vvc_mc.c | 3 ---
 1 file changed, 3 deletions(-)

Comments

Nuo Mi May 31, 2024, 12:07 p.m. UTC | #1
On Wed, May 29, 2024 at 10:03 PM James Almer <jamrial@gmail.com> wrote:

> They will be filled immediately after.
>
Pushed.
thank you, James

>
> Signed-off-by: James Almer <jamrial@gmail.com>
> ---
>  tests/checkasm/vvc_mc.c | 3 ---
>  1 file changed, 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) {
> --
> 2.45.1
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
>
diff mbox series

Patch

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) {