OLD | NEW |
1 # This file is generated. Do not edit. | 1 # This file is generated. Do not edit. |
2 # Copyright (c) 2014 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2014 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 { | 6 { |
7 'targets': [ | 7 'targets': [ |
8 { | 8 { |
9 'target_name': 'libvpx_intrinsics_mmx', | 9 'target_name': 'libvpx_intrinsics_mmx', |
10 'type': 'static_library', | 10 'type': 'static_library', |
(...skipping 15 matching lines...) Expand all Loading... |
26 'include_dirs': [ | 26 'include_dirs': [ |
27 'source/config/<(OS_CATEGORY)/<(target_arch_full)', | 27 'source/config/<(OS_CATEGORY)/<(target_arch_full)', |
28 '<(libvpx_source)', | 28 '<(libvpx_source)', |
29 ], | 29 ], |
30 'sources': [ | 30 'sources': [ |
31 '<(libvpx_source)/vp8/common/x86/idct_blk_sse2.c', | 31 '<(libvpx_source)/vp8/common/x86/idct_blk_sse2.c', |
32 '<(libvpx_source)/vp8/encoder/x86/denoising_sse2.c', | 32 '<(libvpx_source)/vp8/encoder/x86/denoising_sse2.c', |
33 '<(libvpx_source)/vp8/encoder/x86/vp8_enc_stubs_sse2.c', | 33 '<(libvpx_source)/vp8/encoder/x86/vp8_enc_stubs_sse2.c', |
34 '<(libvpx_source)/vp8/encoder/x86/vp8_quantize_sse2.c', | 34 '<(libvpx_source)/vp8/encoder/x86/vp8_quantize_sse2.c', |
35 '<(libvpx_source)/vp9/common/x86/vp9_idct_intrin_sse2.c', | 35 '<(libvpx_source)/vp9/common/x86/vp9_idct_intrin_sse2.c', |
36 '<(libvpx_source)/vp9/encoder/x86/vp9_dct_sse2.c', | 36 '<(libvpx_source)/vp9/encoder/x86/vp9_dct_intrin_sse2.c', |
37 '<(libvpx_source)/vp9/encoder/x86/vp9_denoiser_sse2.c', | 37 '<(libvpx_source)/vp9/encoder/x86/vp9_denoiser_sse2.c', |
38 '<(libvpx_source)/vp9/encoder/x86/vp9_quantize_sse2.c', | 38 '<(libvpx_source)/vp9/encoder/x86/vp9_quantize_sse2.c', |
39 '<(libvpx_source)/vpx_dsp/x86/avg_intrin_sse2.c', | 39 '<(libvpx_source)/vpx_dsp/x86/avg_intrin_sse2.c', |
40 '<(libvpx_source)/vpx_dsp/x86/fwd_txfm_sse2.c', | 40 '<(libvpx_source)/vpx_dsp/x86/fwd_txfm_sse2.c', |
41 '<(libvpx_source)/vpx_dsp/x86/halfpix_variance_sse2.c', | 41 '<(libvpx_source)/vpx_dsp/x86/halfpix_variance_sse2.c', |
42 '<(libvpx_source)/vpx_dsp/x86/inv_txfm_sse2.c', | 42 '<(libvpx_source)/vpx_dsp/x86/inv_txfm_sse2.c', |
43 '<(libvpx_source)/vpx_dsp/x86/loopfilter_sse2.c', | 43 '<(libvpx_source)/vpx_dsp/x86/loopfilter_sse2.c', |
44 '<(libvpx_source)/vpx_dsp/x86/quantize_sse2.c', | 44 '<(libvpx_source)/vpx_dsp/x86/quantize_sse2.c', |
45 '<(libvpx_source)/vpx_dsp/x86/variance_sse2.c', | 45 '<(libvpx_source)/vpx_dsp/x86/variance_sse2.c', |
46 ], | 46 ], |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 ['OS=="win" and clang==1', { | 88 ['OS=="win" and clang==1', { |
89 # cl.exe's /arch flag doesn't have a setting for SSSE3/4, and cl.exe | 89 # cl.exe's /arch flag doesn't have a setting for SSSE3/4, and cl.exe |
90 # doesn't need it for intrinsics. clang-cl does need it, though. | 90 # doesn't need it for intrinsics. clang-cl does need it, though. |
91 'msvs_settings': { | 91 'msvs_settings': { |
92 'VCCLCompilerTool': { 'AdditionalOptions': [ '-msse4.1' ] }, | 92 'VCCLCompilerTool': { 'AdditionalOptions': [ '-msse4.1' ] }, |
93 }, | 93 }, |
94 }], | 94 }], |
95 ], | 95 ], |
96 }, | 96 }, |
97 { | 97 { |
98 'target_name': 'libvpx_intrinsics_avx', | |
99 'type': 'static_library', | |
100 'include_dirs': [ | |
101 'source/config/<(OS_CATEGORY)/<(target_arch_full)', | |
102 '<(libvpx_source)', | |
103 ], | |
104 'sources': [ | |
105 '<(libvpx_source)/vp9/encoder/x86/vp9_diamond_search_sad_avx.c', | |
106 ], | |
107 'cflags': [ '-mavx', ], | |
108 'xcode_settings': { 'OTHER_CFLAGS': [ '-mavx' ] }, | |
109 'msvs_settings': { | |
110 'VCCLCompilerTool': { | |
111 'EnableEnhancedInstructionSet': '3', # /arch:AVX | |
112 }, | |
113 }, | |
114 }, | |
115 { | |
116 'target_name': 'libvpx_intrinsics_avx2', | 98 'target_name': 'libvpx_intrinsics_avx2', |
117 'type': 'static_library', | 99 'type': 'static_library', |
118 'include_dirs': [ | 100 'include_dirs': [ |
119 'source/config/<(OS_CATEGORY)/<(target_arch_full)', | 101 'source/config/<(OS_CATEGORY)/<(target_arch_full)', |
120 '<(libvpx_source)', | 102 '<(libvpx_source)', |
121 ], | 103 ], |
122 'sources': [ | 104 'sources': [ |
123 '<(libvpx_source)/vp9/encoder/x86/vp9_error_intrin_avx2.c', | 105 '<(libvpx_source)/vp9/encoder/x86/vp9_error_intrin_avx2.c', |
124 '<(libvpx_source)/vpx_dsp/x86/fwd_txfm_avx2.c', | 106 '<(libvpx_source)/vpx_dsp/x86/fwd_txfm_avx2.c', |
125 '<(libvpx_source)/vpx_dsp/x86/loopfilter_avx2.c', | 107 '<(libvpx_source)/vpx_dsp/x86/loopfilter_avx2.c', |
126 '<(libvpx_source)/vpx_dsp/x86/sad4d_avx2.c', | 108 '<(libvpx_source)/vpx_dsp/x86/sad4d_avx2.c', |
127 '<(libvpx_source)/vpx_dsp/x86/sad_avx2.c', | 109 '<(libvpx_source)/vpx_dsp/x86/sad_avx2.c', |
128 '<(libvpx_source)/vpx_dsp/x86/variance_avx2.c', | 110 '<(libvpx_source)/vpx_dsp/x86/variance_avx2.c', |
129 '<(libvpx_source)/vpx_dsp/x86/variance_impl_avx2.c', | 111 '<(libvpx_source)/vpx_dsp/x86/variance_impl_avx2.c', |
130 '<(libvpx_source)/vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c', | 112 '<(libvpx_source)/vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c', |
131 ], | 113 ], |
132 'cflags': [ '-mavx2', ], | 114 'cflags': [ '-mavx2', ], |
133 'xcode_settings': { 'OTHER_CFLAGS': [ '-mavx2' ] }, | 115 'xcode_settings': { 'OTHER_CFLAGS': [ '-mavx2' ] }, |
134 'msvs_settings': { | 116 'msvs_settings': { |
135 'VCCLCompilerTool': { | 117 'VCCLCompilerTool': { |
136 'EnableEnhancedInstructionSet': '5', # /arch:AVX2 | 118 'EnableEnhancedInstructionSet': '5', # /arch:AVX2 |
137 }, | 119 }, |
138 }, | 120 }, |
139 }, | 121 }, |
140 ], | 122 ], |
141 } | 123 } |
OLD | NEW |