Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(214)

Side by Side Diff: third_party/libvpx/libvpx_srcs_x86_intrinsics.gypi

Issue 2318053003: Remove gyp support from libvpx (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/libvpx/libvpx_srcs_x86_64_intrinsics.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 ],
19 'cflags': [ '-mmmx', ],
20 'xcode_settings': { 'OTHER_CFLAGS': [ '-mmmx' ] },
21 },
22 {
23 'target_name': 'libvpx_intrinsics_sse2',
24 'type': 'static_library',
25 'include_dirs': [
26 'source/config/<(OS_CATEGORY)/<(target_arch_full)',
27 '<(libvpx_source)',
28 ],
29 'sources': [
30 '<(libvpx_source)/vp8/common/x86/idct_blk_sse2.c',
31 '<(libvpx_source)/vp8/encoder/x86/denoising_sse2.c',
32 '<(libvpx_source)/vp8/encoder/x86/vp8_enc_stubs_sse2.c',
33 '<(libvpx_source)/vp8/encoder/x86/vp8_quantize_sse2.c',
34 '<(libvpx_source)/vp9/common/x86/vp9_idct_intrin_sse2.c',
35 '<(libvpx_source)/vp9/encoder/x86/vp9_dct_intrin_sse2.c',
36 '<(libvpx_source)/vp9/encoder/x86/vp9_denoiser_sse2.c',
37 '<(libvpx_source)/vp9/encoder/x86/vp9_quantize_sse2.c',
38 '<(libvpx_source)/vpx_dsp/x86/avg_intrin_sse2.c',
39 '<(libvpx_source)/vpx_dsp/x86/fwd_txfm_sse2.c',
40 '<(libvpx_source)/vpx_dsp/x86/inv_txfm_sse2.c',
41 '<(libvpx_source)/vpx_dsp/x86/loopfilter_sse2.c',
42 '<(libvpx_source)/vpx_dsp/x86/quantize_sse2.c',
43 '<(libvpx_source)/vpx_dsp/x86/sum_squares_sse2.c',
44 '<(libvpx_source)/vpx_dsp/x86/variance_sse2.c',
45 ],
46 'cflags': [ '-msse2', ],
47 'xcode_settings': { 'OTHER_CFLAGS': [ '-msse2' ] },
48 },
49 {
50 'target_name': 'libvpx_intrinsics_ssse3',
51 'type': 'static_library',
52 'include_dirs': [
53 'source/config/<(OS_CATEGORY)/<(target_arch_full)',
54 '<(libvpx_source)',
55 ],
56 'sources': [
57 '<(libvpx_source)/vp8/encoder/x86/quantize_ssse3.c',
58 '<(libvpx_source)/vp9/encoder/x86/vp9_dct_ssse3.c',
59 '<(libvpx_source)/vp9/encoder/x86/vp9_frame_scale_ssse3.c',
60 '<(libvpx_source)/vpx_dsp/x86/vpx_subpixel_8t_intrin_ssse3.c',
61 ],
62 'cflags': [ '-mssse3', ],
63 'xcode_settings': { 'OTHER_CFLAGS': [ '-mssse3' ] },
64 'conditions': [
65 ['OS=="win" and clang==1', {
66 # cl.exe's /arch flag doesn't have a setting for SSSE3/4, and cl.exe
67 # doesn't need it for intrinsics. clang-cl does need it, though.
68 'msvs_settings': {
69 'VCCLCompilerTool': { 'AdditionalOptions': [ '-mssse3' ] },
70 },
71 }],
72 ],
73 },
74 {
75 'target_name': 'libvpx_intrinsics_sse4_1',
76 'type': 'static_library',
77 'include_dirs': [
78 'source/config/<(OS_CATEGORY)/<(target_arch_full)',
79 '<(libvpx_source)',
80 ],
81 'sources': [
82 '<(libvpx_source)/vp8/encoder/x86/quantize_sse4.c',
83 ],
84 'cflags': [ '-msse4.1', ],
85 'xcode_settings': { 'OTHER_CFLAGS': [ '-msse4.1' ] },
86 'conditions': [
87 ['OS=="win" and clang==1', {
88 # cl.exe's /arch flag doesn't have a setting for SSSE3/4, and cl.exe
89 # doesn't need it for intrinsics. clang-cl does need it, though.
90 'msvs_settings': {
91 'VCCLCompilerTool': { 'AdditionalOptions': [ '-msse4.1' ] },
92 },
93 }],
94 ],
95 },
96 {
97 'target_name': 'libvpx_intrinsics_avx',
98 'type': 'static_library',
99 'include_dirs': [
100 'source/config/<(OS_CATEGORY)/<(target_arch_full)',
101 '<(libvpx_source)',
102 ],
103 'sources': [
104 '<(libvpx_source)/vp9/encoder/x86/vp9_diamond_search_sad_avx.c',
105 ],
106 'cflags': [ '-mavx', ],
107 'xcode_settings': { 'OTHER_CFLAGS': [ '-mavx' ] },
108 'msvs_settings': {
109 'VCCLCompilerTool': {
110 'EnableEnhancedInstructionSet': '3', # /arch:AVX
111 },
112 },
113 },
114 {
115 'target_name': 'libvpx_intrinsics_avx2',
116 'type': 'static_library',
117 'include_dirs': [
118 'source/config/<(OS_CATEGORY)/<(target_arch_full)',
119 '<(libvpx_source)',
120 ],
121 'sources': [
122 '<(libvpx_source)/vp9/encoder/x86/vp9_error_intrin_avx2.c',
123 '<(libvpx_source)/vpx_dsp/x86/fwd_txfm_avx2.c',
124 '<(libvpx_source)/vpx_dsp/x86/loopfilter_avx2.c',
125 '<(libvpx_source)/vpx_dsp/x86/sad4d_avx2.c',
126 '<(libvpx_source)/vpx_dsp/x86/sad_avx2.c',
127 '<(libvpx_source)/vpx_dsp/x86/variance_avx2.c',
128 '<(libvpx_source)/vpx_dsp/x86/variance_impl_avx2.c',
129 '<(libvpx_source)/vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c',
130 ],
131 'cflags': [ '-mavx2', ],
132 'xcode_settings': { 'OTHER_CFLAGS': [ '-mavx2' ] },
133 'msvs_settings': {
134 'VCCLCompilerTool': {
135 'EnableEnhancedInstructionSet': '5', # /arch:AVX2
136 },
137 },
138 },
139 ],
140 }
OLDNEW
« no previous file with comments | « third_party/libvpx/libvpx_srcs_x86_64_intrinsics.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698