mirror of https://git.ffmpeg.org/ffmpeg.git
checkasm/sw_range_convert: only run benchmarks on largest input width
This commit is contained in:
parent
e308d09fba
commit
2c44393c01
|
@ -64,6 +64,7 @@ static void check_lumConvertRange(int from)
|
||||||
call_new(dst1, width);
|
call_new(dst1, width);
|
||||||
if (memcmp(dst0, dst1, width * sizeof(int16_t)))
|
if (memcmp(dst0, dst1, width * sizeof(int16_t)))
|
||||||
fail();
|
fail();
|
||||||
|
if (width == LARGEST_INPUT_SIZE)
|
||||||
bench_new(dst1, width);
|
bench_new(dst1, width);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -113,6 +114,7 @@ static void check_chrConvertRange(int from)
|
||||||
if (memcmp(dstU0, dstU1, width * sizeof(int16_t)) ||
|
if (memcmp(dstU0, dstU1, width * sizeof(int16_t)) ||
|
||||||
memcmp(dstV0, dstV1, width * sizeof(int16_t)))
|
memcmp(dstV0, dstV1, width * sizeof(int16_t)))
|
||||||
fail();
|
fail();
|
||||||
|
if (width == LARGEST_INPUT_SIZE)
|
||||||
bench_new(dstU1, dstV1, width);
|
bench_new(dstU1, dstV1, width);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue