summaryrefslogtreecommitdiff
path: root/libavcodec/arm/vp9itxfm_neon.S
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2017-01-10 00:15:14 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2017-01-14 21:13:27 +0100
commitecd343aa1ffbbfddac937b708d111c88159ee5f9 (patch)
tree5ee4191481a3df24a65f554129795c1da142a6fd /libavcodec/arm/vp9itxfm_neon.S
parent37cb224e3e65b92eb6d77f1a788d882fbee972c3 (diff)
arm: vp9itxfm: Only reload the idct coeffs for the iadst_idct combination
This avoids reloading them if they haven't been clobbered, if the first pass also was idct. This is similar to what was done in the aarch64 version. This is cherrypicked from libav commit 3c87039a404c5659ae9bf7454a04e186532eb40b. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/arm/vp9itxfm_neon.S')
-rw-r--r--libavcodec/arm/vp9itxfm_neon.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/arm/vp9itxfm_neon.S b/libavcodec/arm/vp9itxfm_neon.S
index 0097f5ff96..d5b849509e 100644
--- a/libavcodec/arm/vp9itxfm_neon.S
+++ b/libavcodec/arm/vp9itxfm_neon.S
@@ -814,7 +814,7 @@ A and r7, sp, #15
mov r3, #\i
bl \txfm1\()16_1d_4x16_pass1_neon
.endr
-.ifc \txfm2,idct
+.ifc \txfm1\()_\txfm2,iadst_idct
movrel r12, idct_coeffs
vld1.16 {q0-q1}, [r12,:128]
.endif