FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
version.h
Go to the documentation of this file.
1 /*
2  *
3  * This file is part of FFmpeg.
4  *
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.
9  *
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.
14  *
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
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 #include "libavutil/version.h"
30 
31 #define LIBAVCODEC_VERSION_MAJOR 56
32 #define LIBAVCODEC_VERSION_MINOR 26
33 #define LIBAVCODEC_VERSION_MICRO 100
34 
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
42 
43 #define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION)
44 
45 /**
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.
49  */
50 
51 #ifndef FF_API_VIMA_DECODER
52 #define FF_API_VIMA_DECODER (LIBAVCODEC_VERSION_MAJOR < 57)
53 #endif
54 #ifndef FF_API_REQUEST_CHANNELS
55 #define FF_API_REQUEST_CHANNELS (LIBAVCODEC_VERSION_MAJOR < 57)
56 #endif
57 #ifndef FF_API_OLD_DECODE_AUDIO
58 #define FF_API_OLD_DECODE_AUDIO (LIBAVCODEC_VERSION_MAJOR < 57)
59 #endif
60 #ifndef FF_API_OLD_ENCODE_AUDIO
61 #define FF_API_OLD_ENCODE_AUDIO (LIBAVCODEC_VERSION_MAJOR < 57)
62 #endif
63 #ifndef FF_API_OLD_ENCODE_VIDEO
64 #define FF_API_OLD_ENCODE_VIDEO (LIBAVCODEC_VERSION_MAJOR < 57)
65 #endif
66 #ifndef FF_API_CODEC_ID
67 #define FF_API_CODEC_ID (LIBAVCODEC_VERSION_MAJOR < 57)
68 #endif
69 #ifndef FF_API_AUDIO_CONVERT
70 #define FF_API_AUDIO_CONVERT (LIBAVCODEC_VERSION_MAJOR < 57)
71 #endif
72 #ifndef FF_API_AVCODEC_RESAMPLE
73 #define FF_API_AVCODEC_RESAMPLE FF_API_AUDIO_CONVERT
74 #endif
75 #ifndef FF_API_DEINTERLACE
76 #define FF_API_DEINTERLACE (LIBAVCODEC_VERSION_MAJOR < 57)
77 #endif
78 #ifndef FF_API_DESTRUCT_PACKET
79 #define FF_API_DESTRUCT_PACKET (LIBAVCODEC_VERSION_MAJOR < 57)
80 #endif
81 #ifndef FF_API_GET_BUFFER
82 #define FF_API_GET_BUFFER (LIBAVCODEC_VERSION_MAJOR < 57)
83 #endif
84 #ifndef FF_API_MISSING_SAMPLE
85 #define FF_API_MISSING_SAMPLE (LIBAVCODEC_VERSION_MAJOR < 57)
86 #endif
87 #ifndef FF_API_LOWRES
88 #define FF_API_LOWRES (LIBAVCODEC_VERSION_MAJOR < 57)
89 #endif
90 #ifndef FF_API_CAP_VDPAU
91 #define FF_API_CAP_VDPAU (LIBAVCODEC_VERSION_MAJOR < 57)
92 #endif
93 #ifndef FF_API_BUFS_VDPAU
94 #define FF_API_BUFS_VDPAU (LIBAVCODEC_VERSION_MAJOR < 57)
95 #endif
96 #ifndef FF_API_VOXWARE
97 #define FF_API_VOXWARE (LIBAVCODEC_VERSION_MAJOR < 57)
98 #endif
99 #ifndef FF_API_SET_DIMENSIONS
100 #define FF_API_SET_DIMENSIONS (LIBAVCODEC_VERSION_MAJOR < 57)
101 #endif
102 #ifndef FF_API_DEBUG_MV
103 #define FF_API_DEBUG_MV (LIBAVCODEC_VERSION_MAJOR < 57)
104 #endif
105 #ifndef FF_API_AC_VLC
106 #define FF_API_AC_VLC (LIBAVCODEC_VERSION_MAJOR < 57)
107 #endif
108 #ifndef FF_API_OLD_MSMPEG4
109 #define FF_API_OLD_MSMPEG4 (LIBAVCODEC_VERSION_MAJOR < 57)
110 #endif
111 #ifndef FF_API_ASPECT_EXTENDED
112 #define FF_API_ASPECT_EXTENDED (LIBAVCODEC_VERSION_MAJOR < 57)
113 #endif
114 #ifndef FF_API_THREAD_OPAQUE
115 #define FF_API_THREAD_OPAQUE (LIBAVCODEC_VERSION_MAJOR < 57)
116 #endif
117 #ifndef FF_API_CODEC_PKT
118 #define FF_API_CODEC_PKT (LIBAVCODEC_VERSION_MAJOR < 57)
119 #endif
120 #ifndef FF_API_ARCH_ALPHA
121 #define FF_API_ARCH_ALPHA (LIBAVCODEC_VERSION_MAJOR < 57)
122 #endif
123 #ifndef FF_API_XVMC
124 #define FF_API_XVMC (LIBAVCODEC_VERSION_MAJOR < 57)
125 #endif
126 #ifndef FF_API_ERROR_RATE
127 #define FF_API_ERROR_RATE (LIBAVCODEC_VERSION_MAJOR < 57)
128 #endif
129 #ifndef FF_API_QSCALE_TYPE
130 #define FF_API_QSCALE_TYPE (LIBAVCODEC_VERSION_MAJOR < 57)
131 #endif
132 #ifndef FF_API_MB_TYPE
133 #define FF_API_MB_TYPE (LIBAVCODEC_VERSION_MAJOR < 57)
134 #endif
135 #ifndef FF_API_MAX_BFRAMES
136 #define FF_API_MAX_BFRAMES (LIBAVCODEC_VERSION_MAJOR < 57)
137 #endif
138 #ifndef FF_API_NEG_LINESIZES
139 #define FF_API_NEG_LINESIZES (LIBAVCODEC_VERSION_MAJOR < 57)
140 #endif
141 #ifndef FF_API_EMU_EDGE
142 #define FF_API_EMU_EDGE (LIBAVCODEC_VERSION_MAJOR < 57)
143 #endif
144 #ifndef FF_API_ARCH_SH4
145 #define FF_API_ARCH_SH4 (LIBAVCODEC_VERSION_MAJOR < 57)
146 #endif
147 #ifndef FF_API_ARCH_SPARC
148 #define FF_API_ARCH_SPARC (LIBAVCODEC_VERSION_MAJOR < 57)
149 #endif
150 #ifndef FF_API_UNUSED_MEMBERS
151 #define FF_API_UNUSED_MEMBERS (LIBAVCODEC_VERSION_MAJOR < 57)
152 #endif
153 #ifndef FF_API_IDCT_XVIDMMX
154 #define FF_API_IDCT_XVIDMMX (LIBAVCODEC_VERSION_MAJOR < 57)
155 #endif
156 #ifndef FF_API_INPUT_PRESERVED
157 #define FF_API_INPUT_PRESERVED (LIBAVCODEC_VERSION_MAJOR < 57)
158 #endif
159 #ifndef FF_API_NORMALIZE_AQP
160 #define FF_API_NORMALIZE_AQP (LIBAVCODEC_VERSION_MAJOR < 57)
161 #endif
162 #ifndef FF_API_GMC
163 #define FF_API_GMC (LIBAVCODEC_VERSION_MAJOR < 57)
164 #endif
165 #ifndef FF_API_MV0
166 #define FF_API_MV0 (LIBAVCODEC_VERSION_MAJOR < 57)
167 #endif
168 #ifndef FF_API_CODEC_NAME
169 #define FF_API_CODEC_NAME (LIBAVCODEC_VERSION_MAJOR < 57)
170 #endif
171 #ifndef FF_API_AFD
172 #define FF_API_AFD (LIBAVCODEC_VERSION_MAJOR < 57)
173 #endif
174 #ifndef FF_API_VISMV
175 /* XXX: don't forget to drop the -vismv documentation */
176 #define FF_API_VISMV (LIBAVCODEC_VERSION_MAJOR < 57)
177 #endif
178 #ifndef FF_API_DV_FRAME_PROFILE
179 #define FF_API_DV_FRAME_PROFILE (LIBAVCODEC_VERSION_MAJOR < 57)
180 #endif
181 #ifndef FF_API_AUDIOENC_DELAY
182 #define FF_API_AUDIOENC_DELAY (LIBAVCODEC_VERSION_MAJOR < 58)
183 #endif
184 #ifndef FF_API_AVCTX_TIMEBASE
185 #define FF_API_AVCTX_TIMEBASE (LIBAVCODEC_VERSION_MAJOR < 59)
186 #endif
187 #ifndef FF_API_MPV_OPT
188 #define FF_API_MPV_OPT (LIBAVCODEC_VERSION_MAJOR < 59)
189 #endif
190 #ifndef FF_API_STREAM_CODEC_TAG
191 #define FF_API_STREAM_CODEC_TAG (LIBAVCODEC_VERSION_MAJOR < 59)
192 #endif
193 
194 #endif /* AVCODEC_VERSION_H */