Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
 

141 строка
4.8 KiB

  1. /*
  2. * This file is part of FFmpeg.
  3. *
  4. * FFmpeg 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. * FFmpeg 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 FFmpeg; 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 46
  28. #define LIBAVCODEC_VERSION_MICRO 100
  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. * @note, when bumping the major version it is recommended to manually
  43. * disable each FF_API_* in its own commit instead of disabling them all
  44. * at once through the bump. This improves the git bisect-ability of the change.
  45. */
  46. #ifndef FF_API_LOWRES
  47. #define FF_API_LOWRES (LIBAVCODEC_VERSION_MAJOR < 59)
  48. #endif
  49. #ifndef FF_API_DEBUG_MV
  50. #define FF_API_DEBUG_MV (LIBAVCODEC_VERSION_MAJOR < 58)
  51. #endif
  52. #ifndef FF_API_AVCTX_TIMEBASE
  53. #define FF_API_AVCTX_TIMEBASE (LIBAVCODEC_VERSION_MAJOR < 59)
  54. #endif
  55. #ifndef FF_API_CODED_FRAME
  56. #define FF_API_CODED_FRAME (LIBAVCODEC_VERSION_MAJOR < 59)
  57. #endif
  58. #ifndef FF_API_SIDEDATA_ONLY_PKT
  59. #define FF_API_SIDEDATA_ONLY_PKT (LIBAVCODEC_VERSION_MAJOR < 59)
  60. #endif
  61. #ifndef FF_API_VDPAU_PROFILE
  62. #define FF_API_VDPAU_PROFILE (LIBAVCODEC_VERSION_MAJOR < 59)
  63. #endif
  64. #ifndef FF_API_CONVERGENCE_DURATION
  65. #define FF_API_CONVERGENCE_DURATION (LIBAVCODEC_VERSION_MAJOR < 59)
  66. #endif
  67. #ifndef FF_API_AVPICTURE
  68. #define FF_API_AVPICTURE (LIBAVCODEC_VERSION_MAJOR < 59)
  69. #endif
  70. #ifndef FF_API_AVPACKET_OLD_API
  71. #define FF_API_AVPACKET_OLD_API (LIBAVCODEC_VERSION_MAJOR < 59)
  72. #endif
  73. #ifndef FF_API_RTP_CALLBACK
  74. #define FF_API_RTP_CALLBACK (LIBAVCODEC_VERSION_MAJOR < 59)
  75. #endif
  76. #ifndef FF_API_VBV_DELAY
  77. #define FF_API_VBV_DELAY (LIBAVCODEC_VERSION_MAJOR < 59)
  78. #endif
  79. #ifndef FF_API_CODER_TYPE
  80. #define FF_API_CODER_TYPE (LIBAVCODEC_VERSION_MAJOR < 59)
  81. #endif
  82. #ifndef FF_API_STAT_BITS
  83. #define FF_API_STAT_BITS (LIBAVCODEC_VERSION_MAJOR < 59)
  84. #endif
  85. #ifndef FF_API_PRIVATE_OPT
  86. #define FF_API_PRIVATE_OPT (LIBAVCODEC_VERSION_MAJOR < 59)
  87. #endif
  88. #ifndef FF_API_ASS_TIMING
  89. #define FF_API_ASS_TIMING (LIBAVCODEC_VERSION_MAJOR < 59)
  90. #endif
  91. #ifndef FF_API_OLD_BSF
  92. #define FF_API_OLD_BSF (LIBAVCODEC_VERSION_MAJOR < 59)
  93. #endif
  94. #ifndef FF_API_COPY_CONTEXT
  95. #define FF_API_COPY_CONTEXT (LIBAVCODEC_VERSION_MAJOR < 59)
  96. #endif
  97. #ifndef FF_API_GET_CONTEXT_DEFAULTS
  98. #define FF_API_GET_CONTEXT_DEFAULTS (LIBAVCODEC_VERSION_MAJOR < 59)
  99. #endif
  100. #ifndef FF_API_NVENC_OLD_NAME
  101. #define FF_API_NVENC_OLD_NAME (LIBAVCODEC_VERSION_MAJOR < 59)
  102. #endif
  103. #ifndef FF_API_STRUCT_VAAPI_CONTEXT
  104. #define FF_API_STRUCT_VAAPI_CONTEXT (LIBAVCODEC_VERSION_MAJOR < 59)
  105. #endif
  106. #ifndef FF_API_MERGE_SD_API
  107. #define FF_API_MERGE_SD_API (LIBAVCODEC_VERSION_MAJOR < 59)
  108. #endif
  109. #ifndef FF_API_TAG_STRING
  110. #define FF_API_TAG_STRING (LIBAVCODEC_VERSION_MAJOR < 59)
  111. #endif
  112. #ifndef FF_API_GETCHROMA
  113. #define FF_API_GETCHROMA (LIBAVCODEC_VERSION_MAJOR < 59)
  114. #endif
  115. #ifndef FF_API_CODEC_GET_SET
  116. #define FF_API_CODEC_GET_SET (LIBAVCODEC_VERSION_MAJOR < 59)
  117. #endif
  118. #ifndef FF_API_USER_VISIBLE_AVHWACCEL
  119. #define FF_API_USER_VISIBLE_AVHWACCEL (LIBAVCODEC_VERSION_MAJOR < 59)
  120. #endif
  121. #ifndef FF_API_LOCKMGR
  122. #define FF_API_LOCKMGR (LIBAVCODEC_VERSION_MAJOR < 59)
  123. #endif
  124. #ifndef FF_API_NEXT
  125. #define FF_API_NEXT (LIBAVCODEC_VERSION_MAJOR < 59)
  126. #endif
  127. #ifndef FF_API_UNSANITIZED_BITRATES
  128. #define FF_API_UNSANITIZED_BITRATES (LIBAVCODEC_VERSION_MAJOR < 59)
  129. #endif
  130. #endif /* AVCODEC_VERSION_H */