2 * This file is part of FFmpeg.
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.
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.
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
19 #ifndef AVCODEC_VERSION_H
20 #define AVCODEC_VERSION_H
25 * Libavcodec version macros.
28 #include "libavutil/version.h"
30 #define LIBAVCODEC_VERSION_MAJOR 57
31 #define LIBAVCODEC_VERSION_MINOR 83
32 #define LIBAVCODEC_VERSION_MICRO 100
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
42 #define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION)
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.
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.
54 #ifndef FF_API_VIMA_DECODER
55 #define FF_API_VIMA_DECODER (LIBAVCODEC_VERSION_MAJOR < 58)
57 #ifndef FF_API_AUDIO_CONVERT
58 #define FF_API_AUDIO_CONVERT (LIBAVCODEC_VERSION_MAJOR < 58)
60 #ifndef FF_API_AVCODEC_RESAMPLE
61 #define FF_API_AVCODEC_RESAMPLE FF_API_AUDIO_CONVERT
63 #ifndef FF_API_GETCHROMA
64 #define FF_API_GETCHROMA (LIBAVCODEC_VERSION_MAJOR < 58)
66 #ifndef FF_API_MISSING_SAMPLE
67 #define FF_API_MISSING_SAMPLE (LIBAVCODEC_VERSION_MAJOR < 58)
70 #define FF_API_LOWRES (LIBAVCODEC_VERSION_MAJOR < 58)
72 #ifndef FF_API_CAP_VDPAU
73 #define FF_API_CAP_VDPAU (LIBAVCODEC_VERSION_MAJOR < 58)
75 #ifndef FF_API_BUFS_VDPAU
76 #define FF_API_BUFS_VDPAU (LIBAVCODEC_VERSION_MAJOR < 58)
78 #ifndef FF_API_VOXWARE
79 #define FF_API_VOXWARE (LIBAVCODEC_VERSION_MAJOR < 58)
81 #ifndef FF_API_SET_DIMENSIONS
82 #define FF_API_SET_DIMENSIONS (LIBAVCODEC_VERSION_MAJOR < 58)
84 #ifndef FF_API_DEBUG_MV
85 #define FF_API_DEBUG_MV (LIBAVCODEC_VERSION_MAJOR < 58)
88 #define FF_API_AC_VLC (LIBAVCODEC_VERSION_MAJOR < 58)
90 #ifndef FF_API_OLD_MSMPEG4
91 #define FF_API_OLD_MSMPEG4 (LIBAVCODEC_VERSION_MAJOR < 58)
93 #ifndef FF_API_ASPECT_EXTENDED
94 #define FF_API_ASPECT_EXTENDED (LIBAVCODEC_VERSION_MAJOR < 58)
96 #ifndef FF_API_ARCH_ALPHA
97 #define FF_API_ARCH_ALPHA (LIBAVCODEC_VERSION_MAJOR < 58)
100 #define FF_API_XVMC (LIBAVCODEC_VERSION_MAJOR < 58)
102 #ifndef FF_API_ERROR_RATE
103 #define FF_API_ERROR_RATE (LIBAVCODEC_VERSION_MAJOR < 58)
105 #ifndef FF_API_QSCALE_TYPE
106 #define FF_API_QSCALE_TYPE (LIBAVCODEC_VERSION_MAJOR < 58)
108 #ifndef FF_API_MB_TYPE
109 #define FF_API_MB_TYPE (LIBAVCODEC_VERSION_MAJOR < 58)
111 #ifndef FF_API_MAX_BFRAMES
112 #define FF_API_MAX_BFRAMES (LIBAVCODEC_VERSION_MAJOR < 58)
114 #ifndef FF_API_NEG_LINESIZES
115 #define FF_API_NEG_LINESIZES (LIBAVCODEC_VERSION_MAJOR < 58)
117 #ifndef FF_API_EMU_EDGE
118 #define FF_API_EMU_EDGE (LIBAVCODEC_VERSION_MAJOR < 58)
120 #ifndef FF_API_ARCH_SH4
121 #define FF_API_ARCH_SH4 (LIBAVCODEC_VERSION_MAJOR < 58)
123 #ifndef FF_API_ARCH_SPARC
124 #define FF_API_ARCH_SPARC (LIBAVCODEC_VERSION_MAJOR < 58)
126 #ifndef FF_API_UNUSED_MEMBERS
127 #define FF_API_UNUSED_MEMBERS (LIBAVCODEC_VERSION_MAJOR < 58)
129 #ifndef FF_API_IDCT_XVIDMMX
130 #define FF_API_IDCT_XVIDMMX (LIBAVCODEC_VERSION_MAJOR < 58)
132 #ifndef FF_API_INPUT_PRESERVED
133 #define FF_API_INPUT_PRESERVED (LIBAVCODEC_VERSION_MAJOR < 58)
135 #ifndef FF_API_NORMALIZE_AQP
136 #define FF_API_NORMALIZE_AQP (LIBAVCODEC_VERSION_MAJOR < 58)
139 #define FF_API_GMC (LIBAVCODEC_VERSION_MAJOR < 58)
142 #define FF_API_MV0 (LIBAVCODEC_VERSION_MAJOR < 58)
144 #ifndef FF_API_CODEC_NAME
145 #define FF_API_CODEC_NAME (LIBAVCODEC_VERSION_MAJOR < 58)
148 #define FF_API_AFD (LIBAVCODEC_VERSION_MAJOR < 58)
151 /* XXX: don't forget to drop the -vismv documentation */
152 #define FF_API_VISMV (LIBAVCODEC_VERSION_MAJOR < 58)
154 #ifndef FF_API_AUDIOENC_DELAY
155 #define FF_API_AUDIOENC_DELAY (LIBAVCODEC_VERSION_MAJOR < 58)
157 #ifndef FF_API_VAAPI_CONTEXT
158 #define FF_API_VAAPI_CONTEXT (LIBAVCODEC_VERSION_MAJOR < 58)
160 #ifndef FF_API_AVCTX_TIMEBASE
161 #define FF_API_AVCTX_TIMEBASE (LIBAVCODEC_VERSION_MAJOR < 59)
163 #ifndef FF_API_MPV_OPT
164 #define FF_API_MPV_OPT (LIBAVCODEC_VERSION_MAJOR < 59)
166 #ifndef FF_API_STREAM_CODEC_TAG
167 #define FF_API_STREAM_CODEC_TAG (LIBAVCODEC_VERSION_MAJOR < 59)
169 #ifndef FF_API_QUANT_BIAS
170 #define FF_API_QUANT_BIAS (LIBAVCODEC_VERSION_MAJOR < 59)
172 #ifndef FF_API_RC_STRATEGY
173 #define FF_API_RC_STRATEGY (LIBAVCODEC_VERSION_MAJOR < 59)
175 #ifndef FF_API_CODED_FRAME
176 #define FF_API_CODED_FRAME (LIBAVCODEC_VERSION_MAJOR < 59)
178 #ifndef FF_API_MOTION_EST
179 #define FF_API_MOTION_EST (LIBAVCODEC_VERSION_MAJOR < 59)
181 #ifndef FF_API_WITHOUT_PREFIX
182 #define FF_API_WITHOUT_PREFIX (LIBAVCODEC_VERSION_MAJOR < 59)
184 #ifndef FF_API_SIDEDATA_ONLY_PKT
185 #define FF_API_SIDEDATA_ONLY_PKT (LIBAVCODEC_VERSION_MAJOR < 59)
187 #ifndef FF_API_VDPAU_PROFILE
188 #define FF_API_VDPAU_PROFILE (LIBAVCODEC_VERSION_MAJOR < 59)
190 #ifndef FF_API_CONVERGENCE_DURATION
191 #define FF_API_CONVERGENCE_DURATION (LIBAVCODEC_VERSION_MAJOR < 59)
193 #ifndef FF_API_AVPICTURE
194 #define FF_API_AVPICTURE (LIBAVCODEC_VERSION_MAJOR < 59)
196 #ifndef FF_API_AVPACKET_OLD_API
197 #define FF_API_AVPACKET_OLD_API (LIBAVCODEC_VERSION_MAJOR < 59)
199 #ifndef FF_API_RTP_CALLBACK
200 #define FF_API_RTP_CALLBACK (LIBAVCODEC_VERSION_MAJOR < 59)
202 #ifndef FF_API_VBV_DELAY
203 #define FF_API_VBV_DELAY (LIBAVCODEC_VERSION_MAJOR < 59)
205 #ifndef FF_API_CODER_TYPE
206 #define FF_API_CODER_TYPE (LIBAVCODEC_VERSION_MAJOR < 59)
208 #ifndef FF_API_STAT_BITS
209 #define FF_API_STAT_BITS (LIBAVCODEC_VERSION_MAJOR < 59)
211 #ifndef FF_API_PRIVATE_OPT
212 #define FF_API_PRIVATE_OPT (LIBAVCODEC_VERSION_MAJOR < 59)
214 #ifndef FF_API_ASS_TIMING
215 #define FF_API_ASS_TIMING (LIBAVCODEC_VERSION_MAJOR < 59)
217 #ifndef FF_API_OLD_BSF
218 #define FF_API_OLD_BSF (LIBAVCODEC_VERSION_MAJOR < 59)
220 #ifndef FF_API_COPY_CONTEXT
221 #define FF_API_COPY_CONTEXT (LIBAVCODEC_VERSION_MAJOR < 59)
223 #ifndef FF_API_GET_CONTEXT_DEFAULTS
224 #define FF_API_GET_CONTEXT_DEFAULTS (LIBAVCODEC_VERSION_MAJOR < 59)
226 #ifndef FF_API_NVENC_OLD_NAME
227 #define FF_API_NVENC_OLD_NAME (LIBAVCODEC_VERSION_MAJOR < 59)
229 #ifndef FF_API_STRUCT_VAAPI_CONTEXT
230 #define FF_API_STRUCT_VAAPI_CONTEXT (LIBAVCODEC_VERSION_MAJOR < 59)
233 #endif /* AVCODEC_VERSION_H */