diff options
author | Kieran Kunhya <kierank@obe.tv> | 2014-12-02 20:08:25 +0300 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-12-05 16:03:49 +0300 |
commit | 9a738c27dceb4b975784b23213a46f5cb560d1c2 (patch) | |
tree | fa9cb3613958d6747dcce6f68a4f7d4212adec06 /libavutil/x86/x86util.asm | |
parent | 33c827f632f95ffe3399b695a5a0d47b366b6e20 (diff) |
v210enc: Add SIMD optimised 8-bit and 10-bit encoders
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Diffstat (limited to 'libavutil/x86/x86util.asm')
-rw-r--r-- | libavutil/x86/x86util.asm | 5 |
1 files changed, 5 insertions, 0 deletions
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 |