1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

checkasm/v210enc: test the entire width of 10-bit planar input arrays

This commit is contained in:
James Darnley 2022-11-08 17:46:49 +01:00
parent 45ab5307a6
commit cfd1c3c0a1

View File

@ -72,8 +72,10 @@
randomize_buffers(mask); \ randomize_buffers(mask); \
call_ref(y0 + y_offset, u0 + uv_offset, v0 + uv_offset, dst0, width); \ call_ref(y0 + y_offset, u0 + uv_offset, v0 + uv_offset, dst0, width); \
call_new(y1 + y_offset, u1 + uv_offset, v1 + uv_offset, dst1, width); \ call_new(y1 + y_offset, u1 + uv_offset, v1 + uv_offset, dst1, width); \
if (memcmp(y0, y1, BUF_SIZE) || memcmp(u0, u1, BUF_SIZE / 2) || \ if (memcmp(y0, y1, BUF_SIZE * sizeof(type)) \
memcmp(v0, v1, BUF_SIZE / 2) || memcmp(dst0, dst1, width * 8 / 3)) \ || memcmp(u0, u1, BUF_SIZE * sizeof(type) / 2) \
|| memcmp(v0, v1, BUF_SIZE * sizeof(type) / 2) \
|| memcmp(dst0, dst1, width * 8 / 3)) \
fail(); \ fail(); \
bench_new(y1 + y_offset, u1 + uv_offset, v1 + uv_offset, dst1, width); \ bench_new(y1 + y_offset, u1 + uv_offset, v1 + uv_offset, dst1, width); \
} \ } \