Libav
avutil.h
Go to the documentation of this file.
1 /*
2  * copyright (c) 2006 Michael Niedermayer <michaelni@gmx.at>
3  *
4  * This file is part of Libav.
5  *
6  * Libav is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * Libav is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with Libav; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19  */
20 
21 #ifndef AVUTIL_AVUTIL_H
22 #define AVUTIL_AVUTIL_H
23 
164 unsigned avutil_version(void);
165 
171 const char *av_version_info(void);
172 
176 const char *avutil_configuration(void);
177 
181 const char *avutil_license(void);
182 
200 };
201 
212 #define FF_LAMBDA_SHIFT 7
213 #define FF_LAMBDA_SCALE (1<<FF_LAMBDA_SHIFT)
214 #define FF_QP2LAMBDA 118
215 #define FF_LAMBDA_MAX (256*128-1)
216 
217 #define FF_QUALITY_SCALE FF_LAMBDA_SCALE //FIXME maybe remove
218 
235 #define AV_NOPTS_VALUE INT64_C(0x8000000000000000)
236 
241 #define AV_TIME_BASE 1000000
242 
247 #define AV_TIME_BASE_Q (AVRational){1, AV_TIME_BASE}
248 
267 };
268 
276 char av_get_picture_type_char(enum AVPictureType pict_type);
277 
282 #include "error.h"
283 #include "rational.h"
284 #include "version.h"
285 #include "macros.h"
286 
291 
297 #endif /* AVUTIL_AVUTIL_H */
BI type.
Definition: avutil.h:266
S(GMC)-VOP MPEG-4.
Definition: avutil.h:263
const char * avutil_configuration(void)
Return the libavutil build-time configuration.
Definition: utils.c:39
Switching Intra.
Definition: avutil.h:264
Opaque data information usually continuous.
Definition: avutil.h:196
char av_get_picture_type_char(enum AVPictureType pict_type)
Return a single letter to describe the given picture type pict_type.
Definition: utils.c:50
Utility Preprocessor macros.
unsigned avutil_version(void)
Return the LIBAVUTIL_VERSION_INT constant.
Definition: utils.c:34
error code definitions
Libavutil version macros.
const char * av_version_info(void)
Return an informative version string.
Definition: utils.c:29
Usually treated as AVMEDIA_TYPE_DATA.
Definition: avutil.h:193
Opaque data information usually sparse.
Definition: avutil.h:198
const char * avutil_license(void)
Return the libavutil license.
Definition: utils.c:44
Switching Predicted.
Definition: avutil.h:265
rational number numerator/denominator
Definition: rational.h:43
AVMediaType
Definition: avutil.h:192
AVPictureType
Definition: avutil.h:259
AVRational av_get_time_base_q(void)
Return the fractional representation of the internal time base.
Definition: utils.c:64
rational numbers
Bi-dir predicted.
Definition: avutil.h:262
Predicted.
Definition: avutil.h:261