Browse Source

avcodec/v210: guard new avx2 functions from old assemblers

tags/n3.0
James Darnley 9 years ago
parent
commit
f59b727e2f
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      libavcodec/x86/v210enc.asm

+ 6
- 0
libavcodec/x86/v210enc.asm 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

Loading…
Cancel
Save