aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/x86util.asm
diff options
context:
space:
mode:
authorJason Garrett-Glaser <jason@x264.com>2011-05-10 08:55:12 -0700
committerJason Garrett-Glaser <jason@x264.com>2011-05-10 20:02:15 -0700
commit9f3d6ca4f16e9b1f6f89424e9d946bb3a6a40d91 (patch)
tree929096dfe2d6ee8e1f716d07383a486382d7fb15 /libavcodec/x86/x86util.asm
parent8ad77b65b548a6b2f4707265ebd7e97f956acf0b (diff)
downloadffmpeg-9f3d6ca4f16e9b1f6f89424e9d946bb3a6a40d91.tar.gz
Port x86 10-bit H.264 deblock asm from x264
Diffstat (limited to 'libavcodec/x86/x86util.asm')
-rw-r--r--libavcodec/x86/x86util.asm5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/x86/x86util.asm b/libavcodec/x86/x86util.asm
index 28baf7a96a..c963deff86 100644
--- a/libavcodec/x86/x86util.asm
+++ b/libavcodec/x86/x86util.asm
@@ -457,3 +457,8 @@
pshufw %1, %2, (%3)*0x55
%endif
%endmacro
+
+%macro CLIPW 3 ;(dst, min, max)
+ pmaxsw %1, %2
+ pminsw %1, %3
+%endmacro