summaryrefslogtreecommitdiff
path: root/tests/checkasm
diff options
context:
space:
mode:
authorMatthieu Patou <mpatou@fb.com>2021-01-22 16:10:26 -0800
committerJames Almer <jamrial@gmail.com>2021-06-08 13:11:22 -0300
commitb27ae2c0b704e83f950980102bc3f12f9ec17cb0 (patch)
tree76a81e23f3ca72cbc71806597dfdb925c529e8a6 /tests/checkasm
parent4a3917c02c428b11128ac3d4a01b780ea44aa53c (diff)
checkasm/vp9dsp: rename the iszero function to is_zero
Suggested-by: ffmpeg@fb.com Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests/checkasm')
-rw-r--r--tests/checkasm/vp9dsp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/checkasm/vp9dsp.c b/tests/checkasm/vp9dsp.c
index 99c023899f..44b02d60a2 100644
--- a/tests/checkasm/vp9dsp.c
+++ b/tests/checkasm/vp9dsp.c
@@ -294,7 +294,7 @@ static int copy_subcoefs(int16_t *out, const int16_t *in, enum TxfmMode tx,
return eob;
}
-static int iszero(const int16_t *c, int sz)
+static int is_zero(const int16_t *c, int sz)
{
int n;
@@ -362,8 +362,8 @@ static void check_itxfm(void)
call_ref(dst0, sz * SIZEOF_PIXEL, subcoef0, eob);
call_new(dst1, sz * SIZEOF_PIXEL, subcoef1, eob);
if (memcmp(dst0, dst1, sz * sz * SIZEOF_PIXEL) ||
- !iszero(subcoef0, sz * sz * SIZEOF_COEF) ||
- !iszero(subcoef1, sz * sz * SIZEOF_COEF))
+ !is_zero(subcoef0, sz * sz * SIZEOF_COEF) ||
+ !is_zero(subcoef1, sz * sz * SIZEOF_COEF))
fail();
bench_new(dst, sz * SIZEOF_PIXEL, coef, eob);