diff options
author | James Darnley <james.darnley@gmail.com> | 2016-01-17 21:20:25 +0100 |
---|---|---|
committer | James Darnley <james.darnley@gmail.com> | 2016-01-17 21:23:58 +0100 |
commit | f59b727e2f982a22c4459c67b2f5f7f42c86d3d0 (patch) | |
tree | 44ce1a1f9a0f62121fd282c4b4d9a49bf3e79dec /libavcodec | |
parent | 321e85e1769ca1fc1567025ae264760790ee7fc9 (diff) | |
download | ffmpeg-streaming-f59b727e2f982a22c4459c67b2f5f7f42c86d3d0.zip ffmpeg-streaming-f59b727e2f982a22c4459c67b2f5f7f42c86d3d0.tar.gz |
avcodec/v210: guard new avx2 functions from old assemblers
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/x86/v210enc.asm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/x86/v210enc.asm b/libavcodec/x86/v210enc.asm index d74e5ac..0545454 100644 --- a/libavcodec/x86/v210enc.asm +++ b/libavcodec/x86/v210enc.asm @@ -95,8 +95,11 @@ cglobal v210_planar_pack_10, 5, 5, 4+cpuflag(avx2), y, u, v, dst, width INIT_XMM ssse3 v210_planar_pack_10 + +%if HAVE_AVX2_EXTERNAL INIT_YMM avx2 v210_planar_pack_10 +%endif %macro v210_planar_pack_8 0 @@ -168,5 +171,8 @@ INIT_XMM ssse3 v210_planar_pack_8 INIT_XMM avx v210_planar_pack_8 + +%if HAVE_AVX2_EXTERNAL INIT_YMM avx2 v210_planar_pack_8 +%endif |