Browse Source

v210: x86: Add the correct guards around the asm code

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
tags/n3.1
Luca Barbato 9 years ago
parent
commit
eafb05fcf3
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      libavcodec/x86/v210enc.asm

+ 6
- 0
libavcodec/x86/v210enc.asm View File

@@ -82,8 +82,10 @@ cglobal v210_planar_pack_10, 5, 5, 4, y, u, v, dst, width
RET
%endmacro

%if HAVE_SSSE3_EXTERNAL
INIT_XMM ssse3
v210_planar_pack_10
%endif

%macro v210_planar_pack_8 0

@@ -139,7 +141,11 @@ cglobal v210_planar_pack_8, 5, 5, 7, y, u, v, dst, width
RET
%endmacro

%if HAVE_SSSE3_EXTERNAL
INIT_XMM ssse3
v210_planar_pack_8
%endif
%if HAVE_AVX_EXTERNAL
INIT_XMM avx
v210_planar_pack_8
%endif

Loading…
Cancel
Save