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 
170 unsigned avutil_version(void);
171 
177 const char *av_version_info(void);
178 
182 const char *avutil_configuration(void);
183 
187 const char *avutil_license(void);
188 
206 };
207 
218 #define FF_LAMBDA_SHIFT 7
219 #define FF_LAMBDA_SCALE (1<<FF_LAMBDA_SHIFT)
220 #define FF_QP2LAMBDA 118
221 #define FF_LAMBDA_MAX (256*128-1)
222 
223 #define FF_QUALITY_SCALE FF_LAMBDA_SCALE //FIXME maybe remove
224 
241 #define AV_NOPTS_VALUE INT64_C(0x8000000000000000)
242 
247 #define AV_TIME_BASE 1000000
248 
253 #define AV_TIME_BASE_Q (AVRational){1, AV_TIME_BASE}
254 
273 };
274 
282 char av_get_picture_type_char(enum AVPictureType pict_type);
283 
288 #include "error.h"
289 #include "rational.h"
290 #include "version.h"
291 #include "macros.h"
292 
297 
303 #endif /* AVUTIL_AVUTIL_H */
BI type.
Definition: avutil.h:272
S(GMC)-VOP MPEG-4.
Definition: avutil.h:269
const char * avutil_configuration(void)
Return the libavutil build-time configuration.
Switching Intra.
Definition: avutil.h:270
Opaque data information usually continuous.
Definition: avutil.h:202
char av_get_picture_type_char(enum AVPictureType pict_type)
Return a single letter to describe the given picture type pict_type.
Utility Preprocessor macros.
unsigned avutil_version(void)
Return the LIBAVUTIL_VERSION_INT constant.
error code definitions
Libavutil version macros.
const char * av_version_info(void)
Return an informative version string.
Usually treated as AVMEDIA_TYPE_DATA.
Definition: avutil.h:199
Opaque data information usually sparse.
Definition: avutil.h:204
const char * avutil_license(void)
Return the libavutil license.
Switching Predicted.
Definition: avutil.h:271
rational number numerator/denominator
Definition: rational.h:43
AVMediaType
Definition: avutil.h:198
AVPictureType
Definition: avutil.h:265
AVRational av_get_time_base_q(void)
Return the fractional representation of the internal time base.
rational numbers
Bi-dir predicted.
Definition: avutil.h:268
Predicted.
Definition: avutil.h:267