vp9_rtcd.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. #if defined(_WIN64)
  9. /* 64 bit Windows */
  10. #ifdef _MSC_VER
  11. #include "vp9_rtcd_x86_64-win64-vs12.h"
  12. #else
  13. #include "vp9_rtcd_x86_64-win64-gcc.h"
  14. #endif
  15. #elif defined(_WIN32)
  16. /* 32 bit Windows, MSVC. */
  17. #ifdef _MSC_VER
  18. #include "vp9_rtcd_x86-win32-vs12.h"
  19. #else
  20. #include "vp9_rtcd_x86-win32-gcc.h"
  21. #endif
  22. #elif defined(__APPLE__) && defined(__x86_64__)
  23. /* 64 bit MacOS. */
  24. #include "vp9_rtcd_x86_64-darwin9-gcc.h"
  25. #elif defined(__APPLE__) && defined(__i386__)
  26. /* 32 bit MacOS. */
  27. #include "vp9_rtcd_x86-darwin9-gcc.h"
  28. #elif defined(__ELF__) && (defined(__i386) || defined(__i386__))
  29. /* 32 bit ELF platforms. */
  30. #include "vp9_rtcd_x86-linux-gcc.h"
  31. #elif defined(__ELF__) && (defined(__x86_64) || defined(__x86_64__))
  32. /* 64 bit ELF platforms. */
  33. #include "vp9_rtcd_x86_64-linux-gcc.h"
  34. #elif defined(VPX_ARM_ASM)
  35. /* Android */
  36. #include "vp9_rtcd_armv7-android-gcc.h"
  37. #else
  38. /* Assume generic GNU/GCC configuration. */
  39. #include "vp9_rtcd_generic-gnu.h"
  40. #endif