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.

100 lines
3.4KB

  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 AVCODEC_VERSION_H
  19. #define AVCODEC_VERSION_H
  20. /**
  21. * @file
  22. * @ingroup libavc
  23. * Libavcodec version macros.
  24. */
  25. #include "libavutil/version.h"
  26. #define LIBAVCODEC_VERSION_MAJOR 58
  27. #define LIBAVCODEC_VERSION_MINOR 3
  28. #define LIBAVCODEC_VERSION_MICRO 1
  29. #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
  30. LIBAVCODEC_VERSION_MINOR, \
  31. LIBAVCODEC_VERSION_MICRO)
  32. #define LIBAVCODEC_VERSION AV_VERSION(LIBAVCODEC_VERSION_MAJOR, \
  33. LIBAVCODEC_VERSION_MINOR, \
  34. LIBAVCODEC_VERSION_MICRO)
  35. #define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT
  36. #define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION)
  37. /**
  38. * FF_API_* defines may be placed below to indicate public API that will be
  39. * dropped at a future version bump. The defines themselves are not part of
  40. * the public API and may change, break or disappear at any time.
  41. */
  42. #ifndef FF_API_CODED_FRAME
  43. #define FF_API_CODED_FRAME (LIBAVCODEC_VERSION_MAJOR < 59)
  44. #endif
  45. #ifndef FF_API_SIDEDATA_ONLY_PKT
  46. #define FF_API_SIDEDATA_ONLY_PKT (LIBAVCODEC_VERSION_MAJOR < 59)
  47. #endif
  48. #ifndef FF_API_VDPAU_PROFILE
  49. #define FF_API_VDPAU_PROFILE (LIBAVCODEC_VERSION_MAJOR < 59)
  50. #endif
  51. #ifndef FF_API_CONVERGENCE_DURATION
  52. #define FF_API_CONVERGENCE_DURATION (LIBAVCODEC_VERSION_MAJOR < 59)
  53. #endif
  54. #ifndef FF_API_AVPICTURE
  55. #define FF_API_AVPICTURE (LIBAVCODEC_VERSION_MAJOR < 59)
  56. #endif
  57. #ifndef FF_API_AVPACKET_OLD_API
  58. #define FF_API_AVPACKET_OLD_API (LIBAVCODEC_VERSION_MAJOR < 59)
  59. #endif
  60. #ifndef FF_API_RTP_CALLBACK
  61. #define FF_API_RTP_CALLBACK (LIBAVCODEC_VERSION_MAJOR < 59)
  62. #endif
  63. #ifndef FF_API_VBV_DELAY
  64. #define FF_API_VBV_DELAY (LIBAVCODEC_VERSION_MAJOR < 59)
  65. #endif
  66. #ifndef FF_API_CODER_TYPE
  67. #define FF_API_CODER_TYPE (LIBAVCODEC_VERSION_MAJOR < 59)
  68. #endif
  69. #ifndef FF_API_STAT_BITS
  70. #define FF_API_STAT_BITS (LIBAVCODEC_VERSION_MAJOR < 59)
  71. #endif
  72. #ifndef FF_API_NVENC_OLD_NAME
  73. #define FF_API_NVENC_OLD_NAME (LIBAVCODEC_VERSION_MAJOR < 59)
  74. #endif
  75. #ifndef FF_API_PRIVATE_OPT
  76. #define FF_API_PRIVATE_OPT (LIBAVCODEC_VERSION_MAJOR < 59)
  77. #endif
  78. #ifndef FF_API_OLD_BSF
  79. #define FF_API_OLD_BSF (LIBAVCODEC_VERSION_MAJOR < 59)
  80. #endif
  81. #ifndef FF_API_COPY_CONTEXT
  82. #define FF_API_COPY_CONTEXT (LIBAVCODEC_VERSION_MAJOR < 59)
  83. #endif
  84. #ifndef FF_API_GET_CONTEXT_DEFAULTS
  85. #define FF_API_GET_CONTEXT_DEFAULTS (LIBAVCODEC_VERSION_MAJOR < 59)
  86. #endif
  87. #ifndef FF_API_VAAPI_CONTEXT
  88. #define FF_API_VAAPI_CONTEXT (LIBAVCODEC_VERSION_MAJOR < 59)
  89. #endif
  90. #endif /* AVCODEC_VERSION_H */