Skip to content
Snippets Groups Projects
Commit 7776091b authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

diracdec: obmc accesses arent aligned for all files.

Thus use unaligned accesses.

Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent d5e1244c
No related branches found
No related tags found
No related merge requests found
......@@ -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]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment