2010-06-08 23:31:28 +00:00
|
|
|
#if defined(VPX_X86_ASM)
|
|
|
|
|
2012-05-16 08:47:59 +00:00
|
|
|
#if defined(_WIN64)
|
|
|
|
/* 64 bit Windows */
|
2014-02-20 16:22:23 +00:00
|
|
|
#ifdef _MSC_VER
|
2015-02-17 02:15:00 +00:00
|
|
|
#include "vpx_config_x86_64-win64-vs12.h"
|
2014-02-20 16:22:23 +00:00
|
|
|
#else
|
|
|
|
#include "vpx_config_x86_64-win64-gcc.h"
|
|
|
|
#endif
|
2012-05-16 08:47:59 +00:00
|
|
|
|
|
|
|
#elif defined(_WIN32)
|
2010-06-08 23:31:28 +00:00
|
|
|
/* 32 bit Windows, MSVC. */
|
2014-02-20 16:22:23 +00:00
|
|
|
#ifdef _MSC_VER
|
2015-02-17 02:15:00 +00:00
|
|
|
#include "vpx_config_x86-win32-vs12.h"
|
2014-02-20 16:22:23 +00:00
|
|
|
#else
|
|
|
|
#include "vpx_config_x86-win32-gcc.h"
|
|
|
|
#endif
|
2010-06-08 23:31:28 +00:00
|
|
|
|
|
|
|
#elif defined(__APPLE__) && defined(__x86_64__)
|
|
|
|
/* 64 bit MacOS. */
|
|
|
|
#include "vpx_config_x86_64-darwin9-gcc.h"
|
|
|
|
|
|
|
|
#elif defined(__APPLE__) && defined(__i386__)
|
|
|
|
/* 32 bit MacOS. */
|
|
|
|
#include "vpx_config_x86-darwin9-gcc.h"
|
|
|
|
|
2012-08-27 23:34:30 +00:00
|
|
|
#elif defined(__ELF__) && (defined(__i386) || defined(__i386__))
|
|
|
|
/* 32 bit ELF platforms. */
|
2010-06-08 23:31:28 +00:00
|
|
|
#include "vpx_config_x86-linux-gcc.h"
|
|
|
|
|
2012-08-27 23:34:30 +00:00
|
|
|
#elif defined(__ELF__) && (defined(__x86_64) || defined(__x86_64__))
|
|
|
|
/* 64 bit ELF platforms. */
|
2010-08-06 07:03:02 +00:00
|
|
|
#include "vpx_config_x86_64-linux-gcc.h"
|
|
|
|
|
2010-06-08 23:31:28 +00:00
|
|
|
#else
|
|
|
|
#error VPX_X86_ASM is defined, but assembly not supported on this platform!
|
|
|
|
#endif
|
|
|
|
|
2010-11-08 07:47:17 +00:00
|
|
|
#elif defined(VPX_ARM_ASM)
|
|
|
|
|
2013-11-29 14:02:00 +00:00
|
|
|
/* Android */
|
|
|
|
#include "vpx_config_armv7-android-gcc.h"
|
2010-11-08 07:47:17 +00:00
|
|
|
|
2010-06-08 23:31:28 +00:00
|
|
|
#else
|
|
|
|
/* Assume generic GNU/GCC configuration. */
|
|
|
|
#include "vpx_config_generic-gnu.h"
|
|
|
|
#endif
|
|
|
|
|
2011-10-14 00:37:29 +00:00
|
|
|
/* Control error-concealment support using our own #define rather than
|
|
|
|
hard-coding it. */
|
2013-12-06 13:16:00 +00:00
|
|
|
#if defined(MOZ_VPX_ERROR_CONCEALMENT)
|
2011-10-14 00:37:29 +00:00
|
|
|
#undef CONFIG_ERROR_CONCEALMENT
|
|
|
|
#define CONFIG_ERROR_CONCEALMENT 1
|
|
|
|
#endif
|