1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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

This is cherrypicked from libav commit
4da4b2b87f.

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Martin Storsjö 2017-01-03 16:39:41 +02:00
parent 1d8ab576a7
commit 3006e5253a

View File

@ -379,12 +379,11 @@ function ff_vp9_\txfm1\()_\txfm2\()_8x8_add_neon, export=1
// idct, so those always need to be loaded. // idct, so those always need to be loaded.
.ifc \txfm1\()_\txfm2,idct_idct .ifc \txfm1\()_\txfm2,idct_idct
movrel x4, idct_coeffs movrel x4, idct_coeffs
ld1 {v0.8h}, [x4]
.else .else
movrel x4, iadst8_coeffs movrel x4, iadst8_coeffs
ld1 {v1.8h}, [x4], #16 ld1 {v1.8h}, [x4], #16
ld1 {v0.8h}, [x4]
.endif .endif
ld1 {v0.8h}, [x4]
movi v2.16b, #0 movi v2.16b, #0
movi v3.16b, #0 movi v3.16b, #0