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

Side by Side Diff: third_party/libwebp/dsp/cpu.c

Issue 442853003: libwebp: mips build fixes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: drop internal bug reference Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « third_party/libwebp/README.chromium ('k') | third_party/libwebp/dsp/dsp.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 Google Inc. All Rights Reserved. 1 // Copyright 2011 Google Inc. All Rights Reserved.
2 // 2 //
3 // Use of this source code is governed by a BSD-style license 3 // Use of this source code is governed by a BSD-style license
4 // that can be found in the COPYING file in the root of the source 4 // that can be found in the COPYING file in the root of the source
5 // tree. An additional intellectual property rights grant can be found 5 // tree. An additional intellectual property rights grant can be found
6 // in the file PATENTS. All contributing project authors may 6 // in the file PATENTS. All contributing project authors may
7 // be found in the AUTHORS file in the root of the source tree. 7 // be found in the AUTHORS file in the root of the source tree.
8 // ----------------------------------------------------------------------------- 8 // -----------------------------------------------------------------------------
9 // 9 //
10 // CPU detection 10 // CPU detection
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 } 111 }
112 VP8CPUInfo VP8GetCPUInfo = AndroidCPUInfo; 112 VP8CPUInfo VP8GetCPUInfo = AndroidCPUInfo;
113 #elif defined(WEBP_USE_NEON) 113 #elif defined(WEBP_USE_NEON)
114 // define a dummy function to enable turning off NEON at runtime by setting 114 // define a dummy function to enable turning off NEON at runtime by setting
115 // VP8DecGetCPUInfo = NULL 115 // VP8DecGetCPUInfo = NULL
116 static int armCPUInfo(CPUFeature feature) { 116 static int armCPUInfo(CPUFeature feature) {
117 (void)feature; 117 (void)feature;
118 return 1; 118 return 1;
119 } 119 }
120 VP8CPUInfo VP8GetCPUInfo = armCPUInfo; 120 VP8CPUInfo VP8GetCPUInfo = armCPUInfo;
121 #elif defined(__mips__) 121 #elif defined(WEBP_USE_MIPS32)
122 static int mipsCPUInfo(CPUFeature feature) { 122 static int mipsCPUInfo(CPUFeature feature) {
123 (void)feature; 123 (void)feature;
124 return 1; 124 return 1;
125 } 125 }
126 VP8CPUInfo VP8GetCPUInfo = mipsCPUInfo; 126 VP8CPUInfo VP8GetCPUInfo = mipsCPUInfo;
127 #else 127 #else
128 VP8CPUInfo VP8GetCPUInfo = NULL; 128 VP8CPUInfo VP8GetCPUInfo = NULL;
129 #endif 129 #endif
130 130
OLDNEW
« no previous file with comments | « third_party/libwebp/README.chromium ('k') | third_party/libwebp/dsp/dsp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698