You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ADM_coreConfig.h 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. #ifndef ADM_CORE_H
  2. #define ADM_CORE_H
  3. #define ADM_INSTALL_DIR "/usr"
  4. #define ADM_RELATIVE_LIB_DIR "lib"
  5. #define ADM_PLUGIN_DIR "ADM_plugins6"
  6. // GCC - CPU
  7. /* #undef ADM_BIG_ENDIAN */
  8. #define ADM_CPU_64BIT
  9. /* #undef ADM_CPU_ARMEL */
  10. #define ADM_CPU_X86
  11. /* #undef ADM_CPU_X86_32 */
  12. #define ADM_CPU_X86_64
  13. // GCC - Operating System
  14. /* #undef ADM_BSD_FAMILY */
  15. // use nvidia hw encoding
  16. /* #undef USE_NVENC */
  17. // use vdpau h264 hw decoding
  18. #define USE_VDPAU
  19. // use xvba h264 hw decoding
  20. /* #undef USE_XVBA */
  21. // use libva h264 hw decoding
  22. #define USE_LIBVA
  23. // 'gettimeofday' function is present
  24. #define HAVE_GETTIMEOFDAY
  25. // Presence of header files
  26. #define HAVE_INTTYPES_H 1
  27. #define HAVE_STDINT_H 1
  28. #define HAVE_SYS_TYPES_H
  29. #ifdef _MSC_VER
  30. # define ftello _ftelli64
  31. # define fseeko _fseeki64
  32. # define snprintf _snprintf
  33. # define strcasecmp(x, y) _stricmp(x, y)
  34. #elif defined(__MINGW32__)
  35. # define rindex strrchr
  36. # define index strchr
  37. # if !1
  38. # define ftello ftello64 // not defined on every mingw64_w32 version (e.g. set 2011-11-03 does not have it)
  39. # define fseeko fseeko64
  40. # endif // FTELLO
  41. #endif
  42. #if defined(ADM_CPU_X86_32) && defined(__GNUC__)
  43. # define attribute_align_arg __attribute__((force_align_arg_pointer))
  44. #else
  45. # define attribute_align_arg
  46. #endif
  47. /* use Nvwa memory leak detector */
  48. /* #undef FIND_LEAKS */
  49. #endif