Libav
|
00001 /* 00002 * copyright (c) 2006 Michael Niedermayer <michaelni@gmx.at> 00003 * 00004 * This file is part of FFmpeg. 00005 * 00006 * FFmpeg is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU Lesser General Public 00008 * License as published by the Free Software Foundation; either 00009 * version 2.1 of the License, or (at your option) any later version. 00010 * 00011 * FFmpeg is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 * Lesser General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU Lesser General Public 00017 * License along with FFmpeg; if not, write to the Free Software 00018 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00019 */ 00020 00021 #ifndef AVUTIL_AVUTIL_H 00022 #define AVUTIL_AVUTIL_H 00023 00030 #define AV_STRINGIFY(s) AV_TOSTRING(s) 00031 #define AV_TOSTRING(s) #s 00032 00033 #define AV_GLUE(a, b) a ## b 00034 #define AV_JOIN(a, b) AV_GLUE(a, b) 00035 00036 #define AV_PRAGMA(s) _Pragma(#s) 00037 00038 #define AV_VERSION_INT(a, b, c) (a<<16 | b<<8 | c) 00039 #define AV_VERSION_DOT(a, b, c) a ##.## b ##.## c 00040 #define AV_VERSION(a, b, c) AV_VERSION_DOT(a, b, c) 00041 00042 #define LIBAVUTIL_VERSION_MAJOR 50 00043 #define LIBAVUTIL_VERSION_MINOR 15 00044 #define LIBAVUTIL_VERSION_MICRO 1 00045 00046 #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ 00047 LIBAVUTIL_VERSION_MINOR, \ 00048 LIBAVUTIL_VERSION_MICRO) 00049 #define LIBAVUTIL_VERSION AV_VERSION(LIBAVUTIL_VERSION_MAJOR, \ 00050 LIBAVUTIL_VERSION_MINOR, \ 00051 LIBAVUTIL_VERSION_MICRO) 00052 #define LIBAVUTIL_BUILD LIBAVUTIL_VERSION_INT 00053 00054 #define LIBAVUTIL_IDENT "Lavu" AV_STRINGIFY(LIBAVUTIL_VERSION) 00055 00059 unsigned avutil_version(void); 00060 00064 const char *avutil_configuration(void); 00065 00069 const char *avutil_license(void); 00070 00071 enum AVMediaType { 00072 AVMEDIA_TYPE_UNKNOWN = -1, 00073 AVMEDIA_TYPE_VIDEO, 00074 AVMEDIA_TYPE_AUDIO, 00075 AVMEDIA_TYPE_DATA, 00076 AVMEDIA_TYPE_SUBTITLE, 00077 AVMEDIA_TYPE_ATTACHMENT, 00078 AVMEDIA_TYPE_NB 00079 }; 00080 00081 #include "common.h" 00082 #include "error.h" 00083 #include "mathematics.h" 00084 #include "rational.h" 00085 #include "intfloat_readwrite.h" 00086 #include "log.h" 00087 #include "pixfmt.h" 00088 00089 #endif /* AVUTIL_AVUTIL_H */