From 9a738c27dceb4b975784b23213a46f5cb560d1c2 Mon Sep 17 00:00:00 2001 From: Kieran Kunhya Date: Tue, 2 Dec 2014 17:08:25 +0000 Subject: v210enc: Add SIMD optimised 8-bit and 10-bit encoders Signed-off-by: Michael Niedermayer Signed-off-by: Vittorio Giovara --- libavutil/x86/x86util.asm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libavutil/x86') diff --git a/libavutil/x86/x86util.asm b/libavutil/x86/x86util.asm index 11779cf07f..9f64dd13e1 100644 --- a/libavutil/x86/x86util.asm +++ b/libavutil/x86/x86util.asm @@ -584,6 +584,11 @@ %endif %endmacro +%macro CLIPUB 3 ;(dst, min, max) + pmaxub %1, %2 + pminub %1, %3 +%endmacro + %macro CLIPW 3 ;(dst, min, max) pmaxsw %1, %2 pminsw %1, %3 -- cgit v1.2.3