1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/media/libvpx/vpx_scale_rtcd.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,48 @@ 1.4 +/* 1.5 + * Copyright (c) 2013 Mozilla Foundation. All Rights Reserved. 1.6 + * Use of this source code is governed by a BSD-style license 1.7 + * that can be found in the LICENSE file in the root of the source 1.8 + * tree. An additional intellectual property rights grant can be found 1.9 + * in the file PATENTS. 1.10 + */ 1.11 + 1.12 +#if defined(_WIN64) 1.13 +/* 64 bit Windows */ 1.14 +#ifdef _MSC_VER 1.15 +#include "vpx_scale_rtcd_x86_64-win64-vs8.h" 1.16 +#else 1.17 +#include "vpx_scale_rtcd_x86_64-win64-gcc.h" 1.18 +#endif 1.19 + 1.20 +#elif defined(_WIN32) 1.21 +/* 32 bit Windows, MSVC. */ 1.22 +#ifdef _MSC_VER 1.23 +#include "vpx_scale_rtcd_x86-win32-vs8.h" 1.24 +#else 1.25 +#include "vpx_scale_rtcd_x86-win32-gcc.h" 1.26 +#endif 1.27 + 1.28 +#elif defined(__APPLE__) && defined(__x86_64__) 1.29 +/* 64 bit MacOS. */ 1.30 +#include "vpx_scale_rtcd_x86_64-darwin9-gcc.h" 1.31 + 1.32 +#elif defined(__APPLE__) && defined(__i386__) 1.33 +/* 32 bit MacOS. */ 1.34 +#include "vpx_scale_rtcd_x86-darwin9-gcc.h" 1.35 + 1.36 +#elif defined(__ELF__) && (defined(__i386) || defined(__i386__)) 1.37 +/* 32 bit ELF platforms. */ 1.38 +#include "vpx_scale_rtcd_x86-linux-gcc.h" 1.39 + 1.40 +#elif defined(__ELF__) && (defined(__x86_64) || defined(__x86_64__)) 1.41 +/* 64 bit ELF platforms. */ 1.42 +#include "vpx_scale_rtcd_x86_64-linux-gcc.h" 1.43 + 1.44 +#elif defined(VPX_ARM_ASM) 1.45 +/* Android */ 1.46 +#include "vpx_scale_rtcd_armv7-android-gcc.h" 1.47 + 1.48 +#else 1.49 +/* Assume generic GNU/GCC configuration. */ 1.50 +#include "vpx_scale_rtcd_generic-gnu.h" 1.51 +#endif