diff options
author | Martin Storsjö <martin@martin.st> | 2017-12-11 22:25:16 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2017-12-12 11:36:38 +0200 |
commit | 18a0f420269ff4c730422361c5c4d8eea096e900 (patch) | |
tree | 8fb4f81863995557861bfe9edaa42de3c154921a /tests/checkasm | |
parent | 7993ec19af394fdc58ec64165bc0b12619543a5d (diff) | |
download | ffmpeg-streaming-18a0f420269ff4c730422361c5c4d8eea096e900.zip ffmpeg-streaming-18a0f420269ff4c730422361c5c4d8eea096e900.tar.gz |
checkasm: Use LOCAL_ALIGNED for aligned variables on the stack
This fixes fate-checkasm-hevc_mc on ARMCC 5.0 after adding
NEON HEVC MC assembly.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'tests/checkasm')
-rw-r--r-- | tests/checkasm/hevc_mc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/checkasm/hevc_mc.c b/tests/checkasm/hevc_mc.c index 70f35ce..c3fbfeb 100644 --- a/tests/checkasm/hevc_mc.c +++ b/tests/checkasm/hevc_mc.c @@ -291,13 +291,13 @@ static void check_qpel(HEVCDSPContext *h, int16_t *dst0, int16_t *dst1, void checkasm_check_hevc_mc(void) { - DECLARE_ALIGNED(16, uint8_t, buf8_0)[BUF_SIZE]; - DECLARE_ALIGNED(16, uint8_t, buf8_1)[BUF_SIZE]; + LOCAL_ALIGNED(16, uint8_t, buf8_0, [BUF_SIZE]); + LOCAL_ALIGNED(16, uint8_t, buf8_1, [BUF_SIZE]); - DECLARE_ALIGNED(16, int16_t, buf16_0)[BUF_SIZE]; - DECLARE_ALIGNED(16, int16_t, buf16_1)[BUF_SIZE]; + LOCAL_ALIGNED(16, int16_t, buf16_0, [BUF_SIZE]); + LOCAL_ALIGNED(16, int16_t, buf16_1, [BUF_SIZE]); - DECLARE_ALIGNED(16, int16_t, mcbuffer)[BUF_SIZE]; + LOCAL_ALIGNED(16, int16_t, mcbuffer, [BUF_SIZE]); HEVCDSPContext h; int bit_depth; |