This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
swscale/x86/yuv2yuvX: use the movsxdifnidn helper macro
Simplifies code Signed-off-by: James Almer <jamrial@gmail.com>
tags/n4.4
James Almer
4 years ago
parent
ebb48d85a0
commit
1a555d3c60
1 changed files
with
3 additions
and
5 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-5
libswscale/x86/yuv2yuvX.asm
+ 3
- 5
libswscale/x86/yuv2yuvX.asm
View File
@@ -40,11 +40,9 @@ cglobal yuv2yuvX, 7, 7, 8, filter, filterSize, src, dest, dstW, dither, offset
%else
%define movr movdqu
%endif
%if ARCH_X86_64
movsxd dstWq, dstWd
movsxd offsetq, offsetd
movsxd srcq, srcd
%endif ; x86-64
movsxdifnidn dstWq, dstWd
movsxdifnidn offsetq, offsetd
movsxdifnidn srcq, srcd
%if cpuflag(avx2)
vpbroadcastq m3, [ditherq]
%else
Write
Preview
Loading…
Cancel
Save