[FFmpeg-cvslog] diracdec: obmc accesses arent aligned for all files.
Michael Niedermayer
git at videolan.org
Wed Nov 16 00:23:32 CET 2011
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Nov 15 23:37:40 2011 +0100| [7776091b9f8af51750b27bacd5a50e35fa3930ea] | committer: Michael Niedermayer
diracdec: obmc accesses arent aligned for all files.
Thus use unaligned accesses.
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7776091b9f8af51750b27bacd5a50e35fa3930ea
---
libavcodec/x86/diracdsp_yasm.asm | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/libavcodec/x86/diracdsp_yasm.asm b/libavcodec/x86/diracdsp_yasm.asm
index 36aad53..4c5a5d7 100644
--- a/libavcodec/x86/diracdsp_yasm.asm
+++ b/libavcodec/x86/diracdsp_yasm.asm
@@ -224,12 +224,12 @@ cglobal add_dirac_obmc%1_%2, 6,6,5, dst, src, stride, obmc, yblen
punpckhbw m3, m4
pmullw m0, m2
pmullw m1, m3
- mova m2, [dstq+2*i]
- mova m3, [dstq+2*i+mmsize]
+ movu m2, [dstq+2*i]
+ movu m3, [dstq+2*i+mmsize]
paddw m0, m2
paddw m1, m3
- mova [dstq+2*i], m0
- mova [dstq+2*i+mmsize], m1
+ movu [dstq+2*i], m0
+ movu [dstq+2*i+mmsize], m1
%assign i i+mmsize
%endrep
lea srcq, [srcq+strideq]
More information about the ffmpeg-cvslog
mailing list