FFmpeg  4.0
Macros
version.h File Reference

Libavcodec version macros. More...

#include "libavutil/version.h"

Go to the source code of this file.

Macros

#define LIBAVCODEC_VERSION_MAJOR   58
 
#define LIBAVCODEC_VERSION_MINOR   18
 
#define LIBAVCODEC_VERSION_MICRO   100
 
#define LIBAVCODEC_VERSION_INT
 
#define LIBAVCODEC_VERSION
 
#define LIBAVCODEC_BUILD   LIBAVCODEC_VERSION_INT
 
#define LIBAVCODEC_IDENT   "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION)
 
#define FF_API_LOWRES   (LIBAVCODEC_VERSION_MAJOR < 59)
 FF_API_* defines may be placed below to indicate public API that will be dropped at a future version bump. More...
 
#define FF_API_DEBUG_MV   (LIBAVCODEC_VERSION_MAJOR < 58)
 
#define FF_API_AVCTX_TIMEBASE   (LIBAVCODEC_VERSION_MAJOR < 59)
 
#define FF_API_CODED_FRAME   (LIBAVCODEC_VERSION_MAJOR < 59)
 
#define FF_API_SIDEDATA_ONLY_PKT   (LIBAVCODEC_VERSION_MAJOR < 59)
 
#define FF_API_VDPAU_PROFILE   (LIBAVCODEC_VERSION_MAJOR < 59)
 
#define FF_API_CONVERGENCE_DURATION   (LIBAVCODEC_VERSION_MAJOR < 59)
 
#define FF_API_AVPICTURE   (LIBAVCODEC_VERSION_MAJOR < 59)
 
#define FF_API_AVPACKET_OLD_API   (LIBAVCODEC_VERSION_MAJOR < 59)
 
#define FF_API_RTP_CALLBACK   (LIBAVCODEC_VERSION_MAJOR < 59)
 
#define FF_API_VBV_DELAY   (LIBAVCODEC_VERSION_MAJOR < 59)
 
#define FF_API_CODER_TYPE   (LIBAVCODEC_VERSION_MAJOR < 59)
 
#define FF_API_STAT_BITS   (LIBAVCODEC_VERSION_MAJOR < 59)
 
#define FF_API_PRIVATE_OPT   (LIBAVCODEC_VERSION_MAJOR < 59)
 
#define FF_API_ASS_TIMING   (LIBAVCODEC_VERSION_MAJOR < 59)
 
#define FF_API_OLD_BSF   (LIBAVCODEC_VERSION_MAJOR < 59)
 
#define FF_API_COPY_CONTEXT   (LIBAVCODEC_VERSION_MAJOR < 59)
 
#define FF_API_GET_CONTEXT_DEFAULTS   (LIBAVCODEC_VERSION_MAJOR < 59)
 
#define FF_API_NVENC_OLD_NAME   (LIBAVCODEC_VERSION_MAJOR < 59)
 
#define FF_API_STRUCT_VAAPI_CONTEXT   (LIBAVCODEC_VERSION_MAJOR < 59)
 
#define FF_API_MERGE_SD_API   (LIBAVCODEC_VERSION_MAJOR < 59)
 
#define FF_API_TAG_STRING   (LIBAVCODEC_VERSION_MAJOR < 59)
 
#define FF_API_GETCHROMA   (LIBAVCODEC_VERSION_MAJOR < 59)
 
#define FF_API_CODEC_GET_SET   (LIBAVCODEC_VERSION_MAJOR < 59)
 
#define FF_API_USER_VISIBLE_AVHWACCEL   (LIBAVCODEC_VERSION_MAJOR < 59)
 
#define FF_API_LOCKMGR   (LIBAVCODEC_VERSION_MAJOR < 59)
 
#define FF_API_NEXT   (LIBAVCODEC_VERSION_MAJOR < 59)
 

Detailed Description

Libavcodec version macros.

Definition in file version.h.

Macro Definition Documentation

◆ LIBAVCODEC_VERSION_MAJOR

#define LIBAVCODEC_VERSION_MAJOR   58

Definition at line 30 of file version.h.

◆ LIBAVCODEC_VERSION_MINOR

#define LIBAVCODEC_VERSION_MINOR   18

Definition at line 31 of file version.h.

◆ LIBAVCODEC_VERSION_MICRO

#define LIBAVCODEC_VERSION_MICRO   100

Definition at line 32 of file version.h.

Referenced by avcodec_version().

◆ LIBAVCODEC_VERSION_INT

#define LIBAVCODEC_VERSION_INT
Value:
#define LIBAVCODEC_VERSION_MICRO
Definition: version.h:32
#define LIBAVCODEC_VERSION_MAJOR
Definition: version.h:30
#define AV_VERSION_INT(a, b, c)
Definition: version.h:56
#define LIBAVCODEC_VERSION_MINOR
Definition: version.h:31

Definition at line 34 of file version.h.

Referenced by avcodec_version().

◆ LIBAVCODEC_VERSION

#define LIBAVCODEC_VERSION
Value:
#define LIBAVCODEC_VERSION_MICRO
Definition: version.h:32
#define AV_VERSION(a, b, c)
Definition: version.h:58
#define LIBAVCODEC_VERSION_MAJOR
Definition: version.h:30
#define LIBAVCODEC_VERSION_MINOR
Definition: version.h:31

Definition at line 37 of file version.h.

Referenced by ff_ass_subtitle_header().

◆ LIBAVCODEC_BUILD

#define LIBAVCODEC_BUILD   LIBAVCODEC_VERSION_INT

Definition at line 40 of file version.h.

◆ LIBAVCODEC_IDENT

#define LIBAVCODEC_IDENT   "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION)

