dirac; dirac_hpel_filter_h does currently not receive aligned data thus use unaligned accesses.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
f0d616e76f
commit
5f34092b13
@ -94,7 +94,7 @@ cglobal dirac_hpel_filter_h_%1, 3,3,8, dst, src, width
|
|||||||
and widthd, ~(mmsize-1)
|
and widthd, ~(mmsize-1)
|
||||||
.loop:
|
.loop:
|
||||||
; 7*(src[0] + src[1])
|
; 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 m0, [pw_7]
|
||||||
pmullw m1, [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 m0, 5
|
||||||
psraw m1, 5
|
psraw m1, 5
|
||||||
packuswb m0, m1
|
packuswb m0, m1
|
||||||
mova [dstq + widthq], m0
|
movu [dstq + widthq], m0
|
||||||
sub widthd, mmsize
|
sub widthd, mmsize
|
||||||
jge .loop
|
jge .loop
|
||||||
RET
|
RET
|
||||||
|
Loading…
x
Reference in New Issue
Block a user