annotate lib/libavutil/version.h @ 2500:952025b157aa

stru6.h
author Ritor1
date Fri, 19 Sep 2014 03:00:21 +0600
parents 992d2e6f907d
children
rev   line source
2134
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
1 /*
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
2 * copyright (c) 2003 Fabrice Bellard
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
3 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
4 * This file is part of FFmpeg.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
5 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
6 * FFmpeg is free software; you can redistribute it and/or
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
7 * modify it under the terms of the GNU Lesser General Public
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
8 * License as published by the Free Software Foundation; either
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
9 * version 2.1 of the License, or (at your option) any later version.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
10 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
11 * FFmpeg is distributed in the hope that it will be useful,
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
14 * Lesser General Public License for more details.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
15 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
16 * You should have received a copy of the GNU Lesser General Public
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
17 * License along with FFmpeg; if not, write to the Free Software
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
19 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
20
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
21 #ifndef AVUTIL_VERSION_H
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
22 #define AVUTIL_VERSION_H
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
23
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
24 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
25 * @defgroup preproc_misc Preprocessor String Macros
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
26 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
27 * String manipulation macros
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
28 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
29 * @{
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
30 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
31
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
32 #define AV_STRINGIFY(s) AV_TOSTRING(s)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
33 #define AV_TOSTRING(s) #s
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
34
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
35 #define AV_GLUE(a, b) a ## b
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
36 #define AV_JOIN(a, b) AV_GLUE(a, b)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
37
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
38 #define AV_PRAGMA(s) _Pragma(#s)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
39
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
40 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
41 * @}
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
42 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
43
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
44 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
45 * @defgroup version_utils Library Version Macros
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
46 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
47 * Useful to check and match library version in order to maintain
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
48 * backward compatibility.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
49 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
50 * @{
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
51 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
52
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
53 #define AV_VERSION_INT(a, b, c) (a<<16 | b<<8 | c)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
54 #define AV_VERSION_DOT(a, b, c) a ##.## b ##.## c
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
55 #define AV_VERSION(a, b, c) AV_VERSION_DOT(a, b, c)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
56
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
57 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
58 * @}
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
59 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
60
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
61
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
62 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
63 * @file
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
64 * @ingroup lavu
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
65 * Libavutil version macros
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
66 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
67
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
68 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
69 * @defgroup lavu_ver Version and Build diagnostics
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
70 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
71 * Macros and function useful to check at compiletime and at runtime
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
72 * which version of libavutil is in use.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
73 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
74 * @{
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
75 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
76
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
77 #define LIBAVUTIL_VERSION_MAJOR 52
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
78 #define LIBAVUTIL_VERSION_MINOR 33
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
79 #define LIBAVUTIL_VERSION_MICRO 100
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
80
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
81 #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
82 LIBAVUTIL_VERSION_MINOR, \
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
83 LIBAVUTIL_VERSION_MICRO)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
84 #define LIBAVUTIL_VERSION AV_VERSION(LIBAVUTIL_VERSION_MAJOR, \
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
85 LIBAVUTIL_VERSION_MINOR, \
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
86 LIBAVUTIL_VERSION_MICRO)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
87 #define LIBAVUTIL_BUILD LIBAVUTIL_VERSION_INT
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
88
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
89 #define LIBAVUTIL_IDENT "Lavu" AV_STRINGIFY(LIBAVUTIL_VERSION)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
90
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
91 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
92 * @}
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
93 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
94 * @defgroup depr_guards Deprecation guards
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
95 * FF_API_* defines may be placed below to indicate public API that will be
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
96 * dropped at a future version bump. The defines themselves are not part of
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
97 * the public API and may change, break or disappear at any time.
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
98 *
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
99 * @{
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
100 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
101
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
102 #ifndef FF_API_GET_BITS_PER_SAMPLE_FMT
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
103 #define FF_API_GET_BITS_PER_SAMPLE_FMT (LIBAVUTIL_VERSION_MAJOR < 53)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
104 #endif
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
105 #ifndef FF_API_FIND_OPT
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
106 #define FF_API_FIND_OPT (LIBAVUTIL_VERSION_MAJOR < 53)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
107 #endif
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
108 #ifndef FF_API_OLD_AVOPTIONS
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
109 #define FF_API_OLD_AVOPTIONS (LIBAVUTIL_VERSION_MAJOR < 53)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
110 #endif
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
111 #ifndef FF_API_PIX_FMT
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
112 #define FF_API_PIX_FMT (LIBAVUTIL_VERSION_MAJOR < 53)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
113 #endif
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
114 #ifndef FF_API_CONTEXT_SIZE
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
115 #define FF_API_CONTEXT_SIZE (LIBAVUTIL_VERSION_MAJOR < 53)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
116 #endif
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
117 #ifndef FF_API_PIX_FMT_DESC
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
118 #define FF_API_PIX_FMT_DESC (LIBAVUTIL_VERSION_MAJOR < 53)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
119 #endif
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
120 #ifndef FF_API_AV_REVERSE
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
121 #define FF_API_AV_REVERSE (LIBAVUTIL_VERSION_MAJOR < 53)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
122 #endif
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
123 #ifndef FF_API_AUDIOCONVERT
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
124 #define FF_API_AUDIOCONVERT (LIBAVUTIL_VERSION_MAJOR < 53)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
125 #endif
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
126 #ifndef FF_API_CPU_FLAG_MMX2
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
127 #define FF_API_CPU_FLAG_MMX2 (LIBAVUTIL_VERSION_MAJOR < 53)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
128 #endif
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
129 #ifndef FF_API_SAMPLES_UTILS_RETURN_ZERO
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
130 #define FF_API_SAMPLES_UTILS_RETURN_ZERO (LIBAVUTIL_VERSION_MAJOR < 53)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
131 #endif
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
132 #ifndef FF_API_LLS_PRIVATE
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
133 #define FF_API_LLS_PRIVATE (LIBAVUTIL_VERSION_MAJOR < 53)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
134 #endif
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
135 #ifndef FF_API_AVFRAME_LAVC
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
136 #define FF_API_AVFRAME_LAVC (LIBAVUTIL_VERSION_MAJOR < 53)
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
137 #endif
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
138
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
139 /**
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
140 * @}
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
141 */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
142
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
143 #endif /* AVUTIL_VERSION_H */
992d2e6f907d preparation for libavcodec
zipi
parents:
diff changeset
144