FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
avutil.h File Reference

Convenience header that includes libavutil's core. More...

#include "common.h"
#include "error.h"
#include "rational.h"
#include "version.h"
#include "macros.h"
#include "mathematics.h"
#include "log.h"
#include "pixfmt.h"

Go to the source code of this file.

Macros

#define FF_LAMBDA_SHIFT   7
 
#define FF_LAMBDA_SCALE   (1<<FF_LAMBDA_SHIFT)
 
#define FF_QP2LAMBDA   118
 factor to convert from H.263 QP to lambda More...
 
#define FF_LAMBDA_MAX   (256*128-1)
 
#define FF_QUALITY_SCALE   FF_LAMBDA_SCALE
 
#define AV_NOPTS_VALUE   ((int64_t)UINT64_C(0x8000000000000000))
 Undefined timestamp value. More...
 
#define AV_TIME_BASE   1000000
 Internal time base represented as integer. More...
 
#define AV_TIME_BASE_Q   (AVRational){1, AV_TIME_BASE}
 Internal time base represented as fractional value. More...
 
#define av_int_list_length(list, term)   av_int_list_length_for_size(sizeof(*(list)), list, term)
 Compute the length of an integer list. More...
 
#define AV_FOURCC_MAX_STRING_SIZE   32
 
#define av_fourcc2str(fourcc)   av_fourcc_make_string((char[AV_FOURCC_MAX_STRING_SIZE]){0}, fourcc)
 

Enumerations

enum  AVMediaType {
  AVMEDIA_TYPE_UNKNOWN = -1, AVMEDIA_TYPE_VIDEO, AVMEDIA_TYPE_AUDIO, AVMEDIA_TYPE_DATA,
  AVMEDIA_TYPE_SUBTITLE, AVMEDIA_TYPE_ATTACHMENT, AVMEDIA_TYPE_NB
}
 
enum  AVPictureType {
  AV_PICTURE_TYPE_NONE = 0, AV_PICTURE_TYPE_I, AV_PICTURE_TYPE_P, AV_PICTURE_TYPE_B,
  AV_PICTURE_TYPE_S, AV_PICTURE_TYPE_SI, AV_PICTURE_TYPE_SP, AV_PICTURE_TYPE_BI
}
 

Functions

unsigned avutil_version (void)
 Return the LIBAVUTIL_VERSION_INT constant. More...
 
const char * av_version_info (void)
 Return an informative version string. More...
 
const char * avutil_configuration (void)
 Return the libavutil build-time configuration. More...
 
const char * avutil_license (void)
 Return the libavutil license. More...
 
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. More...
 
char av_get_picture_type_char (enum AVPictureType pict_type)
 Return a single letter to describe the given picture type pict_type. More...
 
static voidav_x_if_null (const void *p, const void *x)
 Return x default pointer in case p is NULL. More...
 
unsigned av_int_list_length_for_size (unsigned elsize, const void *list, uint64_t term) av_pure
 Compute the length of an integer list. More...
 
FILE * av_fopen_utf8 (const char *path, const char *mode)
 Open a file using a UTF-8 filename. More...
 
AVRational av_get_time_base_q (void)
 Return the fractional representation of the internal time base. More...
 
char * av_fourcc_make_string (char *buf, uint32_t fourcc)
 Fill the provided buffer with a string containing a FourCC (four-character code) representation. More...
 

Detailed Description

Convenience header that includes libavutil's core.

Definition in file avutil.h.