Miam-Player  0.8.0
A nice music player
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 FFmpeg.
5  *
6  * FFmpeg 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  * FFmpeg 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 FFmpeg; 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 
165 unsigned avutil_version(void);
166 
172 const char *av_version_info(void);
173 
177 const char *avutil_configuration(void);
178 
182 const char *avutil_license(void);
183 
201 };
202 
207 const char *av_get_media_type_string(enum AVMediaType media_type);
208 
219 #define FF_LAMBDA_SHIFT 7
220 #define FF_LAMBDA_SCALE (1<<FF_LAMBDA_SHIFT)
221 #define FF_QP2LAMBDA 118
222 #define FF_LAMBDA_MAX (256*128-1)
223 
224 #define FF_QUALITY_SCALE FF_LAMBDA_SCALE //FIXME maybe remove
225 
242 #define AV_NOPTS_VALUE ((int64_t)UINT64_C(0x8000000000000000))
243 
248 #define AV_TIME_BASE 1000000
249 
254 #define AV_TIME_BASE_Q (AVRational){1, AV_TIME_BASE}
255 
275 };
276 
284 char av_get_picture_type_char(enum AVPictureType pict_type);
285 
290 #include "common.h"
291 #include "error.h"
292 #include "rational.h"
293 #include "version.h"
294 #include "macros.h"
295 #include "mathematics.h"
296 #include "log.h"
297 #include "pixfmt.h"
298 
302 static inline void *av_x_if_null(const void *p, const void *x)
303 {
304  return (void *)(intptr_t)(p ? p : x);
305 }
306 
315 unsigned av_int_list_length_for_size(unsigned elsize,
316  const void *list, uint64_t term) av_pure;
317 
325 #define av_int_list_length(list, term) \
326  av_int_list_length_for_size(sizeof(*(list)), list, term)
327 
333 FILE *av_fopen_utf8(const char *path, const char *mode);
334 
339 
345 #endif /* AVUTIL_AVUTIL_H */
BI type.
Definition: avutil.h:274
S(GMC)-VOP MPEG-4.
Definition: avutil.h:271
const char * avutil_configuration(void)
#define av_pure
Definition: attributes.h:72
FILE * av_fopen_utf8(const char *path, const char *mode)
Undefined.
Definition: avutil.h:267
Switching Intra.
Definition: avutil.h:272
Definition: avutil.h:200
Opaque data information usually continuous.
Definition: avutil.h:197
char av_get_picture_type_char(enum AVPictureType pict_type)
unsigned avutil_version(void)
unsigned av_int_list_length_for_size(unsigned elsize, const void *list, uint64_t term) av_pure
Definition: avutil.h:196
Intra.
Definition: avutil.h:268
const char * av_version_info(void)
Usually treated as AVMEDIA_TYPE_DATA.
Definition: avutil.h:194
Opaque data information usually sparse.
Definition: avutil.h:199
const char * avutil_license(void)
Switching Predicted.
Definition: avutil.h:273
AVMediaType
Definition: avutil.h:193
AVPictureType
Definition: avutil.h:266
Definition: rational.h:58
AVRational av_get_time_base_q(void)
const char * av_get_media_type_string(enum AVMediaType media_type)
Bi-dir predicted.
Definition: avutil.h:270
Definition: avutil.h:195
Definition: avutil.h:198
Predicted.
Definition: avutil.h:269