3 * This file is part of FFmpeg.
5 * FFmpeg 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.
10 * FFmpeg 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.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with FFmpeg; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 #ifndef AVCODEC_VERSION_H
21 #define AVCODEC_VERSION_H
26 * Libavcodec version macros.
29 #include "libavutil/version.h"
31 #define LIBAVCODEC_VERSION_MAJOR 56
32 #define LIBAVCODEC_VERSION_MINOR 13
33 #define LIBAVCODEC_VERSION_MICRO 100
35 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
36 LIBAVCODEC_VERSION_MINOR, \
37 LIBAVCODEC_VERSION_MICRO)
38 #define LIBAVCODEC_VERSION AV_VERSION(LIBAVCODEC_VERSION_MAJOR, \
39 LIBAVCODEC_VERSION_MINOR, \
40 LIBAVCODEC_VERSION_MICRO)
41 #define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT
43 #define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION)
46 * FF_API_* defines may be placed below to indicate public API that will be
47 * dropped at a future version bump. The defines themselves are not part of
48 * the public API and may change, break or disappear at any time.
51 #ifndef FF_API_REQUEST_CHANNELS
52 #define FF_API_REQUEST_CHANNELS (LIBAVCODEC_VERSION_MAJOR < 57)
54 #ifndef FF_API_OLD_DECODE_AUDIO
55 #define FF_API_OLD_DECODE_AUDIO (LIBAVCODEC_VERSION_MAJOR < 57)
57 #ifndef FF_API_OLD_ENCODE_AUDIO
58 #define FF_API_OLD_ENCODE_AUDIO (LIBAVCODEC_VERSION_MAJOR < 57)
60 #ifndef FF_API_OLD_ENCODE_VIDEO
61 #define FF_API_OLD_ENCODE_VIDEO (LIBAVCODEC_VERSION_MAJOR < 57)
63 #ifndef FF_API_CODEC_ID
64 #define FF_API_CODEC_ID (LIBAVCODEC_VERSION_MAJOR < 57)
66 #ifndef FF_API_AUDIO_CONVERT
67 #define FF_API_AUDIO_CONVERT (LIBAVCODEC_VERSION_MAJOR < 57)
69 #ifndef FF_API_AVCODEC_RESAMPLE
70 #define FF_API_AVCODEC_RESAMPLE FF_API_AUDIO_CONVERT
72 #ifndef FF_API_DEINTERLACE
73 #define FF_API_DEINTERLACE (LIBAVCODEC_VERSION_MAJOR < 57)
75 #ifndef FF_API_DESTRUCT_PACKET
76 #define FF_API_DESTRUCT_PACKET (LIBAVCODEC_VERSION_MAJOR < 57)
78 #ifndef FF_API_GET_BUFFER
79 #define FF_API_GET_BUFFER (LIBAVCODEC_VERSION_MAJOR < 57)
81 #ifndef FF_API_MISSING_SAMPLE
82 #define FF_API_MISSING_SAMPLE (LIBAVCODEC_VERSION_MAJOR < 57)
85 #define FF_API_LOWRES (LIBAVCODEC_VERSION_MAJOR < 57)
87 #ifndef FF_API_CAP_VDPAU
88 #define FF_API_CAP_VDPAU (LIBAVCODEC_VERSION_MAJOR < 57)
90 #ifndef FF_API_BUFS_VDPAU
91 #define FF_API_BUFS_VDPAU (LIBAVCODEC_VERSION_MAJOR < 57)
93 #ifndef FF_API_VOXWARE
94 #define FF_API_VOXWARE (LIBAVCODEC_VERSION_MAJOR < 57)
96 #ifndef FF_API_SET_DIMENSIONS
97 #define FF_API_SET_DIMENSIONS (LIBAVCODEC_VERSION_MAJOR < 57)
99 #ifndef FF_API_DEBUG_MV
100 #define FF_API_DEBUG_MV (LIBAVCODEC_VERSION_MAJOR < 57)
102 #ifndef FF_API_AC_VLC
103 #define FF_API_AC_VLC (LIBAVCODEC_VERSION_MAJOR < 57)
105 #ifndef FF_API_OLD_MSMPEG4
106 #define FF_API_OLD_MSMPEG4 (LIBAVCODEC_VERSION_MAJOR < 57)
108 #ifndef FF_API_ASPECT_EXTENDED
109 #define FF_API_ASPECT_EXTENDED (LIBAVCODEC_VERSION_MAJOR < 57)
111 #ifndef FF_API_THREAD_OPAQUE
112 #define FF_API_THREAD_OPAQUE (LIBAVCODEC_VERSION_MAJOR < 57)
114 #ifndef FF_API_CODEC_PKT
115 #define FF_API_CODEC_PKT (LIBAVCODEC_VERSION_MAJOR < 57)
117 #ifndef FF_API_ARCH_ALPHA
118 #define FF_API_ARCH_ALPHA (LIBAVCODEC_VERSION_MAJOR < 57)
121 #define FF_API_XVMC (LIBAVCODEC_VERSION_MAJOR < 57)
123 #ifndef FF_API_ERROR_RATE
124 #define FF_API_ERROR_RATE (LIBAVCODEC_VERSION_MAJOR < 57)
126 #ifndef FF_API_QSCALE_TYPE
127 #define FF_API_QSCALE_TYPE (LIBAVCODEC_VERSION_MAJOR < 57)
129 #ifndef FF_API_MB_TYPE
130 #define FF_API_MB_TYPE (LIBAVCODEC_VERSION_MAJOR < 57)
132 #ifndef FF_API_MAX_BFRAMES
133 #define FF_API_MAX_BFRAMES (LIBAVCODEC_VERSION_MAJOR < 57)
135 #ifndef FF_API_NEG_LINESIZES
136 #define FF_API_NEG_LINESIZES (LIBAVCODEC_VERSION_MAJOR < 57)
138 #ifndef FF_API_EMU_EDGE
139 #define FF_API_EMU_EDGE (LIBAVCODEC_VERSION_MAJOR < 57)
141 #ifndef FF_API_ARCH_SH4
142 #define FF_API_ARCH_SH4 (LIBAVCODEC_VERSION_MAJOR < 57)
144 #ifndef FF_API_ARCH_SPARC
145 #define FF_API_ARCH_SPARC (LIBAVCODEC_VERSION_MAJOR < 57)
147 #ifndef FF_API_UNUSED_MEMBERS
148 #define FF_API_UNUSED_MEMBERS (LIBAVCODEC_VERSION_MAJOR < 57)
150 #ifndef FF_API_IDCT_XVIDMMX
151 #define FF_API_IDCT_XVIDMMX (LIBAVCODEC_VERSION_MAJOR < 57)
153 #ifndef FF_API_INPUT_PRESERVED
154 #define FF_API_INPUT_PRESERVED (LIBAVCODEC_VERSION_MAJOR < 57)
156 #ifndef FF_API_NORMALIZE_AQP
157 #define FF_API_NORMALIZE_AQP (LIBAVCODEC_VERSION_MAJOR < 57)
160 #define FF_API_GMC (LIBAVCODEC_VERSION_MAJOR < 57)
163 #define FF_API_MV0 (LIBAVCODEC_VERSION_MAJOR < 57)
165 #ifndef FF_API_CODEC_NAME
166 #define FF_API_CODEC_NAME (LIBAVCODEC_VERSION_MAJOR < 57)
169 #define FF_API_AFD (LIBAVCODEC_VERSION_MAJOR < 57)
172 /* XXX: don't forget to drop the -vismv documentation */
173 #define FF_API_VISMV (LIBAVCODEC_VERSION_MAJOR < 57)
175 #ifndef FF_API_DV_FRAME_PROFILE
176 #define FF_API_DV_FRAME_PROFILE (LIBAVCODEC_VERSION_MAJOR < 57)
178 #ifndef FF_API_AUDIOENC_DELAY
179 #define FF_API_AUDIOENC_DELAY (LIBAVCODEC_VERSION_MAJOR < 58)
181 #ifndef FF_API_AVCTX_TIMEBASE
182 #define FF_API_AVCTX_TIMEBASE (LIBAVCODEC_VERSION_MAJOR < 59)
184 #ifndef FF_API_MPV_OPT
185 #define FF_API_MPV_OPT (LIBAVCODEC_VERSION_MAJOR < 59)
188 #endif /* AVCODEC_VERSION_H */