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.

76 lines
2.6KB

  1. /*
  2. *
  3. * This file is part of Libav.
  4. *
  5. * Libav 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. * Libav 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 Libav; 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 16
  28. #define LIBAVCODEC_VERSION_MICRO 0
  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. * Those FF_API_* defines are not part of public API.
  39. * They may change, break or disappear at any time.
  40. */
  41. #ifndef FF_API_REQUEST_CHANNELS
  42. #define FF_API_REQUEST_CHANNELS (LIBAVCODEC_VERSION_MAJOR < 55)
  43. #endif
  44. #ifndef FF_API_OLD_DECODE_AUDIO
  45. #define FF_API_OLD_DECODE_AUDIO (LIBAVCODEC_VERSION_MAJOR < 55)
  46. #endif
  47. #ifndef FF_API_OLD_ENCODE_AUDIO
  48. #define FF_API_OLD_ENCODE_AUDIO (LIBAVCODEC_VERSION_MAJOR < 55)
  49. #endif
  50. #ifndef FF_API_OLD_ENCODE_VIDEO
  51. #define FF_API_OLD_ENCODE_VIDEO (LIBAVCODEC_VERSION_MAJOR < 55)
  52. #endif
  53. #ifndef FF_API_MPV_GLOBAL_OPTS
  54. #define FF_API_MPV_GLOBAL_OPTS (LIBAVCODEC_VERSION_MAJOR < 55)
  55. #endif
  56. #ifndef FF_API_COLOR_TABLE_ID
  57. #define FF_API_COLOR_TABLE_ID (LIBAVCODEC_VERSION_MAJOR < 55)
  58. #endif
  59. #ifndef FF_API_INTER_THRESHOLD
  60. #define FF_API_INTER_THRESHOLD (LIBAVCODEC_VERSION_MAJOR < 55)
  61. #endif
  62. #ifndef FF_API_SUB_ID
  63. #define FF_API_SUB_ID (LIBAVCODEC_VERSION_MAJOR < 55)
  64. #endif
  65. #ifndef FF_API_DSP_MASK
  66. #define FF_API_DSP_MASK (LIBAVCODEC_VERSION_MAJOR < 55)
  67. #endif
  68. #endif /* AVCODEC_VERSION_H */