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

Side by Side Diff: source/libvpx/vp8/common/generic/systemdependent.c

Issue 13474006: libvpx: Pull from upstream (Closed) Base URL: https://src.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 7 years, 8 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 | « source/libvpx/libmkv/EbmlIDs.h ('k') | source/libvpx/vp8/common/rtcd_defs.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 } 75 }
76 } 76 }
77 #else 77 #else
78 /* other platforms */ 78 /* other platforms */
79 #endif 79 #endif
80 80
81 return core_count > 0 ? core_count : 1; 81 return core_count > 0 ? core_count : 1;
82 } 82 }
83 #endif 83 #endif
84 84
85 void vp8_clear_system_state_c() {};
85 86
86 void vp8_machine_specific_config(VP8_COMMON *ctx) 87 void vp8_machine_specific_config(VP8_COMMON *ctx)
87 { 88 {
88 #if CONFIG_MULTITHREAD 89 #if CONFIG_MULTITHREAD
89 ctx->processor_core_count = get_cpu_count(); 90 ctx->processor_core_count = get_cpu_count();
90 #endif /* CONFIG_MULTITHREAD */ 91 #endif /* CONFIG_MULTITHREAD */
91 92
92 #if ARCH_ARM 93 #if ARCH_ARM
93 ctx->cpu_caps = arm_cpu_caps(); 94 ctx->cpu_caps = arm_cpu_caps();
94 #elif ARCH_X86 || ARCH_X86_64 95 #elif ARCH_X86 || ARCH_X86_64
95 ctx->cpu_caps = x86_simd_caps(); 96 ctx->cpu_caps = x86_simd_caps();
96 #endif 97 #endif
97 } 98 }
OLDNEW
« no previous file with comments | « source/libvpx/libmkv/EbmlIDs.h ('k') | source/libvpx/vp8/common/rtcd_defs.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698