Commit b27ae2c0 authored by Matthieu Patou's avatar Matthieu Patou Committed by James Almer

checkasm/vp9dsp: rename the iszero function to is_zero

Suggested-by: ffmpeg@fb.com
Reviewed-by: 's avatarRonald S. Bultje <rsbultje@gmail.com>
Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent 4a3917c0
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment