History

checkasm: Provide enough alignment in the new motion test

This fixes the checkasm test in some setups on x86.

Martin Storsjö committed 4 years ago

Commit 900424c1 parent 44541421 file · +2 −2Browse files

Unified · Split

tests/checkasm/motion.c+2−2
@@ -48,8 +48,8 @@ static void test_motion(const char *name, me_cmp_func test_func) · 47 unmodified lines
4848 int i, x, y, d1, d2;
4949 uint8_t *ptr;
5050
51− LOCAL_ALIGNED_8(uint8_t, img1, [WIDTH * HEIGHT]);
52− LOCAL_ALIGNED_8(uint8_t, img2, [WIDTH * HEIGHT]);
51+ LOCAL_ALIGNED_16(uint8_t, img1, [WIDTH * HEIGHT]);
52+ LOCAL_ALIGNED_16(uint8_t, img2, [WIDTH * HEIGHT]);
5353
5454 declare_func_emms(AV_CPU_FLAG_MMX, int, struct MpegEncContext *c,
5555 uint8_t *blk1 /* align width (8 or 16) */,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t