[FFmpeg-cvslog] dirac: put_signed_rect_clamped does currently not receive aligned data, thus use unaligned accesses.

Michael Niedermayer git at videolan.org
Sun Oct 30 23:57:39 CET 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Oct 30 23:25:49 2011 +0100| [d532e9223e772fee38d3e4f0955599496886c385] | committer: Michael Niedermayer

dirac: put_signed_rect_clamped does currently not receive aligned data, thus use unaligned accesses.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavcodec/x86/diracdsp_yasm.asm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/x86/diracdsp_yasm.asm b/libavcodec/x86/diracdsp_yasm.asm
index bbe8512..fde7742 100644
--- a/libavcodec/x86/diracdsp_yasm.asm
+++ b/libavcodec/x86/diracdsp_yasm.asm
@@ -157,8 +157,8 @@ cglobal put_signed_rect_clamped_%1, 5,7,3, dst, dst_stride, src, src_stride, w,
     packsswb m2, [src2q+2*wq+mmsize]
     paddb    m1, m0
     paddb    m2, m0
-    mova    [dstq +wq], m1
-    mova    [dst2q+wq], m2
+    movu    [dstq +wq], m1
+    movu    [dst2q+wq], m2
     jg      .loopx
 
     lea   srcq, [srcq+src_strideq*4]



More information about the ffmpeg-cvslog mailing list