Ticket #7226: 11_fix_vf_blend_unaligned_test.patch
| File 11_fix_vf_blend_unaligned_test.patch, 1.1 KB (added by , 8 years ago) |
|---|
-
tests/checkasm/vf_blend.c
https://trac.ffmpeg.org/ticket/7226
old new 71 71 w = WIDTH / depth; \ 72 72 \ 73 73 for (i = 0; i < BUF_UNITS - 1; i++) { \ 74 int src_offset = i * SIZE_PER_UNIT + i; /* Test various alignments */\74 int src_offset = i * SIZE_PER_UNIT + (BUF_UNITS - 1 - i) * depth; /* Test various alignments */ \ 75 75 int dst_offset = i * SIZE_PER_UNIT; /* dst must be aligned */ \ 76 76 randomize_buffers(); \ 77 77 call_ref(top1 + src_offset, w, bot1 + src_offset, w, \
