[FFmpeg-cvslog] x86/hevc_sao: use unaligned movs for sao_{band, filter} with width 8

James Almer git at videolan.org
Mon Mar 2 00:03:47 CET 2015


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sun Mar  1 18:05:41 2015 -0300| [5c8f74708504fc214cd9d73fb3a4753f5d5b0f5e] | committer: James Almer

x86/hevc_sao: use unaligned movs for sao_{band,filter} with width 8

Suggested-by: Christophe Gisquet <christophe.gisquet at gmail.com>
Reviewed-by: Michael Niedermayer <michaelni at gmx.at>
Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5c8f74708504fc214cd9d73fb3a4753f5d5b0f5e
---

 libavcodec/x86/hevc_sao.asm |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavcodec/x86/hevc_sao.asm b/libavcodec/x86/hevc_sao.asm
index 8c2436b..86ef847 100644
--- a/libavcodec/x86/hevc_sao.asm
+++ b/libavcodec/x86/hevc_sao.asm
@@ -193,10 +193,10 @@ cglobal hevc_sao_band_filter_%2_%1, 6, 6, 15, 7*mmsize*ARCH_X86_32, dst, src, ds
 align 16
 .loop
 %if %2 == 8
-    mova              m8, [srcq]
+    movu              m8, [srcq]
     HEVC_SAO_BAND_FILTER_COMPUTE %1, m9, m8
     CLIPW             m8, m14, m13
-    mova          [dstq], m8
+    movu          [dstq], m8
 %endif
 
 %assign i 0
@@ -537,7 +537,7 @@ align 16
 
     HEVC_SAO_EDGE_FILTER_COMPUTE_10
     CLIPW             m2, m0, [pw_mask %+ %1]
-    mova          [dstq], m2
+    movu          [dstq], m2
 %endif
 
 %assign i 0



More information about the ffmpeg-cvslog mailing list