aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/arm
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2017-02-26 22:13:10 +0200
committerMartin Storsjö <martin@martin.st>2017-03-11 22:07:30 +0200
commit3a0d5e206d24d41d87a25ba16a79b2ea04c39d4c (patch)
treebe179db179c629e222bf38142a124d30b6eb9325 /libavcodec/arm
parent98ee855ae0cc118bd1d20921d6bdb14731832462 (diff)
downloadffmpeg-3a0d5e206d24d41d87a25ba16a79b2ea04c39d4c.tar.gz
arm/aarch64: vp9itxfm: Skip loading the min_eob pointer when it won't be used
In the half/quarter cases where we don't use the min_eob array, defer loading the pointer until we know it will be needed. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/arm')
-rw-r--r--libavcodec/arm/vp9itxfm_neon.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/arm/vp9itxfm_neon.S b/libavcodec/arm/vp9itxfm_neon.S
index 49c4e171ce..ab9433ff0f 100644
--- a/libavcodec/arm/vp9itxfm_neon.S
+++ b/libavcodec/arm/vp9itxfm_neon.S
@@ -889,8 +889,6 @@ function ff_vp9_\txfm1\()_\txfm2\()_16x16_add_neon, export=1
push {r4-r8,lr}
.ifnc \txfm1\()_\txfm2,idct_idct
vpush {q4-q7}
-.else
- movrel r8, min_eob_idct_idct_16 + 2
.endif
@ Align the stack, allocate a temp buffer
@@ -914,6 +912,8 @@ A and r7, sp, #15
ble idct16x16_quarter_add_neon
cmp r3, #38
ble idct16x16_half_add_neon
+
+ movrel r8, min_eob_idct_idct_16 + 2
.endif
.irp i, 0, 4, 8, 12