[FFmpeg-cvslog] dirac; dirac_hpel_filter_h 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:08 2011 +0100| [5f34092b132649f595e5e45bbf99d290ba33074c] | committer: Michael Niedermayer

dirac; dirac_hpel_filter_h 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=5f34092b132649f595e5e45bbf99d290ba33074c
---

 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 e71da80..bbe8512 100644
--- a/libavcodec/x86/diracdsp_yasm.asm
+++ b/libavcodec/x86/diracdsp_yasm.asm
@@ -94,7 +94,7 @@ cglobal dirac_hpel_filter_h_%1, 3,3,8, dst, src, width
     and     widthd, ~(mmsize-1)
 .loop:
     ; 7*(src[0] + src[1])
-    UNPACK_ADD m0, m1, [srcq + widthq], [srcq + widthq + 1], a,u
+    UNPACK_ADD m0, m1, [srcq + widthq], [srcq + widthq + 1], u,u
     pmullw  m0, [pw_7]
     pmullw  m1, [pw_7]
 
@@ -122,7 +122,7 @@ cglobal dirac_hpel_filter_h_%1, 3,3,8, dst, src, width
     psraw   m0, 5
     psraw   m1, 5
     packuswb m0, m1
-    mova    [dstq + widthq], m0
+    movu    [dstq + widthq], m0
     sub     widthd, mmsize
     jge     .loop
     RET



More information about the ffmpeg-cvslog mailing list