World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
version.h
См. документацию.
1 /*
2  * copyright (c) 2003 Fabrice Bellard
3  *
4  * This file is part of FFmpeg.
5  *
6  * FFmpeg is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * FFmpeg is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with FFmpeg; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19  */
20 
27 #ifndef AVUTIL_VERSION_H
28 #define AVUTIL_VERSION_H
29 
30 #include "macros.h"
31 
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)
59 
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)
67 
81 #define LIBAVUTIL_VERSION_MAJOR 56
82 #define LIBAVUTIL_VERSION_MINOR 31
83 #define LIBAVUTIL_VERSION_MICRO 100
84 
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
92 
93 #define LIBAVUTIL_IDENT "Lavu" AV_STRINGIFY(LIBAVUTIL_VERSION)
94 
108 #ifndef FF_API_VAAPI
109 #define FF_API_VAAPI (LIBAVUTIL_VERSION_MAJOR < 57)
110 #endif
111 #ifndef FF_API_FRAME_QP
112 #define FF_API_FRAME_QP (LIBAVUTIL_VERSION_MAJOR < 57)
113 #endif
114 #ifndef FF_API_PLUS1_MINUS1
115 #define FF_API_PLUS1_MINUS1 (LIBAVUTIL_VERSION_MAJOR < 57)
116 #endif
117 #ifndef FF_API_ERROR_FRAME
118 #define FF_API_ERROR_FRAME (LIBAVUTIL_VERSION_MAJOR < 57)
119 #endif
120 #ifndef FF_API_PKT_PTS
121 #define FF_API_PKT_PTS (LIBAVUTIL_VERSION_MAJOR < 57)
122 #endif
123 #ifndef FF_API_CRYPTO_SIZE_T
124 #define FF_API_CRYPTO_SIZE_T (LIBAVUTIL_VERSION_MAJOR < 57)
125 #endif
126 #ifndef FF_API_FRAME_GET_SET
127 #define FF_API_FRAME_GET_SET (LIBAVUTIL_VERSION_MAJOR < 57)
128 #endif
129 #ifndef FF_API_PSEUDOPAL
130 #define FF_API_PSEUDOPAL (LIBAVUTIL_VERSION_MAJOR < 57)
131 #endif
132 
133 
139 #endif /* AVUTIL_VERSION_H */
macros.h