mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 21:49:06 +08:00
ac2a14f35f
Based on https://github.com/microsoft/vcpkg/pull/34814 by @LilyWangLL but tailored for RustDesk to build on arm64-ios, arm*-linux etc. Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
14 lines
647 B
Diff
14 lines
647 B
Diff
diff --git a/vp9/encoder/arm/neon/vp9_diamond_search_sad_neon.c b/vp9/encoder/arm/neon/vp9_diamond_search_sad_neon.c
|
|
index 33753f7..997775a 100644
|
|
--- a/vp9/encoder/arm/neon/vp9_diamond_search_sad_neon.c
|
|
+++ b/vp9/encoder/arm/neon/vp9_diamond_search_sad_neon.c
|
|
@@ -220,7 +220,7 @@ int vp9_diamond_search_sad_neon(const MACROBLOCK *x,
|
|
// Look up the component cost of the residual motion vector
|
|
{
|
|
uint32_t cost[4];
|
|
- int16_t __attribute__((aligned(16))) rowcol[8];
|
|
+ DECLARE_ALIGNED(16, int16_t, rowcol[8]);
|
|
vst1q_s16(rowcol, v_diff_mv_w);
|
|
|
|
// Note: This is a use case for gather instruction
|