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
00120 unsigned avutil_version(void);
00121
00125 const char *avutil_configuration(void);
00126
00130 const char *avutil_license(void);
00131
00141 enum AVMediaType {
00142 AVMEDIA_TYPE_UNKNOWN = -1,
00143 AVMEDIA_TYPE_VIDEO,
00144 AVMEDIA_TYPE_AUDIO,
00145 AVMEDIA_TYPE_DATA,
00146 AVMEDIA_TYPE_SUBTITLE,
00147 AVMEDIA_TYPE_ATTACHMENT,
00148 AVMEDIA_TYPE_NB
00149 };
00150
00155 const char *av_get_media_type_string(enum AVMediaType media_type);
00156
00167 #define FF_LAMBDA_SHIFT 7
00168 #define FF_LAMBDA_SCALE (1<<FF_LAMBDA_SHIFT)
00169 #define FF_QP2LAMBDA 118
00170 #define FF_LAMBDA_MAX (256*128-1)
00171
00172 #define FF_QUALITY_SCALE FF_LAMBDA_SCALE //FIXME maybe remove
00173
00190 #define AV_NOPTS_VALUE ((int64_t)UINT64_C(0x8000000000000000))
00191
00196 #define AV_TIME_BASE 1000000
00197
00202 #define AV_TIME_BASE_Q (AVRational){1, AV_TIME_BASE}
00203
00214 enum AVPictureType {
00215 AV_PICTURE_TYPE_NONE = 0,
00216 AV_PICTURE_TYPE_I,
00217 AV_PICTURE_TYPE_P,
00218 AV_PICTURE_TYPE_B,
00219 AV_PICTURE_TYPE_S,
00220 AV_PICTURE_TYPE_SI,
00221 AV_PICTURE_TYPE_SP,
00222 AV_PICTURE_TYPE_BI,
00223 };
00224
00232 char av_get_picture_type_char(enum AVPictureType pict_type);
00233
00238 #include "common.h"
00239 #include "error.h"
00240 #include "version.h"
00241 #include "mathematics.h"
00242 #include "rational.h"
00243 #include "intfloat_readwrite.h"
00244 #include "log.h"
00245 #include "pixfmt.h"
00246
00250 static inline void *av_x_if_null(const void *p, const void *x)
00251 {
00252 return (void *)(intptr_t)(p ? p : x);
00253 }
00254
00260 #endif