arm: vp9itxfm: Share instructions for loading idct coeffs in the 8x8 function

This is cherrypicked from libav commit
3933b86bb9.

Signed-off-by: Martin Storsjö <martin@martin.st>
pull/244/merge
Martin Storsjö 8 years ago
parent 9532a7d4d0
commit 1d8ab576a7
  1. 3
      libavcodec/arm/vp9itxfm_neon.S

@ -412,13 +412,12 @@ function ff_vp9_\txfm1\()_\txfm2\()_8x8_add_neon, export=1
.ifc \txfm1\()_\txfm2,idct_idct
movrel r12, idct_coeffs
vpush {q4-q5}
vld1.16 {q0}, [r12,:128]
.else
movrel r12, iadst8_coeffs
vld1.16 {q1}, [r12,:128]!
vpush {q4-q7}
vld1.16 {q0}, [r12,:128]
.endif
vld1.16 {q0}, [r12,:128]
vmov.i16 q2, #0
vmov.i16 q3, #0

Loading…
Cancel
Save