Defines | Enumerations | Functions

debian/tmp/usr/include/libavutil/avutil.h File Reference

external API header More...

#include "common.h"
#include "error.h"
#include "mathematics.h"
#include "rational.h"
#include "intfloat_readwrite.h"
#include "log.h"
#include "pixfmt.h"
#include "common.h"
#include "mathematics.h"
#include "intfloat_readwrite.h"
#include "log.h"
#include "pixfmt.h"

Go to the source code of this file.

Defines

#define AV_STRINGIFY(s)   AV_TOSTRING(s)
#define AV_TOSTRING(s)   #s
#define AV_GLUE(a, b)   a ## b
#define AV_JOIN(a, b)   AV_GLUE(a, b)
#define AV_PRAGMA(s)   _Pragma(#s)
#define AV_VERSION_INT(a, b, c)   (a<<16 | b<<8 | c)
#define AV_VERSION_DOT(a, b, c)   a ##.## b ##.## c
#define AV_VERSION(a, b, c)   AV_VERSION_DOT(a, b, c)
#define LIBAVUTIL_VERSION_MAJOR   50
#define LIBAVUTIL_VERSION_MINOR   43
#define LIBAVUTIL_VERSION_MICRO   0
#define LIBAVUTIL_VERSION_INT
#define LIBAVUTIL_VERSION
#define LIBAVUTIL_BUILD   LIBAVUTIL_VERSION_INT
#define LIBAVUTIL_IDENT   "Lavu" AV_STRINGIFY(LIBAVUTIL_VERSION)
#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_C(0x8000000000000000)
#define AV_TIME_BASE   1000000
#define AV_TIME_BASE_Q   (AVRational){1, AV_TIME_BASE}

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, 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,
  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
}
 

Those FF_API_* defines are not part of public API.

More...

Functions

unsigned avutil_version (void)
 Those FF_API_* defines are not part of public API.
const char * avutil_configuration (void)
 Return the libavutil build-time configuration.
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.

Detailed Description

external API header

Definition in file avutil.h.


Define Documentation

#define AV_GLUE (   a,
  b 
)    a ## b

Definition at line 33 of file avutil.h.

#define AV_JOIN (   a,
  b 
)    AV_GLUE(a, b)

Definition at line 34 of file avutil.h.

#define AV_NOPTS_VALUE   INT64_C(0x8000000000000000)
#define AV_PRAGMA (   s  )     _Pragma(#s)

Definition at line 36 of file avutil.h.

#define AV_STRINGIFY (   s  )     AV_TOSTRING(s)
#define AV_TIME_BASE   1000000
#define AV_TIME_BASE_Q   (AVRational){1, AV_TIME_BASE}
#define AV_TOSTRING (   s  )     #s

Definition at line 31 of file avutil.h.

#define AV_VERSION (   a,
  b,
  c 
)    AV_VERSION_DOT(a, b, c)

Definition at line 40 of file avutil.h.

#define AV_VERSION_DOT (   a,
  b,
  c 
)    a ##.## b ##.## c

Definition at line 39 of file avutil.h.

#define AV_VERSION_INT (   a,
  b,
  c 
)    (a<<16 | b<<8 | c)

Definition at line 38 of file avutil.h.

#define FF_LAMBDA_MAX   (256*128-1)

Definition at line 99 of file avutil.h.

Referenced by get_qminmax(), and libspeex_encode_init().

#define FF_LAMBDA_SCALE   (1<<FF_LAMBDA_SHIFT)

Definition at line 97 of file avutil.h.

Referenced by encode_frame(), ff_init_qscale_tab(), svq1_encode_plane(), and update_qscale().

#define FF_LAMBDA_SHIFT   7
#define FF_QP2LAMBDA   118
#define FF_QUALITY_SCALE   FF_LAMBDA_SCALE

Definition at line 101 of file avutil.h.

Referenced by encode_init().

#define LIBAVUTIL_BUILD   LIBAVUTIL_VERSION_INT

Definition at line 52 of file avutil.h.

#define LIBAVUTIL_IDENT   "Lavu" AV_STRINGIFY(LIBAVUTIL_VERSION)

Definition at line 54 of file avutil.h.

#define LIBAVUTIL_VERSION
#define LIBAVUTIL_VERSION_MAJOR   50

Definition at line 42 of file avutil.h.

#define LIBAVUTIL_VERSION_MICRO   0

Definition at line 44 of file avutil.h.

#define LIBAVUTIL_VERSION_MINOR   43

Definition at line 43 of file avutil.h.


Enumeration Type Documentation

Enumerator:
AVMEDIA_TYPE_UNKNOWN 
AVMEDIA_TYPE_VIDEO 
AVMEDIA_TYPE_AUDIO 
AVMEDIA_TYPE_DATA 
AVMEDIA_TYPE_SUBTITLE 
AVMEDIA_TYPE_ATTACHMENT 
AVMEDIA_TYPE_NB 
AVMEDIA_TYPE_UNKNOWN 
AVMEDIA_TYPE_VIDEO 
AVMEDIA_TYPE_AUDIO 
AVMEDIA_TYPE_DATA 
AVMEDIA_TYPE_SUBTITLE 
AVMEDIA_TYPE_ATTACHMENT 
AVMEDIA_TYPE_NB 

Definition at line 86 of file avutil.h.

Those FF_API_* defines are not part of public API.

They may change, break or disappear at any time.

Enumerator:
AV_PICTURE_TYPE_NONE 

Undefined.

AV_PICTURE_TYPE_I 

Intra.

AV_PICTURE_TYPE_P 

Predicted.

AV_PICTURE_TYPE_B 

Bi-dir predicted.

AV_PICTURE_TYPE_S 

S(GMC)-VOP MPEG4.

AV_PICTURE_TYPE_SI 

Switching Intra.

AV_PICTURE_TYPE_SP 

Switching Predicted.

AV_PICTURE_TYPE_BI 

BI type.

AV_PICTURE_TYPE_NONE 

Undefined.

AV_PICTURE_TYPE_I 

Intra.

AV_PICTURE_TYPE_P 

Predicted.

AV_PICTURE_TYPE_B 

Bi-dir predicted.

AV_PICTURE_TYPE_S 

S(GMC)-VOP MPEG4.

AV_PICTURE_TYPE_SI 

Switching Intra.

AV_PICTURE_TYPE_SP 

Switching Predicted.

AV_PICTURE_TYPE_BI 

BI type.

Definition at line 114 of file avutil.h.


Function Documentation

char av_get_picture_type_char ( enum AVPictureType  pict_type  ) 

Return a single letter to describe the given picture type pict_type.

Parameters:
[in] pict_type the picture type
Returns:
a single character representing the picture type, '?' if pict_type is unknown

Definition at line 43 of file utils.c.

Referenced by av_get_pict_type_char(), decode_slice_header(), do_video_stats(), end_frame(), ff_dlog_ref(), ff_flv_decode_picture_header(), ff_h263_show_pict_info(), ff_h264_decode_mb_cavlc(), ff_print_debug_info(), ff_rate_estimate_qscale(), queue_picture(), select_frame(), and svq3_decode_frame().

const char* avutil_configuration ( void   ) 

Return the libavutil build-time configuration.

Definition at line 32 of file utils.c.

const char* avutil_license ( void   ) 

Return the libavutil license.

Definition at line 37 of file utils.c.

unsigned avutil_version ( void   ) 

Those FF_API_* defines are not part of public API.

They may change, break or disappear at any time. Return the LIBAVUTIL_VERSION_INT constant.

Definition at line 27 of file utils.c.