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.

88 lines
2.6KB

  1. /*
  2. * This file is part of Libav.
  3. *
  4. * Libav is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU Lesser General Public
  6. * License as published by the Free Software Foundation; either
  7. * version 2.1 of the License, or (at your option) any later version.
  8. *
  9. * Libav is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  12. * Lesser General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU Lesser General Public
  15. * License along with Libav; if not, write to the Free Software
  16. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  17. */
  18. #ifndef AVUTIL_VERSION_H
  19. #define AVUTIL_VERSION_H
  20. #include "avutil.h"
  21. /**
  22. * @file
  23. * @ingroup lavu
  24. * Libavutil version macros
  25. */
  26. /**
  27. * @defgroup lavu_ver Version and Build diagnostics
  28. *
  29. * Macros and function useful to check at compiletime and at runtime
  30. * which version of libavutil is in use.
  31. *
  32. * @{
  33. */
  34. #define LIBAVUTIL_VERSION_MAJOR 52
  35. #define LIBAVUTIL_VERSION_MINOR 4
  36. #define LIBAVUTIL_VERSION_MICRO 0
  37. #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
  38. LIBAVUTIL_VERSION_MINOR, \
  39. LIBAVUTIL_VERSION_MICRO)
  40. #define LIBAVUTIL_VERSION AV_VERSION(LIBAVUTIL_VERSION_MAJOR, \
  41. LIBAVUTIL_VERSION_MINOR, \
  42. LIBAVUTIL_VERSION_MICRO)
  43. #define LIBAVUTIL_BUILD LIBAVUTIL_VERSION_INT
  44. #define LIBAVUTIL_IDENT "Lavu" AV_STRINGIFY(LIBAVUTIL_VERSION)
  45. /**
  46. * @}
  47. *
  48. * @defgroup depr_guards Deprecation guards
  49. * FF_API_* defines may be placed below to indicate public API that will be
  50. * dropped at a future version bump. The defines themselves are not part of
  51. * the public API and may change, break or disappear at any time.
  52. *
  53. * @{
  54. */
  55. #ifndef FF_API_PIX_FMT
  56. #define FF_API_PIX_FMT (LIBAVUTIL_VERSION_MAJOR < 53)
  57. #endif
  58. #ifndef FF_API_CONTEXT_SIZE
  59. #define FF_API_CONTEXT_SIZE (LIBAVUTIL_VERSION_MAJOR < 53)
  60. #endif
  61. #ifndef FF_API_PIX_FMT_DESC
  62. #define FF_API_PIX_FMT_DESC (LIBAVUTIL_VERSION_MAJOR < 53)
  63. #endif
  64. #ifndef FF_API_AV_REVERSE
  65. #define FF_API_AV_REVERSE (LIBAVUTIL_VERSION_MAJOR < 53)
  66. #endif
  67. #ifndef FF_API_AUDIOCONVERT
  68. #define FF_API_AUDIOCONVERT (LIBAVUTIL_VERSION_MAJOR < 53)
  69. #endif
  70. #ifndef FF_API_CPU_FLAG_MMX2
  71. #define FF_API_CPU_FLAG_MMX2 (LIBAVUTIL_VERSION_MAJOR < 53)
  72. #endif
  73. /**
  74. * @}
  75. */
  76. #endif /* AVUTIL_VERSION_H */