ref: 7d3bb19bede84d39b11e880de88f79a746d365f5
parent: db750af8686c4a93aeccc0c83d1e2c0b0a4beade
author: Martin Storsjö <[email protected]>
date: Mon Apr 27 09:44:14 EDT 2015
Fix up indentation in some arm assembly files
--- a/codec/common/arm64/mc_aarch64_neon.S
+++ b/codec/common/arm64/mc_aarch64_neon.S
@@ -205,7 +205,7 @@
sqrshrun \arg0\().2s, \arg0\().2d, #10
uqxtn \arg0\().4h, \arg0\().4s
uqxtn \arg0\().8b, \arg0\().8h
- // }
+ // }
.endm
//(const uint8_t* pSrc {x0}, int32_t iSrcStride{x1}, uint8_t* pDst{x2}, int32_t iDstStride{x3}, int32_t iHeight{x4})
--- a/codec/encoder/core/arm/svc_motion_estimation.S
+++ b/codec/encoder/core/arm/svc_motion_estimation.S
@@ -72,8 +72,8 @@
WELS_ASM_FUNC_BEGIN SumOf8x8BlockOfFrame_neon
//(uint8_t* pRefPicture, const int32_t kiWidth, const int32_t kiHeight,const int32_t kiRefStride,uint16_t* pFeatureOfBlock, uint32_t pTimesOfFeatureValue[])
stmdb sp!, {r4-r12}
- ldr r5, [sp, #40] //pTimesOfFeatureValue
- ldr r4, [sp, #36] //pFeatureOfBlock
+ ldr r5, [sp, #40] //pTimesOfFeatureValue
+ ldr r4, [sp, #36] //pFeatureOfBlock
mov r8, r0
mov r6, r1
@@ -158,8 +158,8 @@
WELS_ASM_FUNC_BEGIN SumOf16x16BlockOfFrame_neon
//(uint8_t* pRefPicture, const int32_t kiWidth, const int32_t kiHeight,const int32_t kiRefStride,uint16_t* pFeatureOfBlock, uint32_t pTimesOfFeatureValue[])
stmdb sp!, {r4-r12}
- ldr r5, [sp, #40] //pTimesOfFeatureValue
- ldr r4, [sp, #36] //pFeatureOfBlock
+ ldr r5, [sp, #40] //pTimesOfFeatureValue
+ ldr r4, [sp, #36] //pFeatureOfBlock
mov r8, r0
mov r6, r1
@@ -238,7 +238,7 @@
WELS_ASM_FUNC_BEGIN InitializeHashforFeature_neon
// (uint32_t* pTimesOfFeatureValue, uint16_t* pBuf, const int32_t kiListSize, uint16_t** pLocationOfFeature, uint16_t** pFeatureValuePointerList);
stmdb sp!, {r4-r7}
- ldr r4, [sp, #16] //pFeatureValuePointerList
+ ldr r4, [sp, #16] //pFeatureValuePointerList
bic r5, r2, #3
_hash_assign_loop_x4:
vld1.64 {q0}, [r0]!
@@ -272,8 +272,8 @@
vst1.64 {q2}, [r4]!
_assign_next:
- subs r5, r5, #4
- bne _hash_assign_loop_x4
+ subs r5, r5, #4
+ bne _hash_assign_loop_x4
and r5, r2, #3
cmp r5, #0
@@ -299,7 +299,7 @@
WELS_ASM_FUNC_BEGIN FillQpelLocationByFeatureValue_neon
// void (uint16_t* pFeatureOfBlock, const int32_t kiWidth, const int32_t kiHeight, uint16_t** pFeatureValuePointerList)
stmdb sp!, {r4-r8}
- vpush {q4-q7}
+ vpush {q4-q7}
adr r7, mv_x_inc_x4
vld1.64 {q7}, [r7]
adr r7, mv_y_inc_x4
@@ -360,7 +360,7 @@
subs r2, #1
bne _hash_height_loop
- vpop {q4-q7}
+ vpop {q4-q7}
ldmia sp!, {r4-r8}
WELS_ASM_FUNC_END
#endif
--- a/codec/encoder/core/arm64/svc_motion_estimation_aarch64_neon.S
+++ b/codec/encoder/core/arm64/svc_motion_estimation_aarch64_neon.S
@@ -251,8 +251,8 @@
st1 {v2.16b, v3.16b}, [x4], #32
_assign_next:
- subs x5, x5, #4
- cbnz x5, _hash_assign_loop_x4
+ subs x5, x5, #4
+ cbnz x5, _hash_assign_loop_x4
and x5, x2, x9
cbz x5, _hash_assign_end