summaryrefslogtreecommitdiff
path: root/vp8/encoder/x86/mcomp_x86.h
blob: ea8d1dcf162e2c8b702f2b60a7cf928ae10eea57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
 *  Copyright (c) 2010 The WebM project authors. All Rights Reserved.
 *
 *  Use of this source code is governed by a BSD-style license
 *  that can be found in the LICENSE file in the root of the source
 *  tree. An additional intellectual property rights grant can be found
 *  in the file PATENTS.  All contributing project authors may
 *  be found in the AUTHORS file in the root of the source tree.
 */


#ifndef MCOMP_X86_H
#define MCOMP_X86_H

#if HAVE_SSE3
#if !CONFIG_RUNTIME_CPU_DETECT

#undef  vp8_search_full_search
#define vp8_search_full_search vp9_full_search_sadx3

#undef  vp8_search_refining_search
#define vp8_search_refining_search vp9_refining_search_sadx4

#undef  vp8_search_diamond_search
#define vp8_search_diamond_search vp9_diamond_search_sadx4

#endif
#endif

#if HAVE_SSE4_1
#if !CONFIG_RUNTIME_CPU_DETECT

#undef  vp8_search_full_search
#define vp8_search_full_search vp9_full_search_sadx8

#endif
#endif

#endif