| 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 #ifndef MCOMP_X86_H | 12 #ifndef MCOMP_X86_H |
| 13 #define MCOMP_X86_H | 13 #define MCOMP_X86_H |
| 14 | 14 |
| 15 #if HAVE_SSE3 | 15 #if HAVE_SSE3 |
| 16 #if !CONFIG_RUNTIME_CPU_DETECT | 16 #if !CONFIG_RUNTIME_CPU_DETECT |
| 17 | 17 |
| 18 #undef vp8_search_full_search | 18 #undef vp8_search_full_search |
| 19 #define vp8_search_full_search vp8_full_search_sadx3 | 19 #define vp8_search_full_search vp8_full_search_sadx3 |
| 20 | 20 |
| 21 #undef vp8_search_refining_search |
| 22 #define vp8_search_refining_search vp8_refining_search_sadx4 |
| 23 |
| 21 #undef vp8_search_diamond_search | 24 #undef vp8_search_diamond_search |
| 22 #define vp8_search_diamond_search vp8_diamond_search_sadx4 | 25 #define vp8_search_diamond_search vp8_diamond_search_sadx4 |
| 23 | 26 |
| 24 #endif | 27 #endif |
| 25 #endif | 28 #endif |
| 26 | 29 |
| 27 #if HAVE_SSE4_1 | 30 #if HAVE_SSE4_1 |
| 28 #if !CONFIG_RUNTIME_CPU_DETECT | 31 #if !CONFIG_RUNTIME_CPU_DETECT |
| 29 | 32 |
| 30 #undef vp8_search_full_search | 33 #undef vp8_search_full_search |
| 31 #define vp8_search_full_search vp8_full_search_sadx8 | 34 #define vp8_search_full_search vp8_full_search_sadx8 |
| 32 | 35 |
| 33 #endif | 36 #endif |
| 34 #endif | 37 #endif |
| 35 | 38 |
| 36 #endif | 39 #endif |
| 37 | 40 |
| OLD | NEW |