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 55
32 #define LIBAVCODEC_VERSION_MINOR 55
33 #define LIBAVCODEC_VERSION_MICRO 107
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 < 56)
54 #ifndef FF_API_OLD_DECODE_AUDIO
55 #define FF_API_OLD_DECODE_AUDIO (LIBAVCODEC_VERSION_MAJOR < 56)
57 #ifndef FF_API_OLD_ENCODE_AUDIO
58 #define FF_API_OLD_ENCODE_AUDIO (LIBAVCODEC_VERSION_MAJOR < 56)
60 #ifndef FF_API_OLD_ENCODE_VIDEO
61 #define FF_API_OLD_ENCODE_VIDEO (LIBAVCODEC_VERSION_MAJOR < 56)
63 #ifndef FF_API_CODEC_ID
64 #define FF_API_CODEC_ID (LIBAVCODEC_VERSION_MAJOR < 56)
66 #ifndef FF_API_AUDIO_CONVERT
67 #define FF_API_AUDIO_CONVERT (LIBAVCODEC_VERSION_MAJOR < 56)
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 < 56)
75 #ifndef FF_API_DESTRUCT_PACKET
76 #define FF_API_DESTRUCT_PACKET (LIBAVCODEC_VERSION_MAJOR < 56)
78 #ifndef FF_API_GET_BUFFER
79 #define FF_API_GET_BUFFER (LIBAVCODEC_VERSION_MAJOR < 56)
81 #ifndef FF_API_MISSING_SAMPLE
82 #define FF_API_MISSING_SAMPLE (LIBAVCODEC_VERSION_MAJOR < 56)
85 #define FF_API_LOWRES (LIBAVCODEC_VERSION_MAJOR < 56)
87 #ifndef FF_API_CAP_VDPAU
88 #define FF_API_CAP_VDPAU (LIBAVCODEC_VERSION_MAJOR < 56)
90 #ifndef FF_API_BUFS_VDPAU
91 #define FF_API_BUFS_VDPAU (LIBAVCODEC_VERSION_MAJOR < 56)
93 #ifndef FF_API_VOXWARE
94 #define FF_API_VOXWARE (LIBAVCODEC_VERSION_MAJOR < 56)
96 #ifndef FF_API_SET_DIMENSIONS
97 #define FF_API_SET_DIMENSIONS (LIBAVCODEC_VERSION_MAJOR < 56)
99 #ifndef FF_API_DEBUG_MV
100 #define FF_API_DEBUG_MV (LIBAVCODEC_VERSION_MAJOR < 56)
102 #ifndef FF_API_AC_VLC
103 #define FF_API_AC_VLC (LIBAVCODEC_VERSION_MAJOR < 56)
105 #ifndef FF_API_OLD_MSMPEG4
106 #define FF_API_OLD_MSMPEG4 (LIBAVCODEC_VERSION_MAJOR < 56)
108 #ifndef FF_API_ASPECT_EXTENDED
109 #define FF_API_ASPECT_EXTENDED (LIBAVCODEC_VERSION_MAJOR < 56)
111 #ifndef FF_API_THREAD_OPAQUE
112 #define FF_API_THREAD_OPAQUE (LIBAVCODEC_VERSION_MAJOR < 56)
114 #ifndef FF_API_CODEC_PKT
115 #define FF_API_CODEC_PKT (LIBAVCODEC_VERSION_MAJOR < 56)
117 #ifndef FF_API_ARCH_ALPHA
118 #define FF_API_ARCH_ALPHA (LIBAVCODEC_VERSION_MAJOR < 56)
121 #define FF_API_XVMC (LIBAVCODEC_VERSION_MAJOR < 56)
123 #ifndef FF_API_ERROR_RATE
124 #define FF_API_ERROR_RATE (LIBAVCODEC_VERSION_MAJOR < 56)
126 #ifndef FF_API_QSCALE_TYPE
127 #define FF_API_QSCALE_TYPE (LIBAVCODEC_VERSION_MAJOR < 56)
129 #ifndef FF_API_MB_TYPE
130 #define FF_API_MB_TYPE (LIBAVCODEC_VERSION_MAJOR < 56)
132 #ifndef FF_API_MAX_BFRAMES
133 #define FF_API_MAX_BFRAMES (LIBAVCODEC_VERSION_MAJOR < 56)
135 #ifndef FF_API_FAST_MALLOC
136 #define FF_API_FAST_MALLOC (LIBAVCODEC_VERSION_MAJOR < 56)
138 #ifndef FF_API_NEG_LINESIZES
139 #define FF_API_NEG_LINESIZES (LIBAVCODEC_VERSION_MAJOR < 56)
141 #ifndef FF_API_EMU_EDGE
142 #define FF_API_EMU_EDGE (LIBAVCODEC_VERSION_MAJOR < 56)
144 #ifndef FF_API_ARCH_SH4
145 #define FF_API_ARCH_SH4 (LIBAVCODEC_VERSION_MAJOR < 56)
147 #ifndef FF_API_ARCH_SPARC
148 #define FF_API_ARCH_SPARC (LIBAVCODEC_VERSION_MAJOR < 56)
151 #endif /* AVCODEC_VERSION_H */