◆ FF_API_LOWRES

#define FF_API_LOWRES   (LIBAVCODEC_VERSION_MAJOR < 59)

FF_API_* defines may be placed below to indicate public API that will be dropped at a future version bump.

The defines themselves are not part of the public API and may change, break or disappear at any time.

Note
, when bumping the major version it is recommended to manually disable each FF_API_* in its own commit instead of disabling them all at once through the bump. This improves the git bisect-ability of the change.

Definition at line 55 of file version.h.

◆ FF_API_DEBUG_MV

#define FF_API_DEBUG_MV   (LIBAVCODEC_VERSION_MAJOR < 58)

Definition at line 58 of file version.h.

Referenced by alloc_picture_tables(), and check_keyboard_interaction().

◆ FF_API_AVCTX_TIMEBASE

#define FF_API_AVCTX_TIMEBASE   (LIBAVCODEC_VERSION_MAJOR < 59)

Definition at line 61 of file version.h.

◆ FF_API_CODED_FRAME

#define FF_API_CODED_FRAME   (LIBAVCODEC_VERSION_MAJOR < 59)

Definition at line 64 of file version.h.

◆ FF_API_SIDEDATA_ONLY_PKT

#define FF_API_SIDEDATA_ONLY_PKT   (LIBAVCODEC_VERSION_MAJOR < 59)

Definition at line 67 of file version.h.

◆ FF_API_VDPAU_PROFILE

#define FF_API_VDPAU_PROFILE   (LIBAVCODEC_VERSION_MAJOR < 59)

Definition at line 70 of file version.h.

◆ FF_API_CONVERGENCE_DURATION

#define FF_API_CONVERGENCE_DURATION   (LIBAVCODEC_VERSION_MAJOR < 59)

Definition at line 73 of file version.h.

◆ FF_API_AVPICTURE

#define FF_API_AVPICTURE   (LIBAVCODEC_VERSION_MAJOR < 59)

Definition at line 76 of file version.h.

◆ FF_API_AVPACKET_OLD_API

#define FF_API_AVPACKET_OLD_API   (LIBAVCODEC_VERSION_MAJOR < 59)

Definition at line 79 of file version.h.

◆ FF_API_RTP_CALLBACK

#define FF_API_RTP_CALLBACK   (LIBAVCODEC_VERSION_MAJOR < 59)

Definition at line 82 of file version.h.

◆ FF_API_VBV_DELAY

#define FF_API_VBV_DELAY   (LIBAVCODEC_VERSION_MAJOR < 59)

Definition at line 85 of file version.h.

◆ FF_API_CODER_TYPE

#define FF_API_CODER_TYPE   (LIBAVCODEC_VERSION_MAJOR < 59)

Definition at line 88 of file version.h.

◆ FF_API_STAT_BITS

#define FF_API_STAT_BITS   (LIBAVCODEC_VERSION_MAJOR < 59)

Definition at line 91 of file version.h.

◆ FF_API_PRIVATE_OPT

#define FF_API_PRIVATE_OPT   (LIBAVCODEC_VERSION_MAJOR < 59)

Definition at line 94 of file version.h.

◆ FF_API_ASS_TIMING

#define FF_API_ASS_TIMING   (LIBAVCODEC_VERSION_MAJOR < 59)

Definition at line 97 of file version.h.

◆ FF_API_OLD_BSF

#define FF_API_OLD_BSF   (LIBAVCODEC_VERSION_MAJOR < 59)

Definition at line 100 of file version.h.

◆ FF_API_COPY_CONTEXT

#define FF_API_COPY_CONTEXT   (LIBAVCODEC_VERSION_MAJOR < 59)

Definition at line 103 of file version.h.

◆ FF_API_GET_CONTEXT_DEFAULTS

#define FF_API_GET_CONTEXT_DEFAULTS   (LIBAVCODEC_VERSION_MAJOR < 59)

Definition at line 106 of file version.h.

◆ FF_API_NVENC_OLD_NAME

#define FF_API_NVENC_OLD_NAME   (LIBAVCODEC_VERSION_MAJOR < 59)

Definition at line 109 of file version.h.

◆ FF_API_STRUCT_VAAPI_CONTEXT

#define FF_API_STRUCT_VAAPI_CONTEXT   (LIBAVCODEC_VERSION_MAJOR < 59)

Definition at line 112 of file version.h.

◆ FF_API_MERGE_SD_API

#define FF_API_MERGE_SD_API   (LIBAVCODEC_VERSION_MAJOR < 59)

Definition at line 115 of file version.h.

◆ FF_API_TAG_STRING

#define FF_API_TAG_STRING   (LIBAVCODEC_VERSION_MAJOR < 59)

Definition at line 118 of file version.h.

◆ FF_API_GETCHROMA

#define FF_API_GETCHROMA   (LIBAVCODEC_VERSION_MAJOR < 59)

Definition at line 121 of file version.h.

◆ FF_API_CODEC_GET_SET

#define FF_API_CODEC_GET_SET   (LIBAVCODEC_VERSION_MAJOR < 59)

Definition at line 124 of file version.h.

◆ FF_API_USER_VISIBLE_AVHWACCEL

#define FF_API_USER_VISIBLE_AVHWACCEL   (LIBAVCODEC_VERSION_MAJOR < 59)

Definition at line 127 of file version.h.

◆ FF_API_LOCKMGR

#define FF_API_LOCKMGR   (LIBAVCODEC_VERSION_MAJOR < 59)

Definition at line 130 of file version.h.

◆ FF_API_NEXT

#define FF_API_NEXT   (LIBAVCODEC_VERSION_MAJOR < 59)

Definition at line 133 of file version.h.