00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
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 51
00043 #define LIBAVUTIL_VERSION_MINOR 9
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
00060 #ifndef FF_API_OLD_EVAL_NAMES
00061 #define FF_API_OLD_EVAL_NAMES (LIBAVUTIL_VERSION_MAJOR < 52)
00062 #endif
00063 #ifndef FF_API_GET_BITS_PER_SAMPLE_FMT
00064 #define FF_API_GET_BITS_PER_SAMPLE_FMT (LIBAVUTIL_VERSION_MAJOR < 52)
00065 #endif
00066 #ifndef FF_API_FIND_OPT
00067 #define FF_API_FIND_OPT (LIBAVUTIL_VERSION_MAJOR < 52)
00068 #endif
00069
00073 unsigned avutil_version(void);
00074
00078 const char *avutil_configuration(void);
00079
00083 const char *avutil_license(void);
00084
00085 enum AVMediaType {
00086 AVMEDIA_TYPE_UNKNOWN = -1,
00087 AVMEDIA_TYPE_VIDEO,
00088 AVMEDIA_TYPE_AUDIO,
00089 AVMEDIA_TYPE_DATA,
00090 AVMEDIA_TYPE_SUBTITLE,
00091 AVMEDIA_TYPE_ATTACHMENT,
00092 AVMEDIA_TYPE_NB
00093 };
00094
00095 #define FF_LAMBDA_SHIFT 7
00096 #define FF_LAMBDA_SCALE (1<<FF_LAMBDA_SHIFT)
00097 #define FF_QP2LAMBDA 118
00098 #define FF_LAMBDA_MAX (256*128-1)
00099
00100 #define FF_QUALITY_SCALE FF_LAMBDA_SCALE //FIXME maybe remove
00101
00102 #define AV_NOPTS_VALUE INT64_C(0x8000000000000000)
00103 #define AV_TIME_BASE 1000000
00104 #define AV_TIME_BASE_Q (AVRational){1, AV_TIME_BASE}
00105
00106 enum AVPictureType {
00107 AV_PICTURE_TYPE_NONE = 0,
00108 AV_PICTURE_TYPE_I,
00109 AV_PICTURE_TYPE_P,
00110 AV_PICTURE_TYPE_B,
00111 AV_PICTURE_TYPE_S,
00112 AV_PICTURE_TYPE_SI,
00113 AV_PICTURE_TYPE_SP,
00114 AV_PICTURE_TYPE_BI,
00115 };
00116
00124 char av_get_picture_type_char(enum AVPictureType pict_type);
00125
00126 #include "common.h"
00127 #include "error.h"
00128 #include "mathematics.h"
00129 #include "rational.h"
00130 #include "intfloat_readwrite.h"
00131 #include "log.h"
00132 #include "pixfmt.h"
00133
00134 #endif