shithub: openh264

Download patch

ref: a07c7caccb8589ebb5646b66674d3adf52d50277
parent: 8829f740ad417ddffd6c60be75d464d887f4bbdc
author: Martin Storsjö <martin@martin.st>
date: Wed Sep 23 06:43:06 EDT 2020

arm: Align constants that are used with the vldr instruction

The vldr instruction requires the data to be properly aligned.

--- a/codec/decoder/core/arm/intra_pred_neon.S
+++ b/codec/decoder/core/arm/intra_pred_neon.S
@@ -126,6 +126,7 @@
 
 
 
+.align 3
 //The table for SIMD instruction {(8,7,6,5,4,3,2,1) * 5}
 CONST0_GET_I16X16_LUMA_PRED_PLANE: .long 0x191e2328, 0x050a0f14
 
--- a/codec/encoder/core/arm/intra_pred_neon.S
+++ b/codec/encoder/core/arm/intra_pred_neon.S
@@ -83,6 +83,7 @@
 WELS_ASM_FUNC_END
 
 
+.align 3
 //The table for SIMD instruction {(8,7,6,5,4,3,2,1) * 5}
 CONST0_GET_I16X16_LUMA_PRED_PLANE: .long 0x191e2328, 0x050a0f14