1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

diracdec: obmc accesses arent aligned for all files.

Thus use unaligned accesses.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2011-11-15 23:37:40 +01:00
parent d5e1244ca7
commit 7776091b9f

View File

@ -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]