avcore.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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 AVCORE_AVCORE_H
  19. #define AVCORE_AVCORE_H
  20. /**
  21. * @file
  22. * shared media utilities for the libav* libraries
  23. */
  24. #include "libavutil/avutil.h"
  25. #define LIBAVCORE_VERSION_MAJOR 0
  26. #define LIBAVCORE_VERSION_MINOR 9
  27. #define LIBAVCORE_VERSION_MICRO 0
  28. #define LIBAVCORE_VERSION_INT AV_VERSION_INT(LIBAVCORE_VERSION_MAJOR, \
  29. LIBAVCORE_VERSION_MINOR, \
  30. LIBAVCORE_VERSION_MICRO)
  31. #define LIBAVCORE_VERSION AV_VERSION(LIBAVCORE_VERSION_MAJOR, \
  32. LIBAVCORE_VERSION_MINOR, \
  33. LIBAVCORE_VERSION_MICRO)
  34. #define LIBAVCORE_BUILD LIBAVCORE_VERSION_INT
  35. #define LIBAVCORE_IDENT "Lavcore" AV_STRINGIFY(LIBAVCORE_VERSION)
  36. /**
  37. * Return the LIBAVCORE_VERSION_INT constant.
  38. */
  39. unsigned avcore_version(void);
  40. /**
  41. * Return the libavcore build-time configuration.
  42. */
  43. const char *avcore_configuration(void);
  44. /**
  45. * Return the libavcore license.
  46. */
  47. const char *avcore_license(void);
  48. /**
  49. * Those FF_API_* defines are not part of public API.
  50. * They may change, break or disappear at any time.
  51. */
  52. #ifndef FF_API_OLD_IMAGE_NAMES
  53. #define FF_API_OLD_IMAGE_NAMES (LIBAVCORE_VERSION_MAJOR < 1)
  54. #endif
  55. #endif /* AVCORE_AVCORE_H */