History

Refine code style.

zhiliang wang committed 12 years ago

Commit 79328451 parent de624c01 file · +6 −6Browse files

Showing the changes to codec/processing/src (1 of 1 file). Show all

Unified · Split

codec/processing/src/arm64/vaa_calc_aarch64_neon.S+6−6
@@ -35,14 +35,14 @@ · 34 unmodified lines
35#include "arm_arch64_common_macro.S"35#include "arm_arch64_common_macro.S"
36 36
37#ifdef __APPLE__37#ifdef __APPLE__
38.macro ABS_SUB_SUM_16BYTES 38.macro ABS_SUB_SUM_16BYTES
39 ld1 {v0.16b}, [x0], x439 ld1 {v0.16b}, [x0], x4
40 ld1 {v1.16b}, [x1], x440 ld1 {v1.16b}, [x1], x4
41 uabal $0, v0.8b, v1.8b41 uabal $0, v0.8b, v1.8b
42 uabal2 $1, v0.16b,v1.16b42 uabal2 $1, v0.16b,v1.16b
43.endm43.endm
44 44
45.macro ABS_SUB_SUM_8x16BYTES 45.macro ABS_SUB_SUM_8x16BYTES
46 ld1 {v0.16b}, [x0], x446 ld1 {v0.16b}, [x0], x4
47 ld1 {v1.16b}, [x1], x447 ld1 {v1.16b}, [x1], x4
48 uabdl $0, v0.8b, v1.8b48 uabdl $0, v0.8b, v1.8b
@@ -64,7 +64,7 @@ · 15 unmodified lines
64 uabal2 \arg1, v0.16b,v1.16b64 uabal2 \arg1, v0.16b,v1.16b
65.endm65.endm
66 66
67.macro ABS_SUB_SUM_8x16BYTES 67.macro ABS_SUB_SUM_8x16BYTES arg0, arg1
68 ld1 {v0.16b}, [x0], x468 ld1 {v0.16b}, [x0], x4
69 ld1 {v1.16b}, [x1], x469 ld1 {v1.16b}, [x1], x4
70 uabdl \arg0, v0.8b, v1.8b70 uabdl \arg0, v0.8b, v1.8b
@@ -80,7 +80,7 @@ · 9 unmodified lines
80#endif80#endif
81 81
82/*82/*
83 * void vaa_calc_sad_neon(uint8_t *cur_data, uint8_t *ref_data, int32_t pic_width, int32_t pic_height, int32_t pic_stride, 83 * void vaa_calc_sad_neon(uint8_t *cur_data, uint8_t *ref_data, int32_t pic_width, int32_t pic_height, int32_t pic_stride,
84 * int32_t *psadframe, int32_t *psad8x8)84 * int32_t *psadframe, int32_t *psad8x8)
85 */85 */
86WELS_ASM_AARCH64_FUNC_BEGIN VAACalcSad_AArch64_neon86WELS_ASM_AARCH64_FUNC_BEGIN VAACalcSad_AArch64_neon
@@ -136,7 +136,7 @@ WELS_ASM_AARCH64_FUNC_END · 49 unmodified lines
136.endr136.endr
137.endm137.endm
138/*138/*
139 * void vaa_calc_sad_bgd_neon(uint8_t *cur_data, uint8_t *ref_data, int32_t pic_width, int32_t pic_height, int32_t pic_stride, 139 * void vaa_calc_sad_bgd_neon(uint8_t *cur_data, uint8_t *ref_data, int32_t pic_width, int32_t pic_height, int32_t pic_stride,
140 * int32_t *psadframe, int32_t *psad8x8, int32_t *p_sd8x8, uint8_t *p_mad8x8)140 * int32_t *psadframe, int32_t *psad8x8, int32_t *p_sd8x8, uint8_t *p_mad8x8)
141 */141 */
142WELS_ASM_AARCH64_FUNC_BEGIN VAACalcSadBgd_AArch64_neon142WELS_ASM_AARCH64_FUNC_BEGIN VAACalcSadBgd_AArch64_neon
@@ -274,7 +274,7 @@ WELS_ASM_AARCH64_FUNC_END · 131 unmodified lines
274.endm274.endm
275 275
276/*276/*
277 * void vaa_calc_sad_ssd_bgd_c(uint8_t *cur_data, uint8_t *ref_data, int32_t pic_width, int32_t pic_height, int32_t pic_stride, 277 * void vaa_calc_sad_ssd_bgd_c(uint8_t *cur_data, uint8_t *ref_data, int32_t pic_width, int32_t pic_height, int32_t pic_stride,
278 * int32_t *psadframe,int32_t *psad8x8, int32_t *psum16x16, int32_t *psqsum16x16, int32_t *psqdiff16x16, int32_t *p_sd8x8, uint8_t *p_mad8x8)278 * int32_t *psadframe,int32_t *psad8x8, int32_t *psum16x16, int32_t *psqsum16x16, int32_t *psqdiff16x16, int32_t *p_sd8x8, uint8_t *p_mad8x8)
279 */279 */
280WELS_ASM_AARCH64_FUNC_BEGIN VAACalcSadSsdBgd_AArch64_neon280WELS_ASM_AARCH64_FUNC_BEGIN VAACalcSadSsdBgd_AArch64_neon

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t