27 #ifndef AVUTIL_VERSION_H
28 #define AVUTIL_VERSION_H
56 #define AV_VERSION_INT(a, b, c) ((a)<<16 | (b)<<8 | (c))
57 #define AV_VERSION_DOT(a, b, c) a ##.## b ##.## c
58 #define AV_VERSION(a, b, c) AV_VERSION_DOT(a, b, c)
64 #define AV_VERSION_MAJOR(a) ((a) >> 16)
65 #define AV_VERSION_MINOR(a) (((a) & 0x00FF00) >> 8)
66 #define AV_VERSION_MICRO(a) ((a) & 0xFF)
81 #define LIBAVUTIL_VERSION_MAJOR 56
82 #define LIBAVUTIL_VERSION_MINOR 22
83 #define LIBAVUTIL_VERSION_MICRO 100
85 #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
86 LIBAVUTIL_VERSION_MINOR, \
87 LIBAVUTIL_VERSION_MICRO)
88 #define LIBAVUTIL_VERSION AV_VERSION(LIBAVUTIL_VERSION_MAJOR, \
89 LIBAVUTIL_VERSION_MINOR, \
90 LIBAVUTIL_VERSION_MICRO)
91 #define LIBAVUTIL_BUILD LIBAVUTIL_VERSION_INT
93 #define LIBAVUTIL_IDENT "Lavu" AV_STRINGIFY(LIBAVUTIL_VERSION)
109 #define FF_API_VAAPI (LIBAVUTIL_VERSION_MAJOR < 57)
111 #ifndef FF_API_FRAME_QP
112 #define FF_API_FRAME_QP (LIBAVUTIL_VERSION_MAJOR < 57)
114 #ifndef FF_API_PLUS1_MINUS1
115 #define FF_API_PLUS1_MINUS1 (LIBAVUTIL_VERSION_MAJOR < 57)
117 #ifndef FF_API_ERROR_FRAME
118 #define FF_API_ERROR_FRAME (LIBAVUTIL_VERSION_MAJOR < 57)
120 #ifndef FF_API_PKT_PTS
121 #define FF_API_PKT_PTS (LIBAVUTIL_VERSION_MAJOR < 57)
123 #ifndef FF_API_CRYPTO_SIZE_T
124 #define FF_API_CRYPTO_SIZE_T (LIBAVUTIL_VERSION_MAJOR < 57)
126 #ifndef FF_API_FRAME_GET_SET
127 #define FF_API_FRAME_GET_SET (LIBAVUTIL_VERSION_MAJOR < 57)
129 #ifndef FF_API_PSEUDOPAL
130 #define FF_API_PSEUDOPAL (LIBAVUTIL_VERSION_MAJOR < 57)
Utility Preprocessor macros.