version.h 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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. #define LIBAVCODEC_VERSION_MAJOR 54
  27. #define LIBAVCODEC_VERSION_MINOR 60
  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. #ifndef FF_API_REQUEST_CHANNELS
  43. #define FF_API_REQUEST_CHANNELS (LIBAVCODEC_VERSION_MAJOR < 55)
  44. #endif
  45. #ifndef FF_API_ALLOC_CONTEXT
  46. #define FF_API_ALLOC_CONTEXT (LIBAVCODEC_VERSION_MAJOR < 55)
  47. #endif
  48. #ifndef FF_API_AVCODEC_OPEN
  49. #define FF_API_AVCODEC_OPEN (LIBAVCODEC_VERSION_MAJOR < 55)
  50. #endif
  51. #ifndef FF_API_OLD_DECODE_AUDIO
  52. #define FF_API_OLD_DECODE_AUDIO (LIBAVCODEC_VERSION_MAJOR < 55)
  53. #endif
  54. #ifndef FF_API_OLD_TIMECODE
  55. #define FF_API_OLD_TIMECODE (LIBAVCODEC_VERSION_MAJOR < 55)
  56. #endif
  57. #ifndef FF_API_OLD_ENCODE_AUDIO
  58. #define FF_API_OLD_ENCODE_AUDIO (LIBAVCODEC_VERSION_MAJOR < 55)
  59. #endif
  60. #ifndef FF_API_OLD_ENCODE_VIDEO
  61. #define FF_API_OLD_ENCODE_VIDEO (LIBAVCODEC_VERSION_MAJOR < 55)
  62. #endif
  63. #ifndef FF_API_MPV_GLOBAL_OPTS
  64. #define FF_API_MPV_GLOBAL_OPTS (LIBAVCODEC_VERSION_MAJOR < 55)
  65. #endif
  66. #ifndef FF_API_COLOR_TABLE_ID
  67. #define FF_API_COLOR_TABLE_ID (LIBAVCODEC_VERSION_MAJOR < 55)
  68. #endif
  69. #ifndef FF_API_INTER_THRESHOLD
  70. #define FF_API_INTER_THRESHOLD (LIBAVCODEC_VERSION_MAJOR < 55)
  71. #endif
  72. #ifndef FF_API_SUB_ID
  73. #define FF_API_SUB_ID (LIBAVCODEC_VERSION_MAJOR < 55)
  74. #endif
  75. #ifndef FF_API_DSP_MASK
  76. #define FF_API_DSP_MASK (LIBAVCODEC_VERSION_MAJOR < 55)
  77. #endif
  78. #ifndef FF_API_FIND_BEST_PIX_FMT
  79. #define FF_API_FIND_BEST_PIX_FMT (LIBAVCODEC_VERSION_MAJOR < 55)
  80. #endif
  81. #ifndef FF_API_CODEC_ID
  82. #define FF_API_CODEC_ID (LIBAVCODEC_VERSION_MAJOR < 55)
  83. #endif
  84. #ifndef FF_API_VDA_ASYNC
  85. #define FF_API_VDA_ASYNC (LIBAVCODEC_VERSION_MAJOR < 55)
  86. #endif
  87. #endif /* AVCODEC_VERSION_H */