| OLD | NEW |
| 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 |
| 11 | 11 |
| 12 #include "vpx_config.h" | 12 #include "vpx_config.h" |
| 13 #include "vpx_rtcd.h" | 13 #include "vp8_rtcd.h" |
| 14 #if ARCH_ARM | 14 #if ARCH_ARM |
| 15 #include "vpx_ports/arm.h" | 15 #include "vpx_ports/arm.h" |
| 16 #elif ARCH_X86 || ARCH_X86_64 | 16 #elif ARCH_X86 || ARCH_X86_64 |
| 17 #include "vpx_ports/x86.h" | 17 #include "vpx_ports/x86.h" |
| 18 #endif | 18 #endif |
| 19 #include "vp8/common/onyxc_int.h" | 19 #include "vp8/common/onyxc_int.h" |
| 20 | 20 |
| 21 #if CONFIG_MULTITHREAD | 21 #if CONFIG_MULTITHREAD |
| 22 #if HAVE_UNISTD_H && !defined(__OS2__) | 22 #if HAVE_UNISTD_H && !defined(__OS2__) |
| 23 #include <unistd.h> | 23 #include <unistd.h> |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 #if CONFIG_MULTITHREAD | 88 #if CONFIG_MULTITHREAD |
| 89 ctx->processor_core_count = get_cpu_count(); | 89 ctx->processor_core_count = get_cpu_count(); |
| 90 #endif /* CONFIG_MULTITHREAD */ | 90 #endif /* CONFIG_MULTITHREAD */ |
| 91 | 91 |
| 92 #if ARCH_ARM | 92 #if ARCH_ARM |
| 93 ctx->cpu_caps = arm_cpu_caps(); | 93 ctx->cpu_caps = arm_cpu_caps(); |
| 94 #elif ARCH_X86 || ARCH_X86_64 | 94 #elif ARCH_X86 || ARCH_X86_64 |
| 95 ctx->cpu_caps = x86_simd_caps(); | 95 ctx->cpu_caps = x86_simd_caps(); |
| 96 #endif | 96 #endif |
| 97 } | 97 } |
| OLD | NEW |