|
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 |
|
20 #ifndef AVCODEC_VERSION_H |
|
21 #define AVCODEC_VERSION_H |
|
22 |
|
23 /** |
|
24 * @file |
|
25 * @ingroup libavc |
|
26 * Libavcodec version macros. |
|
27 */ |
|
28 |
|
29 #define LIBAVCODEC_VERSION_MAJOR 54 |
|
30 #define LIBAVCODEC_VERSION_MINOR 31 |
|
31 #define LIBAVCODEC_VERSION_MICRO 0 |
|
32 |
|
33 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ |
|
34 LIBAVCODEC_VERSION_MINOR, \ |
|
35 LIBAVCODEC_VERSION_MICRO) |
|
36 #define LIBAVCODEC_VERSION AV_VERSION(LIBAVCODEC_VERSION_MAJOR, \ |
|
37 LIBAVCODEC_VERSION_MINOR, \ |
|
38 LIBAVCODEC_VERSION_MICRO) |
|
39 #define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT |
|
40 |
|
41 #define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION) |
|
42 |
|
43 /** |
|
44 * FF_API_* defines may be placed below to indicate public API that will be |
|
45 * dropped at a future version bump. The defines themselves are not part of |
|
46 * the public API and may change, break or disappear at any time. |
|
47 */ |
|
48 |
|
49 #ifndef FF_API_REQUEST_CHANNELS |
|
50 #define FF_API_REQUEST_CHANNELS (LIBAVCODEC_VERSION_MAJOR < 55) |
|
51 #endif |
|
52 #ifndef FF_API_OLD_DECODE_AUDIO |
|
53 #define FF_API_OLD_DECODE_AUDIO (LIBAVCODEC_VERSION_MAJOR < 55) |
|
54 #endif |
|
55 #ifndef FF_API_OLD_ENCODE_AUDIO |
|
56 #define FF_API_OLD_ENCODE_AUDIO (LIBAVCODEC_VERSION_MAJOR < 55) |
|
57 #endif |
|
58 #ifndef FF_API_OLD_ENCODE_VIDEO |
|
59 #define FF_API_OLD_ENCODE_VIDEO (LIBAVCODEC_VERSION_MAJOR < 55) |
|
60 #endif |
|
61 #ifndef FF_API_MPV_GLOBAL_OPTS |
|
62 #define FF_API_MPV_GLOBAL_OPTS (LIBAVCODEC_VERSION_MAJOR < 55) |
|
63 #endif |
|
64 #ifndef FF_API_COLOR_TABLE_ID |
|
65 #define FF_API_COLOR_TABLE_ID (LIBAVCODEC_VERSION_MAJOR < 55) |
|
66 #endif |
|
67 #ifndef FF_API_INTER_THRESHOLD |
|
68 #define FF_API_INTER_THRESHOLD (LIBAVCODEC_VERSION_MAJOR < 55) |
|
69 #endif |
|
70 #ifndef FF_API_SUB_ID |
|
71 #define FF_API_SUB_ID (LIBAVCODEC_VERSION_MAJOR < 55) |
|
72 #endif |
|
73 #ifndef FF_API_DSP_MASK |
|
74 #define FF_API_DSP_MASK (LIBAVCODEC_VERSION_MAJOR < 55) |
|
75 #endif |
|
76 #ifndef FF_API_FIND_BEST_PIX_FMT |
|
77 #define FF_API_FIND_BEST_PIX_FMT (LIBAVCODEC_VERSION_MAJOR < 55) |
|
78 #endif |
|
79 #ifndef FF_API_CODEC_ID |
|
80 #define FF_API_CODEC_ID (LIBAVCODEC_VERSION_MAJOR < 55) |
|
81 #endif |
|
82 #ifndef FF_API_VDA_ASYNC |
|
83 #define FF_API_VDA_ASYNC (LIBAVCODEC_VERSION_MAJOR < 55) |
|
84 #endif |
|
85 #ifndef FF_API_AVCODEC_RESAMPLE |
|
86 #define FF_API_AVCODEC_RESAMPLE (LIBAVCODEC_VERSION_MAJOR < 55) |
|
87 #endif |
|
88 #ifndef FF_API_LIBMPEG2 |
|
89 #define FF_API_LIBMPEG2 (LIBAVCODEC_VERSION_MAJOR < 55) |
|
90 #endif |
|
91 #ifndef FF_API_MMI |
|
92 #define FF_API_MMI (LIBAVCODEC_VERSION_MAJOR < 55) |
|
93 #endif |
|
94 |
|
95 #endif /* AVCODEC_VERSION_H */ |