Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Commit

Permalink
resolved conflicts for merge of 0fa7bb8 to mnc-dev-plus-aosp
Browse files Browse the repository at this point in the history
Change-Id: I5aee0816a8ab0d531df88bffd70c6c91e07ebdfb
  • Loading branch information
chih-hung committed Aug 19, 2015
2 parents 9f3436c + 0fa7bb8 commit 01ce4e0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 17 deletions.
3 changes: 0 additions & 3 deletions Android.mk
Expand Up @@ -15,9 +15,6 @@ LOCAL_SRC_FILES := \

LOCAL_SRC_FILES_arm += armv6_idct.S

# jsimd_arm_neon.S does not compile with clang.
LOCAL_CLANG_ASFLAGS_arm += -no-integrated-as

ifneq (,$(TARGET_BUILD_APPS))
# unbundled branch, built against NDK.
LOCAL_SDK_VERSION := 17
Expand Down
17 changes: 8 additions & 9 deletions armv6_idct.S
Expand Up @@ -61,10 +61,10 @@

// void armv6_idct(short *coefs, int *quans, unsigned char *rows, int col)
.arm
.syntax unified
.text
.align
.global armv6_idct
.func armv6_idct

armv6_idct:
// Push everything except sp (r13) and pc (r15).
Expand Down Expand Up @@ -97,9 +97,9 @@ pass1_head:

// Check if ACs are all zero.
cmp r0, #0
orreqs r8, r1, r2
orreqs r8, r3, r5
orreqs r8, r6, r7
orrseq r8, r1, r2
orrseq r8, r3, r5
orrseq r8, r6, r7
beq pass1_zero

// Step 1: Dequantizations.
Expand Down Expand Up @@ -128,8 +128,8 @@ pass1_head:
mla r1, r10, r1, r7
mla r3, r11, r3, r5

// Load constants.
ldrd r10, constants
// Load constants to r10, r11.
ldrd r10, r11, constants

// Step 2: Rotations and Butterflies.

Expand Down Expand Up @@ -230,8 +230,8 @@ pass1_tail:
ldr r12, [sp, #256]
ldr r14, [sp, #260]

// Load constants.
ldrd r10, constants
// Load constants to r10, r11.
ldrd r10, r11, constants

pass2_head:
// Load coefficients. (c[0, 1, 2, 3, 4, 5, 6, 7])
Expand Down Expand Up @@ -355,4 +355,3 @@ pass2_tail:

ldmia sp!, {r4, r5, r6, r7, r8, r9, r10, r11, r12, r14}
bx lr
.endfunc
5 changes: 0 additions & 5 deletions jsimd_arm_neon.S
Expand Up @@ -67,7 +67,6 @@

/* Supplementary macro for setting function attributes */
.macro asm_function fname
.func \fname
.global \fname
#ifdef __ELF__
.hidden \fname
Expand Down Expand Up @@ -278,7 +277,6 @@ asm_function jsimd_idct_ifast_neon
.unreq OUTPUT_BUF
.unreq OUTPUT_COL
.unreq TMP
.endfunc

.purgem idct_helper

Expand Down Expand Up @@ -493,7 +491,6 @@ asm_function jsimd_idct_4x4_neon
.unreq TMP2
.unreq TMP3
.unreq TMP4
.endfunc

.purgem idct_helper

Expand Down Expand Up @@ -641,7 +638,6 @@ asm_function jsimd_idct_2x2_neon
.unreq OUTPUT_COL
.unreq TMP1
.unreq TMP2
.endfunc

.purgem idct_helper

Expand Down Expand Up @@ -896,7 +892,6 @@ asm_function jsimd_ycc_\colorid\()_convert_neon
.unreq U
.unreq V
.unreq N
.endfunc

.purgem do_yuv_to_rgb

Expand Down

0 comments on commit 01ce4e0

Please sign in to comment.