You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
x86util: Extend SPLATW for avx2
Integration to Libav by Josh de Kock <josh@itanimul.li>. Signed-off-by: Alexandra Hájková <alexandra@khirnov.net>
This commit is contained in:
committed by
Luca Barbato
parent
37961044c6
commit
fd5e6a095f
@@ -552,7 +552,9 @@
|
|||||||
%endmacro
|
%endmacro
|
||||||
|
|
||||||
%macro SPLATW 2-3 0
|
%macro SPLATW 2-3 0
|
||||||
%if mmsize == 16
|
%if cpuflag(avx2) && %3 == 0
|
||||||
|
vpbroadcastw %1, %2
|
||||||
|
%elif mmsize == 16
|
||||||
pshuflw %1, %2, (%3)*0x55
|
pshuflw %1, %2, (%3)*0x55
|
||||||
punpcklqdq %1, %1
|
punpcklqdq %1, %1
|
||||||
%elif cpuflag(mmxext)
|
%elif cpuflag(mmxext)
|
||||||
|
Reference in New Issue
Block a user