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 module ffmpeg.libavcodec.avcodec_version;
20 import ffmpeg.libavutil.avutil;
21 
22 /**
23  * @file
24  * @ingroup libavc
25  * Libavcodec version macros.
26  */
27 
28 
29 
30 enum LIBAVCODEC_VERSION_MAJOR = 57;
31 enum LIBAVCODEC_VERSION_MINOR = 24;
32 enum LIBAVCODEC_VERSION_MICRO = 102;
33 
34 enum LIBAVCODEC_VERSION_INT = AV_VERSION_INT!(LIBAVCODEC_VERSION_MAJOR, 
35                                                LIBAVCODEC_VERSION_MINOR,
36                                                LIBAVCODEC_VERSION_MICRO);
37 enum LIBAVCODEC_VERSION  =   AV_VERSION!(LIBAVCODEC_VERSION_MAJOR,
38                                            LIBAVCODEC_VERSION_MINOR,
39                                            LIBAVCODEC_VERSION_MICRO);
40 enum LIBAVCODEC_BUILD    =   LIBAVCODEC_VERSION_INT;
41 
42 enum LIBAVCODEC_IDENT    =   "Lavc" ~ 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 
50 enum FF_API_VIMA_DECODER     = (LIBAVCODEC_VERSION_MAJOR < 58);
51 enum FF_API_AUDIO_CONVERT    = (LIBAVCODEC_VERSION_MAJOR < 58);
52 enum FF_API_AVCODEC_RESAMPLE = FF_API_AUDIO_CONVERT;
53 enum FF_API_GETCHROMA        = (LIBAVCODEC_VERSION_MAJOR < 58);
54 enum FF_API_MISSING_SAMPLE   = (LIBAVCODEC_VERSION_MAJOR < 58);
55 enum FF_API_LOWRES           = (LIBAVCODEC_VERSION_MAJOR < 58);
56 enum FF_API_CAP_VDPAU        = (LIBAVCODEC_VERSION_MAJOR < 58);
57 enum FF_API_BUFS_VDPAU       = (LIBAVCODEC_VERSION_MAJOR < 58);
58 enum FF_API_VOXWARE          = (LIBAVCODEC_VERSION_MAJOR < 58);
59 enum FF_API_SET_DIMENSIONS   = (LIBAVCODEC_VERSION_MAJOR < 58);
60 enum FF_API_DEBUG_MV         = (LIBAVCODEC_VERSION_MAJOR < 58);
61 enum FF_API_AC_VLC           = (LIBAVCODEC_VERSION_MAJOR < 58);
62 enum FF_API_OLD_MSMPEG4      = (LIBAVCODEC_VERSION_MAJOR < 58);
63 enum FF_API_ASPECT_EXTENDED  = (LIBAVCODEC_VERSION_MAJOR < 58);
64 enum FF_API_ARCH_ALPHA       = (LIBAVCODEC_VERSION_MAJOR < 58);
65 enum FF_API_XVMC             = (LIBAVCODEC_VERSION_MAJOR < 58);
66 enum FF_API_ERROR_RATE       = (LIBAVCODEC_VERSION_MAJOR < 58);
67 enum FF_API_QSCALE_TYPE      = (LIBAVCODEC_VERSION_MAJOR < 58);
68 enum FF_API_MB_TYPE          = (LIBAVCODEC_VERSION_MAJOR < 58);
69 enum FF_API_MAX_BFRAMES      = (LIBAVCODEC_VERSION_MAJOR < 58);
70 enum FF_API_NEG_LINESIZES    = (LIBAVCODEC_VERSION_MAJOR < 58);
71 enum FF_API_EMU_EDGE         = (LIBAVCODEC_VERSION_MAJOR < 58);
72 enum FF_API_ARCH_SH4         = (LIBAVCODEC_VERSION_MAJOR < 58);
73 enum FF_API_ARCH_SPARC       = (LIBAVCODEC_VERSION_MAJOR < 58);
74 enum FF_API_UNUSED_MEMBERS   = (LIBAVCODEC_VERSION_MAJOR < 58);
75 enum FF_API_IDCT_XVIDMMX     = (LIBAVCODEC_VERSION_MAJOR < 58);
76 enum FF_API_INPUT_PRESERVED  = (LIBAVCODEC_VERSION_MAJOR < 58);
77 enum FF_API_NORMALIZE_AQP    = (LIBAVCODEC_VERSION_MAJOR < 58);
78 enum FF_API_GMC              = (LIBAVCODEC_VERSION_MAJOR < 58);
79 enum FF_API_MV0              = (LIBAVCODEC_VERSION_MAJOR < 58);
80 enum FF_API_CODEC_NAME       = (LIBAVCODEC_VERSION_MAJOR < 58);
81 enum FF_API_AFD              = (LIBAVCODEC_VERSION_MAJOR < 58);
82 /* XXX: don't forget to drop the -vismv documentation */
83 enum FF_API_VISMV            = (LIBAVCODEC_VERSION_MAJOR < 58);
84 enum FF_API_AUDIOENC_DELAY   = (LIBAVCODEC_VERSION_MAJOR < 58);
85 enum FF_API_VAAPI_CONTEXT    = (LIBAVCODEC_VERSION_MAJOR < 58);
86 
87 enum FF_API_AVCTX_TIMEBASE   = (LIBAVCODEC_VERSION_MAJOR < 59);
88 enum FF_API_MPV_OPT          = (LIBAVCODEC_VERSION_MAJOR < 59);
89 enum FF_API_STREAM_CODEC_TAG = (LIBAVCODEC_VERSION_MAJOR < 59);
90 enum FF_API_QUANT_BIAS       = (LIBAVCODEC_VERSION_MAJOR < 59);
91 enum FF_API_RC_STRATEGY      = (LIBAVCODEC_VERSION_MAJOR < 59);
92 enum FF_API_CODED_FRAME      = (LIBAVCODEC_VERSION_MAJOR < 59);
93 enum FF_API_MOTION_EST       = (LIBAVCODEC_VERSION_MAJOR < 59);
94 enum FF_API_WITHOUT_PREFIX   = (LIBAVCODEC_VERSION_MAJOR < 59);
95 enum FF_API_SIDEDATA_ONLY_PKT= (LIBAVCODEC_VERSION_MAJOR < 59);
96 enum FF_API_VDPAU_PROFILE    = (LIBAVCODEC_VERSION_MAJOR < 59);
97 enum FF_API_CONVERGENCE_DURATION= (LIBAVCODEC_VERSION_MAJOR < 59);
98 enum FF_API_AVPICTURE        = (LIBAVCODEC_VERSION_MAJOR < 59);
99 enum FF_API_AVPACKET_OLD_API = (LIBAVCODEC_VERSION_MAJOR < 59);
100 enum FF_API_RTP_CALLBACK     = (LIBAVCODEC_VERSION_MAJOR < 59);
101 enum FF_API_VBV_DELAY        = (LIBAVCODEC_VERSION_MAJOR < 59);
102 enum FF_API_CODER_TYPE       = (LIBAVCODEC_VERSION_MAJOR < 59);
103 enum FF_API_STAT_BITS        = (LIBAVCODEC_VERSION_MAJOR < 59);
104 enum FF_API_PRIVATE_OPT      = (LIBAVCODEC_VERSION_MAJOR < 59);