[vlc-commits] deinterlace: remove duplicated instruction in arm64 NEON merge asm

Janne Grunau git at videolan.org
Thu Oct 13 11:07:22 CEST 2016


vlc | branch: master | Janne Grunau <janne-vlc at jannau.net> | Thu Oct 13 01:03:18 2016 +0200| [43832e52f751cc442cf4860876e01d97e432dc47] | committer: Jean-Baptiste Kempf

deinterlace: remove duplicated instruction in arm64 NEON merge asm

The duplicated instruction calculates wrong results for the
first 16 pixel of every 64 pixels for 8 bits per pixel formats.

Refs #17486

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=43832e52f751cc442cf4860876e01d97e432dc47
---

 modules/video_filter/deinterlace/merge_arm64.S | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/video_filter/deinterlace/merge_arm64.S b/modules/video_filter/deinterlace/merge_arm64.S
index ad898a3..827d6f5 100644
--- a/modules/video_filter/deinterlace/merge_arm64.S
+++ b/modules/video_filter/deinterlace/merge_arm64.S
@@ -43,7 +43,6 @@ merge8_arm64_neon:
 	uhadd		v0.16b, v0.16b, v4.16b
 	ld1		{v6.16b,v7.16b}, [x12], x10
 	subs		x5,  x5,  #64
-	uhadd		v0.16b, v0.16b, v4.16b
 	uhadd		v1.16b, v1.16b, v5.16b
 	uhadd		v2.16b, v2.16b, v6.16b
 	uhadd		v3.16b, v3.16b, v7.16b



More information about the vlc-commits mailing list