Go to the documentation of this file.
21 #ifndef AVUTIL_AVUTIL_H
22 #define AVUTIL_AVUTIL_H
225 #define FF_LAMBDA_SHIFT 7
226 #define FF_LAMBDA_SCALE (1<<FF_LAMBDA_SHIFT)
227 #define FF_QP2LAMBDA 118
228 #define FF_LAMBDA_MAX (256*128-1)
230 #define FF_QUALITY_SCALE FF_LAMBDA_SCALE //FIXME maybe remove
248 #define AV_NOPTS_VALUE ((int64_t)UINT64_C(0x8000000000000000))
254 #define AV_TIME_BASE 1000000
260 #define AV_TIME_BASE_Q (AVRational){1, AV_TIME_BASE}
310 return (
void *)(intptr_t)(p ? p : x);
331 #define av_int_list_length(list, term) \
332 av_int_list_length_for_size(sizeof(*(list)), list, term)
346 #define AV_FOURCC_MAX_STRING_SIZE 32
348 #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.
FILE * av_fopen_utf8(const char *path, const char *mode)
Open a file using a UTF-8 filename.
unsigned av_int_list_length_for_size(unsigned elsize, const void *list, uint64_t term) av_pure
Compute the length of an integer list.
@ 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.
Filter the word “frame” indicates either a video frame or a group of audio as stored in an AVFrame structure Format for each input and each output the list of supported formats For video that means pixel format For audio that means channel sample they are references to shared objects When the negotiation mechanism computes the intersection of the formats supported at each end of a all references to both lists are replaced with a reference to the intersection And when a single format is eventually chosen for a link amongst the remaining list
@ 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.
@ 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.