Commit | Line | Data |
---|---|---|
3dd851c4 | 1 | /* |
6001dad6 | 2 | * This file is part of Libav. |
3dd851c4 | 3 | * |
6001dad6 | 4 | * Libav is free software; you can redistribute it and/or |
3dd851c4 AK |
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 | * | |
6001dad6 | 9 | * Libav is distributed in the hope that it will be useful, |
3dd851c4 AK |
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 | |
6001dad6 | 15 | * License along with Libav; if not, write to the Free Software |
3dd851c4 AK |
16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
17 | */ | |
18 | ||
19 | #ifndef AVCODEC_VERSION_H | |
20 | #define AVCODEC_VERSION_H | |
21 | ||
7c59b5c2 AK |
22 | /** |
23 | * @file | |
24 | * @ingroup libavc | |
25 | * Libavcodec version macros. | |
26 | */ | |
27 | ||
b83d1ee3 DB |
28 | #include "libavutil/version.h" |
29 | ||
07a2b155 | 30 | #define LIBAVCODEC_VERSION_MAJOR 58 |
189157c3 | 31 | #define LIBAVCODEC_VERSION_MINOR 3 |
64a5260c | 32 | #define LIBAVCODEC_VERSION_MICRO 1 |
3dd851c4 AK |
33 | |
34 | #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ | |
35 | LIBAVCODEC_VERSION_MINOR, \ | |
36 | LIBAVCODEC_VERSION_MICRO) | |
37 | #define LIBAVCODEC_VERSION AV_VERSION(LIBAVCODEC_VERSION_MAJOR, \ | |
38 | LIBAVCODEC_VERSION_MINOR, \ | |
39 | LIBAVCODEC_VERSION_MICRO) | |
40 | #define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT | |
41 | ||
42 | #define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION) | |
43 | ||
44 | /** | |
2047e40e DB |
45 | * FF_API_* defines may be placed below to indicate public API that will be |
46 | * dropped at a future version bump. The defines themselves are not part of | |
47 | * the public API and may change, break or disappear at any time. | |
3dd851c4 | 48 | */ |
2047e40e | 49 | |
40cf1bba | 50 | #ifndef FF_API_CODED_FRAME |
0648dec1 | 51 | #define FF_API_CODED_FRAME (LIBAVCODEC_VERSION_MAJOR < 59) |
40cf1bba | 52 | #endif |
6064f697 VG |
53 | #ifndef FF_API_SIDEDATA_ONLY_PKT |
54 | #define FF_API_SIDEDATA_ONLY_PKT (LIBAVCODEC_VERSION_MAJOR < 59) | |
55 | #endif | |
b10b6ac7 RDC |
56 | #ifndef FF_API_VDPAU_PROFILE |
57 | #define FF_API_VDPAU_PROFILE (LIBAVCODEC_VERSION_MAJOR < 59) | |
58 | #endif | |
948f3c19 | 59 | #ifndef FF_API_CONVERGENCE_DURATION |
60 | #define FF_API_CONVERGENCE_DURATION (LIBAVCODEC_VERSION_MAJOR < 59) | |
61 | #endif | |
a17a7661 VG |
62 | #ifndef FF_API_AVPICTURE |
63 | #define FF_API_AVPICTURE (LIBAVCODEC_VERSION_MAJOR < 59) | |
64 | #endif | |
ce70f28a LB |
65 | #ifndef FF_API_AVPACKET_OLD_API |
66 | #define FF_API_AVPACKET_OLD_API (LIBAVCODEC_VERSION_MAJOR < 59) | |
67 | #endif | |
462a54e2 VG |
68 | #ifndef FF_API_RTP_CALLBACK |
69 | #define FF_API_RTP_CALLBACK (LIBAVCODEC_VERSION_MAJOR < 59) | |
70 | #endif | |
2507b5dd AK |
71 | #ifndef FF_API_VBV_DELAY |
72 | #define FF_API_VBV_DELAY (LIBAVCODEC_VERSION_MAJOR < 59) | |
73 | #endif | |
be00ec83 VG |
74 | #ifndef FF_API_CODER_TYPE |
75 | #define FF_API_CODER_TYPE (LIBAVCODEC_VERSION_MAJOR < 59) | |
76 | #endif | |
16216b71 VG |
77 | #ifndef FF_API_STAT_BITS |
78 | #define FF_API_STAT_BITS (LIBAVCODEC_VERSION_MAJOR < 59) | |
79 | #endif | |
ee359c72 AK |
80 | #ifndef FF_API_NVENC_OLD_NAME |
81 | #define FF_API_NVENC_OLD_NAME (LIBAVCODEC_VERSION_MAJOR < 59) | |
82 | #endif | |
0e6c8532 VG |
83 | #ifndef FF_API_PRIVATE_OPT |
84 | #define FF_API_PRIVATE_OPT (LIBAVCODEC_VERSION_MAJOR < 59) | |
85 | #endif | |
33d18982 AK |
86 | #ifndef FF_API_OLD_BSF |
87 | #define FF_API_OLD_BSF (LIBAVCODEC_VERSION_MAJOR < 59) | |
88 | #endif | |
5f30ac27 AK |
89 | #ifndef FF_API_COPY_CONTEXT |
90 | #define FF_API_COPY_CONTEXT (LIBAVCODEC_VERSION_MAJOR < 59) | |
91 | #endif | |
04fc8e24 AK |
92 | #ifndef FF_API_GET_CONTEXT_DEFAULTS |
93 | #define FF_API_GET_CONTEXT_DEFAULTS (LIBAVCODEC_VERSION_MAJOR < 59) | |
94 | #endif | |
851960f6 MT |
95 | #ifndef FF_API_VAAPI_CONTEXT |
96 | #define FF_API_VAAPI_CONTEXT (LIBAVCODEC_VERSION_MAJOR < 59) | |
97 | #endif | |
3dd851c4 AK |
98 | |
99 | #endif /* AVCODEC_VERSION_H */ |