21 #ifndef AVUTIL_AVUTIL_H
22 #define AVUTIL_AVUTIL_H
217 #define FF_LAMBDA_SHIFT 7
218 #define FF_LAMBDA_SCALE (1<<FF_LAMBDA_SHIFT)
219 #define FF_QP2LAMBDA 118
220 #define FF_LAMBDA_MAX (256*128-1)
222 #define FF_QUALITY_SCALE FF_LAMBDA_SCALE //FIXME maybe remove
240 #define AV_NOPTS_VALUE ((int64_t)UINT64_C(0x8000000000000000))
246 #define AV_TIME_BASE 1000000
252 #define AV_TIME_BASE_Q (AVRational){1, AV_TIME_BASE}
302 return (
void *)(intptr_t)(p ? p : x);
314 const void *list, uint64_t term)
av_pure;
323 #define av_int_list_length(list, term) \
324 av_int_list_length_for_size(sizeof(*(list)), list, term)
const char * avutil_configuration(void)
Return the libavutil build-time configuration.
FILE * av_fopen_utf8(const char *path, const char *mode)
Open a file using a UTF-8 filename.
Opaque data information usually continuous.
char av_get_picture_type_char(enum AVPictureType pict_type)
Return a single letter to describe the given picture type pict_type.
static void * av_x_if_null(const void *p, const void *x)
Return x default pointer in case p is NULL.
Utility Preprocessor macros.
unsigned avutil_version(void)
Return the LIBAVUTIL_VERSION_INT constant.
unsigned av_int_list_length_for_size(unsigned elsize, const void *list, uint64_t term) av_pure
Compute the length of an integer list.
Libavutil version macros.
const char * av_version_info(void)
Return an informative version string.
Usually treated as AVMEDIA_TYPE_DATA.
Opaque data information usually sparse.
const char * avutil_license(void)
Return the libavutil license.
rational number numerator/denominator
AVRational av_get_time_base_q(void)
Return the fractional representation of the internal time base.
const char * av_get_media_type_string(enum AVMediaType media_type)
Return a string describing the media_type enum, NULL if media_type is unknown.
common internal and external API header