aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/huffyuvencdsp.asm
diff options
context:
space:
mode:
authorMartin Vignali <martin.vignali@gmail.com>2017-11-21 09:17:44 +0100
committerMartin Vignali <martin.vignali@gmail.com>2017-11-21 09:42:08 +0100
commitba98f8463fd1345fab173fa405ac98aefd92ed06 (patch)
tree6a7f58c62d2faeb2ce33547abf95f0bbce16dec0 /libavcodec/x86/huffyuvencdsp.asm
parentd189a426fa0e7b8a7bb62d797ed490ece868da28 (diff)
downloadffmpeg-ba98f8463fd1345fab173fa405ac98aefd92ed06.tar.gz
avcodec/huffyuvdspenc : add diff_int16 AVX2 func
Diffstat (limited to 'libavcodec/x86/huffyuvencdsp.asm')
-rw-r--r--libavcodec/x86/huffyuvencdsp.asm4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/x86/huffyuvencdsp.asm b/libavcodec/x86/huffyuvencdsp.asm
index 3f5a7df7ff..d994fd0fd6 100644
--- a/libavcodec/x86/huffyuvencdsp.asm
+++ b/libavcodec/x86/huffyuvencdsp.asm
@@ -59,6 +59,10 @@ DIFF_INT16
INIT_XMM sse2
DIFF_INT16
+%if HAVE_AVX2_EXTERNAL
+INIT_YMM avx2
+DIFF_INT16
+%endif
INIT_MMX mmxext
cglobal sub_hfyu_median_pred_int16, 7,7,0, dst, src1, src2, mask, w, left, left_top