diff options
author | Kieran Kunhya <kierank@obe.tv> | 2014-11-26 15:59:14 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-11-26 20:30:47 +0100 |
commit | 36091742d182b3ad4411aae22682354b3834a974 (patch) | |
tree | 140343da6bb107ea043175974170266d59b5eb07 /libavutil/x86 | |
parent | 1d3a3b9f8907625b361420d48fe05716859620ff (diff) | |
download | ffmpeg-36091742d182b3ad4411aae22682354b3834a974.tar.gz |
v210enc: Add SIMD optimised 8-bit and 10-bit encoders
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/x86')
-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 0d0ef0799d..2d02f75069 100644 --- a/libavutil/x86/x86util.asm +++ b/libavutil/x86/x86util.asm @@ -641,6 +641,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 |