|
1 /* |
|
2 * Copyright (c) 2013 Mozilla Foundation. All Rights Reserved. |
|
3 * Use of this source code is governed by a BSD-style license |
|
4 * that can be found in the LICENSE file in the root of the source |
|
5 * tree. An additional intellectual property rights grant can be found |
|
6 * in the file PATENTS. |
|
7 */ |
|
8 |
|
9 #if defined(_WIN64) |
|
10 /* 64 bit Windows */ |
|
11 #ifdef _MSC_VER |
|
12 #include "vpx_scale_rtcd_x86_64-win64-vs8.h" |
|
13 #else |
|
14 #include "vpx_scale_rtcd_x86_64-win64-gcc.h" |
|
15 #endif |
|
16 |
|
17 #elif defined(_WIN32) |
|
18 /* 32 bit Windows, MSVC. */ |
|
19 #ifdef _MSC_VER |
|
20 #include "vpx_scale_rtcd_x86-win32-vs8.h" |
|
21 #else |
|
22 #include "vpx_scale_rtcd_x86-win32-gcc.h" |
|
23 #endif |
|
24 |
|
25 #elif defined(__APPLE__) && defined(__x86_64__) |
|
26 /* 64 bit MacOS. */ |
|
27 #include "vpx_scale_rtcd_x86_64-darwin9-gcc.h" |
|
28 |
|
29 #elif defined(__APPLE__) && defined(__i386__) |
|
30 /* 32 bit MacOS. */ |
|
31 #include "vpx_scale_rtcd_x86-darwin9-gcc.h" |
|
32 |
|
33 #elif defined(__ELF__) && (defined(__i386) || defined(__i386__)) |
|
34 /* 32 bit ELF platforms. */ |
|
35 #include "vpx_scale_rtcd_x86-linux-gcc.h" |
|
36 |
|
37 #elif defined(__ELF__) && (defined(__x86_64) || defined(__x86_64__)) |
|
38 /* 64 bit ELF platforms. */ |
|
39 #include "vpx_scale_rtcd_x86_64-linux-gcc.h" |
|
40 |
|
41 #elif defined(VPX_ARM_ASM) |
|
42 /* Android */ |
|
43 #include "vpx_scale_rtcd_armv7-android-gcc.h" |
|
44 |
|
45 #else |
|
46 /* Assume generic GNU/GCC configuration. */ |
|
47 #include "vpx_scale_rtcd_generic-gnu.h" |
|
48 #endif |