hwaccel: OS X Video Decoder Acceleration (VDA) support.
[libav.git] / libavcodec / version.h
1 /*
2 *
3 * This file is part of Libav.
4 *
5 * Libav 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 * Libav 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 Libav; 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 #define LIBAVCODEC_VERSION_MAJOR 53
24 #define LIBAVCODEC_VERSION_MINOR 20
25 #define LIBAVCODEC_VERSION_MICRO 0
26
27 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
28 LIBAVCODEC_VERSION_MINOR, \
29 LIBAVCODEC_VERSION_MICRO)
30 #define LIBAVCODEC_VERSION AV_VERSION(LIBAVCODEC_VERSION_MAJOR, \
31 LIBAVCODEC_VERSION_MINOR, \
32 LIBAVCODEC_VERSION_MICRO)
33 #define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT
34
35 #define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION)
36
37 /**
38 * Those FF_API_* defines are not part of public API.
39 * They may change, break or disappear at any time.
40 */
41 #ifndef FF_API_PALETTE_CONTROL
42 #define FF_API_PALETTE_CONTROL (LIBAVCODEC_VERSION_MAJOR < 54)
43 #endif
44 #ifndef FF_API_OLD_SAMPLE_FMT
45 #define FF_API_OLD_SAMPLE_FMT (LIBAVCODEC_VERSION_MAJOR < 54)
46 #endif
47 #ifndef FF_API_OLD_AUDIOCONVERT
48 #define FF_API_OLD_AUDIOCONVERT (LIBAVCODEC_VERSION_MAJOR < 54)
49 #endif
50 #ifndef FF_API_ANTIALIAS_ALGO
51 #define FF_API_ANTIALIAS_ALGO (LIBAVCODEC_VERSION_MAJOR < 54)
52 #endif
53 #ifndef FF_API_REQUEST_CHANNELS
54 #define FF_API_REQUEST_CHANNELS (LIBAVCODEC_VERSION_MAJOR < 54)
55 #endif
56 #ifndef FF_API_OPT_H
57 #define FF_API_OPT_H (LIBAVCODEC_VERSION_MAJOR < 54)
58 #endif
59 #ifndef FF_API_THREAD_INIT
60 #define FF_API_THREAD_INIT (LIBAVCODEC_VERSION_MAJOR < 54)
61 #endif
62 #ifndef FF_API_OLD_FF_PICT_TYPES
63 #define FF_API_OLD_FF_PICT_TYPES (LIBAVCODEC_VERSION_MAJOR < 54)
64 #endif
65 #ifndef FF_API_FLAC_GLOBAL_OPTS
66 #define FF_API_FLAC_GLOBAL_OPTS (LIBAVCODEC_VERSION_MAJOR < 54)
67 #endif
68 #ifndef FF_API_GET_PIX_FMT_NAME
69 #define FF_API_GET_PIX_FMT_NAME (LIBAVCODEC_VERSION_MAJOR < 54)
70 #endif
71 #ifndef FF_API_ALLOC_CONTEXT
72 #define FF_API_ALLOC_CONTEXT (LIBAVCODEC_VERSION_MAJOR < 54)
73 #endif
74 #ifndef FF_API_AVCODEC_OPEN
75 #define FF_API_AVCODEC_OPEN (LIBAVCODEC_VERSION_MAJOR < 54)
76 #endif
77 #ifndef FF_API_DRC_SCALE
78 #define FF_API_DRC_SCALE (LIBAVCODEC_VERSION_MAJOR < 54)
79 #endif
80 #ifndef FF_API_ER
81 #define FF_API_ER (LIBAVCODEC_VERSION_MAJOR < 54)
82 #endif
83 #ifndef FF_API_AVCODEC_INIT
84 #define FF_API_AVCODEC_INIT (LIBAVCODEC_VERSION_MAJOR < 54)
85 #endif
86 #ifndef FF_API_X264_GLOBAL_OPTS
87 #define FF_API_X264_GLOBAL_OPTS (LIBAVCODEC_VERSION_MAJOR < 54)
88 #endif
89 #ifndef FF_API_MPEGVIDEO_GLOBAL_OPTS
90 #define FF_API_MPEGVIDEO_GLOBAL_OPTS (LIBAVCODEC_VERSION_MAJOR < 54)
91 #endif
92 #ifndef FF_API_LAME_GLOBAL_OPTS
93 #define FF_API_LAME_GLOBAL_OPTS (LIBAVCODEC_VERSION_MAJOR < 54)
94 #endif
95 #ifndef FF_API_SNOW_GLOBAL_OPTS
96 #define FF_API_SNOW_GLOBAL_OPTS (LIBAVCODEC_VERSION_MAJOR < 54)
97 #endif
98 #ifndef FF_API_MJPEG_GLOBAL_OPTS
99 #define FF_API_MJPEG_GLOBAL_OPTS (LIBAVCODEC_VERSION_MAJOR < 54)
100 #endif
101 #ifndef FF_API_GET_ALPHA_INFO
102 #define FF_API_GET_ALPHA_INFO (LIBAVCODEC_VERSION_MAJOR < 54)
103 #endif
104 #ifndef FF_API_PARSE_FRAME
105 #define FF_API_PARSE_FRAME (LIBAVCODEC_VERSION_MAJOR < 54)
106 #endif
107
108 #endif /* AVCODEC_VERSION_H */