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.

version.h 6.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. /*
  2. *
  3. * This file is part of FFmpeg.
  4. *
  5. * FFmpeg is free software; you can redistribute it and/or
  6. * modify it under the terms of the GNU Lesser General Public
  7. * License as published by the Free Software Foundation; either
  8. * version 2.1 of the License, or (at your option) any later version.
  9. *
  10. * FFmpeg is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. * Lesser General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU Lesser General Public
  16. * License along with FFmpeg; if not, write to the Free Software
  17. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  18. */
  19. #ifndef AVCODEC_VERSION_H
  20. #define AVCODEC_VERSION_H
  21. /**
  22. * @file
  23. * @ingroup libavc
  24. * Libavcodec version macros.
  25. */
  26. #include "libavutil/version.h"
  27. #define LIBAVCODEC_VERSION_MAJOR 56
  28. #define LIBAVCODEC_VERSION_MINOR 13
  29. #define LIBAVCODEC_VERSION_MICRO 100
  30. #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
  31. LIBAVCODEC_VERSION_MINOR, \
  32. LIBAVCODEC_VERSION_MICRO)
  33. #define LIBAVCODEC_VERSION AV_VERSION(LIBAVCODEC_VERSION_MAJOR, \
  34. LIBAVCODEC_VERSION_MINOR, \
  35. LIBAVCODEC_VERSION_MICRO)
  36. #define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT
  37. #define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION)
  38. /**
  39. * FF_API_* defines may be placed below to indicate public API that will be
  40. * dropped at a future version bump. The defines themselves are not part of
  41. * the public API and may change, break or disappear at any time.
  42. */
  43. #ifndef FF_API_REQUEST_CHANNELS
  44. #define FF_API_REQUEST_CHANNELS (LIBAVCODEC_VERSION_MAJOR < 57)
  45. #endif
  46. #ifndef FF_API_OLD_DECODE_AUDIO
  47. #define FF_API_OLD_DECODE_AUDIO (LIBAVCODEC_VERSION_MAJOR < 57)
  48. #endif
  49. #ifndef FF_API_OLD_ENCODE_AUDIO
  50. #define FF_API_OLD_ENCODE_AUDIO (LIBAVCODEC_VERSION_MAJOR < 57)
  51. #endif
  52. #ifndef FF_API_OLD_ENCODE_VIDEO
  53. #define FF_API_OLD_ENCODE_VIDEO (LIBAVCODEC_VERSION_MAJOR < 57)
  54. #endif
  55. #ifndef FF_API_CODEC_ID
  56. #define FF_API_CODEC_ID (LIBAVCODEC_VERSION_MAJOR < 57)
  57. #endif
  58. #ifndef FF_API_AUDIO_CONVERT
  59. #define FF_API_AUDIO_CONVERT (LIBAVCODEC_VERSION_MAJOR < 57)
  60. #endif
  61. #ifndef FF_API_AVCODEC_RESAMPLE
  62. #define FF_API_AVCODEC_RESAMPLE FF_API_AUDIO_CONVERT
  63. #endif
  64. #ifndef FF_API_DEINTERLACE
  65. #define FF_API_DEINTERLACE (LIBAVCODEC_VERSION_MAJOR < 57)
  66. #endif
  67. #ifndef FF_API_DESTRUCT_PACKET
  68. #define FF_API_DESTRUCT_PACKET (LIBAVCODEC_VERSION_MAJOR < 57)
  69. #endif
  70. #ifndef FF_API_GET_BUFFER
  71. #define FF_API_GET_BUFFER (LIBAVCODEC_VERSION_MAJOR < 57)
  72. #endif
  73. #ifndef FF_API_MISSING_SAMPLE
  74. #define FF_API_MISSING_SAMPLE (LIBAVCODEC_VERSION_MAJOR < 57)
  75. #endif
  76. #ifndef FF_API_LOWRES
  77. #define FF_API_LOWRES (LIBAVCODEC_VERSION_MAJOR < 57)
  78. #endif
  79. #ifndef FF_API_CAP_VDPAU
  80. #define FF_API_CAP_VDPAU (LIBAVCODEC_VERSION_MAJOR < 57)
  81. #endif
  82. #ifndef FF_API_BUFS_VDPAU
  83. #define FF_API_BUFS_VDPAU (LIBAVCODEC_VERSION_MAJOR < 57)
  84. #endif
  85. #ifndef FF_API_VOXWARE
  86. #define FF_API_VOXWARE (LIBAVCODEC_VERSION_MAJOR < 57)
  87. #endif
  88. #ifndef FF_API_SET_DIMENSIONS
  89. #define FF_API_SET_DIMENSIONS (LIBAVCODEC_VERSION_MAJOR < 57)
  90. #endif
  91. #ifndef FF_API_DEBUG_MV
  92. #define FF_API_DEBUG_MV (LIBAVCODEC_VERSION_MAJOR < 57)
  93. #endif
  94. #ifndef FF_API_AC_VLC
  95. #define FF_API_AC_VLC (LIBAVCODEC_VERSION_MAJOR < 57)
  96. #endif
  97. #ifndef FF_API_OLD_MSMPEG4
  98. #define FF_API_OLD_MSMPEG4 (LIBAVCODEC_VERSION_MAJOR < 57)
  99. #endif
  100. #ifndef FF_API_ASPECT_EXTENDED
  101. #define FF_API_ASPECT_EXTENDED (LIBAVCODEC_VERSION_MAJOR < 57)
  102. #endif
  103. #ifndef FF_API_THREAD_OPAQUE
  104. #define FF_API_THREAD_OPAQUE (LIBAVCODEC_VERSION_MAJOR < 57)
  105. #endif
  106. #ifndef FF_API_CODEC_PKT
  107. #define FF_API_CODEC_PKT (LIBAVCODEC_VERSION_MAJOR < 57)
  108. #endif
  109. #ifndef FF_API_ARCH_ALPHA
  110. #define FF_API_ARCH_ALPHA (LIBAVCODEC_VERSION_MAJOR < 57)
  111. #endif
  112. #ifndef FF_API_XVMC
  113. #define FF_API_XVMC (LIBAVCODEC_VERSION_MAJOR < 57)
  114. #endif
  115. #ifndef FF_API_ERROR_RATE
  116. #define FF_API_ERROR_RATE (LIBAVCODEC_VERSION_MAJOR < 57)
  117. #endif
  118. #ifndef FF_API_QSCALE_TYPE
  119. #define FF_API_QSCALE_TYPE (LIBAVCODEC_VERSION_MAJOR < 57)
  120. #endif
  121. #ifndef FF_API_MB_TYPE
  122. #define FF_API_MB_TYPE (LIBAVCODEC_VERSION_MAJOR < 57)
  123. #endif
  124. #ifndef FF_API_MAX_BFRAMES
  125. #define FF_API_MAX_BFRAMES (LIBAVCODEC_VERSION_MAJOR < 57)
  126. #endif
  127. #ifndef FF_API_NEG_LINESIZES
  128. #define FF_API_NEG_LINESIZES (LIBAVCODEC_VERSION_MAJOR < 57)
  129. #endif
  130. #ifndef FF_API_EMU_EDGE
  131. #define FF_API_EMU_EDGE (LIBAVCODEC_VERSION_MAJOR < 57)
  132. #endif
  133. #ifndef FF_API_ARCH_SH4
  134. #define FF_API_ARCH_SH4 (LIBAVCODEC_VERSION_MAJOR < 57)
  135. #endif
  136. #ifndef FF_API_ARCH_SPARC
  137. #define FF_API_ARCH_SPARC (LIBAVCODEC_VERSION_MAJOR < 57)
  138. #endif
  139. #ifndef FF_API_UNUSED_MEMBERS
  140. #define FF_API_UNUSED_MEMBERS (LIBAVCODEC_VERSION_MAJOR < 57)
  141. #endif
  142. #ifndef FF_API_IDCT_XVIDMMX
  143. #define FF_API_IDCT_XVIDMMX (LIBAVCODEC_VERSION_MAJOR < 57)
  144. #endif
  145. #ifndef FF_API_INPUT_PRESERVED
  146. #define FF_API_INPUT_PRESERVED (LIBAVCODEC_VERSION_MAJOR < 57)
  147. #endif
  148. #ifndef FF_API_NORMALIZE_AQP
  149. #define FF_API_NORMALIZE_AQP (LIBAVCODEC_VERSION_MAJOR < 57)
  150. #endif
  151. #ifndef FF_API_GMC
  152. #define FF_API_GMC (LIBAVCODEC_VERSION_MAJOR < 57)
  153. #endif
  154. #ifndef FF_API_MV0
  155. #define FF_API_MV0 (LIBAVCODEC_VERSION_MAJOR < 57)
  156. #endif
  157. #ifndef FF_API_CODEC_NAME
  158. #define FF_API_CODEC_NAME (LIBAVCODEC_VERSION_MAJOR < 57)
  159. #endif
  160. #ifndef FF_API_AFD
  161. #define FF_API_AFD (LIBAVCODEC_VERSION_MAJOR < 57)
  162. #endif
  163. #ifndef FF_API_VISMV
  164. /* XXX: don't forget to drop the -vismv documentation */
  165. #define FF_API_VISMV (LIBAVCODEC_VERSION_MAJOR < 57)
  166. #endif
  167. #ifndef FF_API_DV_FRAME_PROFILE
  168. #define FF_API_DV_FRAME_PROFILE (LIBAVCODEC_VERSION_MAJOR < 57)
  169. #endif
  170. #ifndef FF_API_AUDIOENC_DELAY
  171. #define FF_API_AUDIOENC_DELAY (LIBAVCODEC_VERSION_MAJOR < 58)
  172. #endif
  173. #ifndef FF_API_AVCTX_TIMEBASE
  174. #define FF_API_AVCTX_TIMEBASE (LIBAVCODEC_VERSION_MAJOR < 59)
  175. #endif
  176. #ifndef FF_API_MPV_OPT
  177. #define FF_API_MPV_OPT (LIBAVCODEC_VERSION_MAJOR < 59)
  178. #endif
  179. #endif /* AVCODEC_VERSION_H */