1/*
2 *  Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 *
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
6 *  tree. An additional intellectual property rights grant can be found
7 *  in the file PATENTS.  All contributing project authors may
8 *  be found in the AUTHORS file in the root of the source tree.
9 */
10
11
12#ifndef MCOMP_X86_H
13#define MCOMP_X86_H
14
15#if HAVE_SSE3
16#if !CONFIG_RUNTIME_CPU_DETECT
17
18#undef  vp8_search_full_search
19#define vp8_search_full_search vp8_full_search_sadx3
20
21#undef  vp8_search_diamond_search
22#define vp8_search_diamond_search vp8_diamond_search_sadx4
23
24#endif
25#endif
26
27#if HAVE_SSE4_1
28#if !CONFIG_RUNTIME_CPU_DETECT
29
30#undef  vp8_search_full_search
31#define vp8_search_full_search vp8_full_search_sadx8
32
33#endif
34#endif
35
36#endif
37
38