mirror of https://git.ffmpeg.org/ffmpeg.git
x86/vf_v360: use a faster horizontal add in remap4_8bit_line_avx2
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
2200cf1aca
commit
4857688732
|
@ -130,14 +130,11 @@ cglobal remap4_8bit_line, 7, 9, 11, dst, width, src, in_linesize, u, v, ker, x,
|
|||
pmulld m4, m5
|
||||
|
||||
paddd m2, m4
|
||||
vextracti128 xm1, m2, 1
|
||||
paddd m1, m2
|
||||
phaddd m1, m1
|
||||
phaddd m1, m1
|
||||
psrld m1, m1, 0xe
|
||||
packuswb m1, m1
|
||||
HADDD m2, m1
|
||||
psrld m2, m2, 0xe
|
||||
packuswb m2, m2
|
||||
|
||||
pextrb [dstq+xq], xm1, 0
|
||||
pextrb [dstq+xq], xm2, 0
|
||||
|
||||
add xq, 1
|
||||
add yq, 32
|
||||
|
|
Loading…
Reference in New Issue