FFmpeg
version.h
Go to the documentation of this file.
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 
19 #ifndef AVCODEC_VERSION_H
20 #define AVCODEC_VERSION_H
21 
22 /**
23  * @file
24  * @ingroup libavc
25  * Libavcodec version macros.
26  */
27 
28 #include "libavutil/version.h"
29 
30 #define LIBAVCODEC_VERSION_MAJOR 58
31 #define LIBAVCODEC_VERSION_MINOR 134
32 #define LIBAVCODEC_VERSION_MICRO 100
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 /**
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.
48  *
49  * @note, when bumping the major version it is recommended to manually
50  * disable each FF_API_* in its own commit instead of disabling them all
51  * at once through the bump. This improves the git bisect-ability of the change.
52  */
53 
54 #ifndef FF_API_AVCTX_TIMEBASE
55 #define FF_API_AVCTX_TIMEBASE (LIBAVCODEC_VERSION_MAJOR < 59)
56 #endif
57 #ifndef FF_API_CODED_FRAME
58 #define FF_API_CODED_FRAME (LIBAVCODEC_VERSION_MAJOR < 59)
59 #endif
60 #ifndef FF_API_SIDEDATA_ONLY_PKT
61 #define FF_API_SIDEDATA_ONLY_PKT (LIBAVCODEC_VERSION_MAJOR < 59)
62 #endif
63 #ifndef FF_API_VDPAU_PROFILE
64 #define FF_API_VDPAU_PROFILE (LIBAVCODEC_VERSION_MAJOR < 59)
65 #endif
66 #ifndef FF_API_CONVERGENCE_DURATION
67 #define FF_API_CONVERGENCE_DURATION (LIBAVCODEC_VERSION_MAJOR < 59)
68 #endif
69 #ifndef FF_API_AVPICTURE
70 #define FF_API_AVPICTURE (LIBAVCODEC_VERSION_MAJOR < 59)
71 #endif
72 #ifndef FF_API_AVPACKET_OLD_API
73 #define FF_API_AVPACKET_OLD_API (LIBAVCODEC_VERSION_MAJOR < 59)
74 #endif
75 #ifndef FF_API_RTP_CALLBACK
76 #define FF_API_RTP_CALLBACK (LIBAVCODEC_VERSION_MAJOR < 59)
77 #endif
78 #ifndef FF_API_VBV_DELAY
79 #define FF_API_VBV_DELAY (LIBAVCODEC_VERSION_MAJOR < 59)
80 #endif
81 #ifndef FF_API_CODER_TYPE
82 #define FF_API_CODER_TYPE (LIBAVCODEC_VERSION_MAJOR < 59)
83 #endif
84 #ifndef FF_API_STAT_BITS
85 #define FF_API_STAT_BITS (LIBAVCODEC_VERSION_MAJOR < 59)
86 #endif
87 #ifndef FF_API_PRIVATE_OPT
88 #define FF_API_PRIVATE_OPT (LIBAVCODEC_VERSION_MAJOR < 59)
89 #endif
90 #ifndef FF_API_ASS_TIMING
91 #define FF_API_ASS_TIMING (LIBAVCODEC_VERSION_MAJOR < 59)
92 #endif
93 #ifndef FF_API_OLD_BSF
94 #define FF_API_OLD_BSF (LIBAVCODEC_VERSION_MAJOR < 59)
95 #endif
96 #ifndef FF_API_COPY_CONTEXT
97 #define FF_API_COPY_CONTEXT (LIBAVCODEC_VERSION_MAJOR < 59)
98 #endif
99 #ifndef FF_API_GET_CONTEXT_DEFAULTS
100 #define FF_API_GET_CONTEXT_DEFAULTS (LIBAVCODEC_VERSION_MAJOR < 59)
101 #endif
102 #ifndef FF_API_NVENC_OLD_NAME
103 #define FF_API_NVENC_OLD_NAME (LIBAVCODEC_VERSION_MAJOR < 59)
104 #endif
105 #ifndef FF_API_STRUCT_VAAPI_CONTEXT
106 #define FF_API_STRUCT_VAAPI_CONTEXT (LIBAVCODEC_VERSION_MAJOR < 59)
107 #endif
108 #ifndef FF_API_MERGE_SD_API
109 #define FF_API_MERGE_SD_API (LIBAVCODEC_VERSION_MAJOR < 59)
110 #endif
111 #ifndef FF_API_TAG_STRING
112 #define FF_API_TAG_STRING (LIBAVCODEC_VERSION_MAJOR < 59)
113 #endif
114 #ifndef FF_API_GETCHROMA
115 #define FF_API_GETCHROMA (LIBAVCODEC_VERSION_MAJOR < 59)
116 #endif
117 #ifndef FF_API_CODEC_GET_SET
118 #define FF_API_CODEC_GET_SET (LIBAVCODEC_VERSION_MAJOR < 59)
119 #endif
120 #ifndef FF_API_USER_VISIBLE_AVHWACCEL
121 #define FF_API_USER_VISIBLE_AVHWACCEL (LIBAVCODEC_VERSION_MAJOR < 59)
122 #endif
123 #ifndef FF_API_LOCKMGR
124 #define FF_API_LOCKMGR (LIBAVCODEC_VERSION_MAJOR < 59)
125 #endif
126 #ifndef FF_API_NEXT
127 #define FF_API_NEXT (LIBAVCODEC_VERSION_MAJOR < 59)
128 #endif
129 #ifndef FF_API_UNSANITIZED_BITRATES
130 #define FF_API_UNSANITIZED_BITRATES (LIBAVCODEC_VERSION_MAJOR < 59)
131 #endif
132 #ifndef FF_API_OPENH264_SLICE_MODE
133 #define FF_API_OPENH264_SLICE_MODE (LIBAVCODEC_VERSION_MAJOR < 59)
134 #endif
135 #ifndef FF_API_OPENH264_CABAC
136 #define FF_API_OPENH264_CABAC (LIBAVCODEC_VERSION_MAJOR < 59)
137 #endif
138 #ifndef FF_API_UNUSED_CODEC_CAPS
139 #define FF_API_UNUSED_CODEC_CAPS (LIBAVCODEC_VERSION_MAJOR < 59)
140 #endif
141 #ifndef FF_API_AVPRIV_PUT_BITS
142 #define FF_API_AVPRIV_PUT_BITS (LIBAVCODEC_VERSION_MAJOR < 59)
143 #endif
144 #ifndef FF_API_OLD_ENCDEC
145 #define FF_API_OLD_ENCDEC (LIBAVCODEC_VERSION_MAJOR < 59)
146 #endif
147 #ifndef FF_API_AVCODEC_PIX_FMT
148 #define FF_API_AVCODEC_PIX_FMT (LIBAVCODEC_VERSION_MAJOR < 59)
149 #endif
150 #ifndef FF_API_MPV_RC_STRATEGY
151 #define FF_API_MPV_RC_STRATEGY (LIBAVCODEC_VERSION_MAJOR < 59)
152 #endif
153 #ifndef FF_API_PARSER_CHANGE
154 #define FF_API_PARSER_CHANGE (LIBAVCODEC_VERSION_MAJOR < 59)
155 #endif
156 #ifndef FF_API_THREAD_SAFE_CALLBACKS
157 #define FF_API_THREAD_SAFE_CALLBACKS (LIBAVCODEC_VERSION_MAJOR < 60)
158 #endif
159 #ifndef FF_API_DEBUG_MV
160 #define FF_API_DEBUG_MV (LIBAVCODEC_VERSION_MAJOR < 60)
161 #endif
162 #ifndef FF_API_GET_FRAME_CLASS
163 #define FF_API_GET_FRAME_CLASS (LIBAVCODEC_VERSION_MAJOR < 60)
164 #endif
165 #ifndef FF_API_AUTO_THREADS
166 #define FF_API_AUTO_THREADS (LIBAVCODEC_VERSION_MAJOR < 60)
167 #endif
168 #ifndef FF_API_INIT_PACKET
169 #define FF_API_INIT_PACKET (LIBAVCODEC_VERSION_MAJOR < 60)
170 #endif
171 
172 #endif /* AVCODEC_VERSION_H */
version.h