diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-11-16 02:37:40 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-11-16 02:37:40 +0400 |
commit | 7776091b9f8af51750b27bacd5a50e35fa3930ea (patch) | |
tree | 320af735733a1e1f335225e74596a5ca20a4827b /libavcodec/x86/diracdsp_yasm.asm | |
parent | d5e1244ca7731820639849924c77e65eeaea5089 (diff) |
diracdec: obmc accesses arent aligned for all files.
Thus use unaligned accesses.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/x86/diracdsp_yasm.asm')
-rw-r--r-- | 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 36aad53470..4c5a5d7c3a 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] |