aboutsummaryrefslogtreecommitdiff
path: root/simd/arm/common/jcsample-neon.c
diff options
context:
space:
mode:
Diffstat (limited to 'simd/arm/common/jcsample-neon.c')
-rw-r--r--simd/arm/common/jcsample-neon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/simd/arm/common/jcsample-neon.c b/simd/arm/common/jcsample-neon.c
index ff989dc6..a5ddf165 100644
--- a/simd/arm/common/jcsample-neon.c
+++ b/simd/arm/common/jcsample-neon.c
@@ -21,6 +21,7 @@
*/
#define JPEG_INTERNALS
+#include "../../../jconfigint.h"
#include "../../../jinclude.h"
#include "../../../jpeglib.h"
#include "../../../jsimd.h"
@@ -31,7 +32,7 @@
#include <arm_neon.h>
-static const uint8_t jsimd_h2_downsample_consts[] = {
+ALIGN(16) static const uint8_t jsimd_h2_downsample_consts[] = {
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, /* Pad 0 */
0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, /* Pad 1 */