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 
169 const char *avutil_configuration(void);
170 
174 const char *avutil_license(void);
175 
193 };
194 
205 #define FF_LAMBDA_SHIFT 7
206 #define FF_LAMBDA_SCALE (1<<FF_LAMBDA_SHIFT)
207 #define FF_QP2LAMBDA 118
208 #define FF_LAMBDA_MAX (256*128-1)
209 
210 #define FF_QUALITY_SCALE FF_LAMBDA_SCALE //FIXME maybe remove
211 
228 #define AV_NOPTS_VALUE INT64_C(0x8000000000000000)
229 
234 #define AV_TIME_BASE 1000000
235 
240 #define AV_TIME_BASE_Q (AVRational){1, AV_TIME_BASE}
241 
260 };
261 
269 char av_get_picture_type_char(enum AVPictureType pict_type);
270 
275 #include "error.h"
276 #include "rational.h"
277 #include "version.h"
278 #include "macros.h"
279 
284 
290 #endif /* AVUTIL_AVUTIL_H */
BI type.
Definition: avutil.h:259
S(GMC)-VOP MPEG4.
Definition: avutil.h:256
Switching Intra.
Definition: avutil.h:257
error code definitions
Opaque data information usually continuous.
Definition: avutil.h:189
Libavutil version macros.
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:43
rational numbers
unsigned avutil_version(void)
Return the LIBAVUTIL_VERSION_INT constant.
Definition: utils.c:27
Usually treated as AVMEDIA_TYPE_DATA.
Definition: avutil.h:186
Opaque data information usually sparse.
Definition: avutil.h:191
const char * avutil_license(void)
Return the libavutil license.
Definition: utils.c:37
Switching Predicted.
Definition: avutil.h:258
rational number numerator/denominator
Definition: rational.h:43
AVMediaType
Definition: avutil.h:185
AVPictureType
Definition: avutil.h:252
AVRational av_get_time_base_q(void)
Return the fractional representation of the internal time base.
Definition: utils.c:57
Utility Preprocessor macros.
Bi-dir predicted.
Definition: avutil.h:255
const char * avutil_configuration(void)
Return the libavutil build-time configuration.
Definition: utils.c:32
Predicted.
Definition: avutil.h:254