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

external API header 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
 
#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.
 
#define AV_TIME_BASE   1000000
 Internal time base represented as integer.
 
#define AV_TIME_BASE_Q   (AVRational){1, AV_TIME_BASE}
 Internal time base represented as fractional value.
 
#define av_int_list_length(list, term)   av_int_list_length_for_size(sizeof(*(list)), list, term)
 Compute the length of an integer list.
 

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.
 
const char * avutil_configuration (void)
 Return the libavutil build-time configuration.
 
const char * avutil_license (void)
 Return the libavutil license.
 
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.
 
char av_get_picture_type_char (enum AVPictureType pict_type)
 Return a single letter to describe the given picture type pict_type.
 
static voidav_x_if_null (const void *p, const void *x)
 Return x default pointer in case p is NULL.
 
unsigned av_int_list_length_for_size (unsigned elsize, const void *list, uint64_t term) av_pure
 Compute the length of an integer list.
 
FILE * av_fopen_utf8 (const char *path, const char *mode)
 Open a file using a UTF-8 filename.
 
AVRational av_get_time_base_q (void)
 Return the fractional representation of the internal time base.
 

Detailed Description

external API header

Definition in file avutil.h.