2010-06-08 16:31:28 -07:00
|
|
|
#if defined(VPX_X86_ASM)
|
|
|
|
|
2012-05-16 01:47:59 -07:00
|
|
|
#if defined(_WIN64)
|
|
|
|
/* 64 bit Windows */
|
|
|
|
#include "vpx_config_x86_64-win64-vs8.h"
|
|
|
|
|
|
|
|
#elif defined(_WIN32)
|
2010-06-08 16:31:28 -07:00
|
|
|
/* 32 bit Windows, MSVC. */
|
|
|
|
#include "vpx_config_x86-win32-vs8.h"
|
|
|
|
|
|
|
|
#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"
|
|
|
|
|
|
|
|
#elif defined(__linux__) && defined(__i386__)
|
|
|
|
/* 32 bit Linux. */
|
|
|
|
#include "vpx_config_x86-linux-gcc.h"
|
|
|
|
|
2010-06-21 17:01:48 -07:00
|
|
|
#elif defined(__linux__) && defined(__x86_64__)
|
|
|
|
/* 64 bit Linux. */
|
|
|
|
#include "vpx_config_x86_64-linux-gcc.h"
|
|
|
|
|
2010-08-06 00:03:02 -07:00
|
|
|
#elif defined(__sun) && defined(__i386)
|
|
|
|
/* 32 bit Solaris. */
|
|
|
|
#include "vpx_config_x86-linux-gcc.h"
|
|
|
|
|
|
|
|
#elif defined(__sun) && defined(__x86_64)
|
|
|
|
/* 64 bit Solaris. */
|
|
|
|
#include "vpx_config_x86_64-linux-gcc.h"
|
|
|
|
|
2010-06-08 16:31:28 -07:00
|
|
|
#else
|
|
|
|
#error VPX_X86_ASM is defined, but assembly not supported on this platform!
|
|
|
|
#endif
|
|
|
|
|
2010-11-07 23:47:17 -08:00
|
|
|
#elif defined(VPX_ARM_ASM)
|
|
|
|
|
|
|
|
#if defined(__linux__) && defined(__GNUC__)
|
|
|
|
/* ARM Linux */
|
|
|
|
#include "vpx_config_arm-linux-gcc.h"
|
|
|
|
|
|
|
|
#else
|
|
|
|
#error VPX_ARM_ASM is defined, but assembly not supported on this platform!
|
|
|
|
#endif
|
|
|
|
|
2010-06-08 16:31:28 -07:00
|
|
|
#else
|
|
|
|
/* Assume generic GNU/GCC configuration. */
|
|
|
|
#include "vpx_config_generic-gnu.h"
|
|
|
|
#endif
|
|
|
|
|
2011-10-13 17:37:29 -07:00
|
|
|
/* Control error-concealment support using our own #define rather than
|
|
|
|
hard-coding it. */
|
|
|
|
#if defined(MOZ_VP8_ERROR_CONCEALMENT)
|
|
|
|
#undef CONFIG_ERROR_CONCEALMENT
|
|
|
|
#define CONFIG_ERROR_CONCEALMENT 1
|
|
|
|
#endif
|
2011-10-13 17:37:34 -07:00
|
|
|
|
|
|
|
/* Control encoder support using our own #define rather than hard-coding it. */
|
|
|
|
#if defined(MOZ_VP8_ENCODER)
|
|
|
|
#undef CONFIG_VP8_ENCODER
|
|
|
|
#undef CONFIG_ENCODERS
|
2012-04-29 20:51:44 -07:00
|
|
|
#undef CONFIG_MULTI_RES_ENCODING
|
2011-10-13 17:37:34 -07:00
|
|
|
#define CONFIG_VP8_ENCODER 1
|
|
|
|
#define CONFIG_ENCODERS 1
|
2012-04-29 20:51:44 -07:00
|
|
|
#define CONFIG_MULTI_RES_ENCODING 1
|
2011-10-13 17:37:34 -07:00
|
|
|
#endif
|