Go to the documentation of this file.
21 #ifndef AVUTIL_AVUTIL_H
22 #define AVUTIL_AVUTIL_H
224 #define FF_LAMBDA_SHIFT 7
225 #define FF_LAMBDA_SCALE (1<<FF_LAMBDA_SHIFT)
226 #define FF_QP2LAMBDA 118
227 #define FF_LAMBDA_MAX (256*128-1)
229 #define FF_QUALITY_SCALE FF_LAMBDA_SCALE //FIXME maybe remove
247 #define AV_NOPTS_VALUE ((int64_t)UINT64_C(0x8000000000000000))
253 #define AV_TIME_BASE 1000000
261 #define AV_TIME_BASE_Q av_make_q(1, AV_TIME_BASE)
263 #define AV_TIME_BASE_Q (AVRational){1, AV_TIME_BASE}
313 return (
void *)(intptr_t)(
p ?
p : x);
321 #define AV_FOURCC_MAX_STRING_SIZE 32
323 #define av_fourcc2str(fourcc) av_fourcc_make_string((char[AV_FOURCC_MAX_STRING_SIZE]){0}, fourcc)
const char * av_version_info(void)
Return an informative version string.
unsigned avutil_version(void)
Return the LIBAVUTIL_VERSION_INT constant.
@ AVMEDIA_TYPE_DATA
Opaque data information usually continuous.
const char * avutil_configuration(void)
Return the libavutil build-time configuration.
Rational number (pair of numerator and denominator).
@ AV_PICTURE_TYPE_SI
Switching Intra.
@ AV_PICTURE_TYPE_I
Intra.
@ AV_PICTURE_TYPE_SP
Switching Predicted.
AVRational av_get_time_base_q(void)
Return the fractional representation of the internal time base.
char * av_fourcc_make_string(char *buf, uint32_t fourcc)
Fill the provided buffer with a string containing a FourCC (four-character code) representation.
@ AVMEDIA_TYPE_UNKNOWN
Usually treated as AVMEDIA_TYPE_DATA.
@ AV_PICTURE_TYPE_NONE
Undefined.
const char * avutil_license(void)
Return the libavutil license.
char av_get_picture_type_char(enum AVPictureType pict_type)
Return a single letter to describe the given picture type pict_type.
@ AVMEDIA_TYPE_ATTACHMENT
Opaque data information usually sparse.
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.
@ AV_PICTURE_TYPE_B
Bi-dir predicted.
IDirect3DDxgiInterfaceAccess _COM_Outptr_ void ** p
@ AV_PICTURE_TYPE_P
Predicted.
@ AV_PICTURE_TYPE_BI
BI type.
@ AV_PICTURE_TYPE_S
S(GMC)-VOP MPEG-4.
static void * av_x_if_null(const void *p, const void *x)
Return x default pointer in case p is NULL.