Index: libvpx_srcs_x86_64_intrinsics.gypi |
=================================================================== |
--- libvpx_srcs_x86_64_intrinsics.gypi (revision 278778) |
+++ libvpx_srcs_x86_64_intrinsics.gypi (working copy) |
@@ -72,6 +72,7 @@ |
'sources': [ |
'<(libvpx_source)/vp8/common/x86/variance_ssse3.c', |
'<(libvpx_source)/vp8/encoder/x86/quantize_ssse3.c', |
+ '<(libvpx_source)/vp9/common/x86/vp9_idct_intrin_ssse3.c', |
'<(libvpx_source)/vp9/common/x86/vp9_subpixel_8t_intrin_ssse3.c', |
], |
'conditions': [ |
@@ -86,5 +87,27 @@ |
}], |
], |
}, |
+ { |
+ 'target_name': 'libvpx_intrinsics_sse4_1', |
+ 'type': 'static_library', |
+ 'include_dirs': [ |
+ 'source/config/<(OS_CATEGORY)/<(target_arch_full)', |
+ '<(libvpx_source)', |
+ ], |
+ 'sources': [ |
+ '<(libvpx_source)/vp8/encoder/x86/quantize_sse4.c', |
+ ], |
+ 'conditions': [ |
+ ['os_posix==1 and OS!="mac" and OS!="ios"', { |
+ 'cflags!': [ '-mfpu=vfpv3-d16' ], |
+ 'cflags': [ '-msse4.1', ], |
+ }], |
+ ['OS=="mac" or OS=="ios"', { |
+ 'xcode_settings': { |
+ 'OTHER_CFLAGS': [ '-msse4.1', ], |
+ }, |
+ }], |
+ ], |
+ }, |
], |
} |