avcodec/v210: guard new avx2 functions from old assemblers

This commit is contained in:
James Darnley 2016-01-17 21:20:25 +01:00
parent 321e85e176
commit f59b727e2f
1 changed files with 6 additions and 0 deletions

View File

@ -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