vpx_config.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. #if defined(VPX_X86_ASM)
  2. #if defined(_WIN64)
  3. /* 64 bit Windows */
  4. #ifdef _MSC_VER
  5. #include "vpx_config_x86_64-win64-vs12.h"
  6. #else
  7. #include "vpx_config_x86_64-win64-gcc.h"
  8. #endif
  9. #elif defined(_WIN32)
  10. /* 32 bit Windows, MSVC. */
  11. #ifdef _MSC_VER
  12. #include "vpx_config_x86-win32-vs12.h"
  13. #else
  14. #include "vpx_config_x86-win32-gcc.h"
  15. #endif
  16. #elif defined(__APPLE__) && defined(__x86_64__)
  17. /* 64 bit MacOS. */
  18. #include "vpx_config_x86_64-darwin9-gcc.h"
  19. #elif defined(__APPLE__) && defined(__i386__)
  20. /* 32 bit MacOS. */
  21. #include "vpx_config_x86-darwin9-gcc.h"
  22. #elif defined(__ELF__) && (defined(__i386) || defined(__i386__))
  23. /* 32 bit ELF platforms. */
  24. #include "vpx_config_x86-linux-gcc.h"
  25. #elif defined(__ELF__) && (defined(__x86_64) || defined(__x86_64__))
  26. /* 64 bit ELF platforms. */
  27. #include "vpx_config_x86_64-linux-gcc.h"
  28. #else
  29. #error VPX_X86_ASM is defined, but assembly not supported on this platform!
  30. #endif
  31. #elif defined(VPX_ARM_ASM)
  32. /* Android */
  33. #include "vpx_config_armv7-android-gcc.h"
  34. #else
  35. /* Assume generic GNU/GCC configuration. */
  36. #include "vpx_config_generic-gnu.h"
  37. #endif
  38. /* Control error-concealment support using our own #define rather than
  39. hard-coding it. */
  40. #if defined(MOZ_VPX_ERROR_CONCEALMENT)
  41. #undef CONFIG_ERROR_CONCEALMENT
  42. #define CONFIG_ERROR_CONCEALMENT 1
  43. #endif