OLD | NEW |
| (Empty) |
1 # This file is generated. Do not edit. | |
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 | |
4 # found in the LICENSE file. | |
5 | |
6 { | |
7 'targets': [ | |
8 { | |
9 'target_name': 'libvpx_intrinsics_mmx', | |
10 'type': 'static_library', | |
11 'include_dirs': [ | |
12 'source/config/<(OS_CATEGORY)/<(target_arch_full)', | |
13 '<(libvpx_source)', | |
14 ], | |
15 'sources': [ | |
16 '<(libvpx_source)/vp8/common/x86/idct_blk_mmx.c', | |
17 '<(libvpx_source)/vp8/encoder/x86/vp8_enc_stubs_mmx.c', | |
18 '<(libvpx_source)/vpx_dsp/x86/variance_mmx.c', | |
19 ], | |
20 'cflags': [ '-mmmx', ], | |
21 'xcode_settings': { 'OTHER_CFLAGS': [ '-mmmx' ] }, | |
22 }, | |
23 { | |
24 'target_name': 'libvpx_intrinsics_sse2', | |
25 'type': 'static_library', | |
26 'include_dirs': [ | |
27 'source/config/<(OS_CATEGORY)/<(target_arch_full)', | |
28 '<(libvpx_source)', | |
29 ], | |
30 'sources': [ | |
31 '<(libvpx_source)/vp8/common/x86/idct_blk_sse2.c', | |
32 '<(libvpx_source)/vp8/encoder/x86/denoising_sse2.c', | |
33 '<(libvpx_source)/vp8/encoder/x86/vp8_enc_stubs_sse2.c', | |
34 '<(libvpx_source)/vp8/encoder/x86/vp8_quantize_sse2.c', | |
35 '<(libvpx_source)/vp9/common/x86/vp9_idct_intrin_sse2.c', | |
36 '<(libvpx_source)/vp9/encoder/x86/vp9_dct_sse2.c', | |
37 '<(libvpx_source)/vp9/encoder/x86/vp9_denoiser_sse2.c', | |
38 '<(libvpx_source)/vp9/encoder/x86/vp9_quantize_sse2.c', | |
39 '<(libvpx_source)/vpx_dsp/x86/avg_intrin_sse2.c', | |
40 '<(libvpx_source)/vpx_dsp/x86/fwd_txfm_sse2.c', | |
41 '<(libvpx_source)/vpx_dsp/x86/halfpix_variance_sse2.c', | |
42 '<(libvpx_source)/vpx_dsp/x86/inv_txfm_sse2.c', | |
43 '<(libvpx_source)/vpx_dsp/x86/loopfilter_sse2.c', | |
44 '<(libvpx_source)/vpx_dsp/x86/quantize_sse2.c', | |
45 '<(libvpx_source)/vpx_dsp/x86/variance_sse2.c', | |
46 ], | |
47 'cflags': [ '-msse2', ], | |
48 'xcode_settings': { 'OTHER_CFLAGS': [ '-msse2' ] }, | |
49 }, | |
50 { | |
51 'target_name': 'libvpx_intrinsics_ssse3', | |
52 'type': 'static_library', | |
53 'include_dirs': [ | |
54 'source/config/<(OS_CATEGORY)/<(target_arch_full)', | |
55 '<(libvpx_source)', | |
56 ], | |
57 'sources': [ | |
58 '<(libvpx_source)/vp8/encoder/x86/quantize_ssse3.c', | |
59 '<(libvpx_source)/vp9/encoder/x86/vp9_dct_ssse3.c', | |
60 '<(libvpx_source)/vp9/encoder/x86/vp9_frame_scale_ssse3.c', | |
61 '<(libvpx_source)/vpx_dsp/x86/vpx_subpixel_8t_intrin_ssse3.c', | |
62 ], | |
63 'cflags': [ '-mssse3', ], | |
64 'xcode_settings': { 'OTHER_CFLAGS': [ '-mssse3' ] }, | |
65 'conditions': [ | |
66 ['OS=="win" and clang==1', { | |
67 # cl.exe's /arch flag doesn't have a setting for SSSE3/4, and cl.exe | |
68 # doesn't need it for intrinsics. clang-cl does need it, though. | |
69 'msvs_settings': { | |
70 'VCCLCompilerTool': { 'AdditionalOptions': [ '-mssse3' ] }, | |
71 }, | |
72 }], | |
73 ], | |
74 }, | |
75 { | |
76 'target_name': 'libvpx_intrinsics_sse4_1', | |
77 'type': 'static_library', | |
78 'include_dirs': [ | |
79 'source/config/<(OS_CATEGORY)/<(target_arch_full)', | |
80 '<(libvpx_source)', | |
81 ], | |
82 'sources': [ | |
83 '<(libvpx_source)/vp8/encoder/x86/quantize_sse4.c', | |
84 ], | |
85 'cflags': [ '-msse4.1', ], | |
86 'xcode_settings': { 'OTHER_CFLAGS': [ '-msse4.1' ] }, | |
87 'conditions': [ | |
88 ['OS=="win" and clang==1', { | |
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. | |
91 'msvs_settings': { | |
92 'VCCLCompilerTool': { 'AdditionalOptions': [ '-msse4.1' ] }, | |
93 }, | |
94 }], | |
95 ], | |
96 }, | |
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', | |
117 'type': 'static_library', | |
118 'include_dirs': [ | |
119 'source/config/<(OS_CATEGORY)/<(target_arch_full)', | |
120 '<(libvpx_source)', | |
121 ], | |
122 'sources': [ | |
123 '<(libvpx_source)/vp9/encoder/x86/vp9_error_intrin_avx2.c', | |
124 '<(libvpx_source)/vpx_dsp/x86/fwd_txfm_avx2.c', | |
125 '<(libvpx_source)/vpx_dsp/x86/loopfilter_avx2.c', | |
126 '<(libvpx_source)/vpx_dsp/x86/sad4d_avx2.c', | |
127 '<(libvpx_source)/vpx_dsp/x86/sad_avx2.c', | |
128 '<(libvpx_source)/vpx_dsp/x86/variance_avx2.c', | |
129 '<(libvpx_source)/vpx_dsp/x86/variance_impl_avx2.c', | |
130 '<(libvpx_source)/vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c', | |
131 ], | |
132 'cflags': [ '-mavx2', ], | |
133 'xcode_settings': { 'OTHER_CFLAGS': [ '-mavx2' ] }, | |
134 'msvs_settings': { | |
135 'VCCLCompilerTool': { | |
136 'EnableEnhancedInstructionSet': '5', # /arch:AVX2 | |
137 }, | |
138 }, | |
139 }, | |
140 ], | |
141 } | |
OLD | NEW |