Audacity 3.2.0
Classes | Macros | Typedefs | Enumerations
FFmpegTypes.h File Reference
#include <cstdint>
#include <errno.h>
Include dependency graph for FFmpegTypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  AudacityAVRational
 
struct  AudacityAVDictionaryEntry
 Simply an overlay of AVDictionaryEntry, but we avoid including that type. More...
 
struct  FFMPegVersion
 
struct  AudacityAVBufferRef
 

Macros

#define AUDACITY_MKTAG(a, b, c, d)   ((a) | ((b) << 8) | ((c) << 16) | ((unsigned)(d) << 24))
 
#define AUDACITY_FFERRTAG(a, b, c, d)   (-(int)AUDACITY_MKTAG(a, b, c, d))
 
#define AUDACITY_AVERROR(e)   (e)
 
#define AUDACITY_AVUNERROR(e)   (e)
 
#define AUDACITY_AVERROR_EOF   AUDACITY_FFERRTAG('E', 'O', 'F', ' ')
 
#define AUDACITY_AVFMT_NOFILE   0x0001
 
#define AUDACITY_AVFMT_GLOBALHEADER   0x0040
 
#define AUDACITY_AV_NOPTS_VALUE   ((int64_t)UINT64_C(0x8000000000000000))
 
#define AV_VERSION_INT(a, b, c)   (a << 16 | b << 8 | c)
 
#define AUDACITY_AV_TIME_BASE   (1000 * 1000)
 
#define AUDACITY_AV_CODEC_FLAG_QSCALE   (1 << 1)
 
#define AUDACITY_AV_CODEC_CAP_SMALL_LAST_FRAME   (1 << 6)
 
#define AUDACITY_FF_QP2LAMBDA   118
 
#define AUDACITY_FF_COMPLIANCE_EXPERIMENTAL   -2
 
#define AUDACITY_FF_PROFILE_AAC_LOW   1
 
#define AUDACITY_AV_CODEC_FLAG_GLOBAL_HEADER   (1 << 22)
 

Typedefs

typedef struct AVDictionary AVDictionary
 
typedef struct AVFifoBuffer AVFifoBuffer
 
typedef struct AVFrame AVFrame
 
typedef struct AVFormatContext AVFormatContext
 
typedef struct AVPacket AVPacket
 
typedef struct AVOutputFormat AVOutputFormat
 
typedef struct AVStream AVStream
 
typedef struct AVCodec AVCodec
 
typedef struct AVInputFormat AVInputFormat
 
typedef struct AVIOContext AVIOContext
 
typedef struct AVCodecContext AVCodecContext
 
using AVCodecIDFwd = int
 
using AVMediaTypeFwd = int
 
using AVPixelFormatFwd = int
 
using AVSampleFormatFwd = int
 
using AVDiscardFwd = int
 
typedef struct AVBuffer AVBuffer
 
typedef struct AVChannelLayout AVChannelLayout
 

Enumerations

enum  AudacityAVSampleFormat {
  AUDACITY_AV_SAMPLE_FMT_NONE = -1 , AUDACITY_AV_SAMPLE_FMT_U8 , AUDACITY_AV_SAMPLE_FMT_S16 , AUDACITY_AV_SAMPLE_FMT_S32 ,
  AUDACITY_AV_SAMPLE_FMT_FLT , AUDACITY_AV_SAMPLE_FMT_DBL , AUDACITY_AV_SAMPLE_FMT_U8P , AUDACITY_AV_SAMPLE_FMT_S16P ,
  AUDACITY_AV_SAMPLE_FMT_S32P , AUDACITY_AV_SAMPLE_FMT_FLTP , AUDACITY_AV_SAMPLE_FMT_DBLP , AUDACITY_AV_SAMPLE_FMT_S64 ,
  AUDACITY_AV_SAMPLE_FMT_S64P , AUDACITY_AV_SAMPLE_FMT_NB
}
 

Macro Definition Documentation

◆ AUDACITY_AV_CODEC_CAP_SMALL_LAST_FRAME

#define AUDACITY_AV_CODEC_CAP_SMALL_LAST_FRAME   (1 << 6)

Definition at line 84 of file FFmpegTypes.h.

◆ AUDACITY_AV_CODEC_FLAG_GLOBAL_HEADER

#define AUDACITY_AV_CODEC_FLAG_GLOBAL_HEADER   (1 << 22)

Definition at line 115 of file FFmpegTypes.h.

◆ AUDACITY_AV_CODEC_FLAG_QSCALE

#define AUDACITY_AV_CODEC_FLAG_QSCALE   (1 << 1)

Definition at line 82 of file FFmpegTypes.h.

◆ AUDACITY_AV_NOPTS_VALUE

#define AUDACITY_AV_NOPTS_VALUE   ((int64_t)UINT64_C(0x8000000000000000))

Definition at line 74 of file FFmpegTypes.h.

◆ AUDACITY_AV_TIME_BASE

#define AUDACITY_AV_TIME_BASE   (1000 * 1000)

Definition at line 80 of file FFmpegTypes.h.

◆ AUDACITY_AVERROR

#define AUDACITY_AVERROR (   e)    (e)

Definition at line 28 of file FFmpegTypes.h.

◆ AUDACITY_AVERROR_EOF

#define AUDACITY_AVERROR_EOF   AUDACITY_FFERRTAG('E', 'O', 'F', ' ')

Definition at line 32 of file FFmpegTypes.h.

◆ AUDACITY_AVFMT_GLOBALHEADER

#define AUDACITY_AVFMT_GLOBALHEADER   0x0040

Definition at line 40 of file FFmpegTypes.h.

◆ AUDACITY_AVFMT_NOFILE

#define AUDACITY_AVFMT_NOFILE   0x0001

Definition at line 34 of file FFmpegTypes.h.

◆ AUDACITY_AVUNERROR

#define AUDACITY_AVUNERROR (   e)    (e)

Definition at line 29 of file FFmpegTypes.h.

◆ AUDACITY_FF_COMPLIANCE_EXPERIMENTAL

#define AUDACITY_FF_COMPLIANCE_EXPERIMENTAL   -2

Definition at line 98 of file FFmpegTypes.h.

◆ AUDACITY_FF_PROFILE_AAC_LOW

#define AUDACITY_FF_PROFILE_AAC_LOW   1

Definition at line 103 of file FFmpegTypes.h.

◆ AUDACITY_FF_QP2LAMBDA

#define AUDACITY_FF_QP2LAMBDA   118

Definition at line 89 of file FFmpegTypes.h.

◆ AUDACITY_FFERRTAG

#define AUDACITY_FFERRTAG (   a,
  b,
  c,
 
)    (-(int)AUDACITY_MKTAG(a, b, c, d))

Definition at line 17 of file FFmpegTypes.h.

◆ AUDACITY_MKTAG

#define AUDACITY_MKTAG (   a,
  b,
  c,
 
)    ((a) | ((b) << 8) | ((c) << 16) | ((unsigned)(d) << 24))

Definition at line 16 of file FFmpegTypes.h.

◆ AV_VERSION_INT

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

Definition at line 77 of file FFmpegTypes.h.

Typedef Documentation

◆ AVBuffer

typedef struct AVBuffer AVBuffer

Definition at line 179 of file FFmpegTypes.h.

◆ AVChannelLayout

Definition at line 181 of file FFmpegTypes.h.

◆ AVCodec

typedef struct AVCodec AVCodec

Definition at line 124 of file FFmpegTypes.h.

◆ AVCodecContext

Definition at line 127 of file FFmpegTypes.h.

◆ AVCodecIDFwd

using AVCodecIDFwd = int

Definition at line 129 of file FFmpegTypes.h.

◆ AVDictionary

typedef struct AVDictionary AVDictionary

Definition at line 117 of file FFmpegTypes.h.

◆ AVDiscardFwd

using AVDiscardFwd = int

Definition at line 133 of file FFmpegTypes.h.

◆ AVFifoBuffer

typedef struct AVFifoBuffer AVFifoBuffer

Definition at line 118 of file FFmpegTypes.h.

◆ AVFormatContext

Definition at line 120 of file FFmpegTypes.h.

◆ AVFrame

typedef struct AVFrame AVFrame

Definition at line 119 of file FFmpegTypes.h.

◆ AVInputFormat

typedef struct AVInputFormat AVInputFormat

Definition at line 125 of file FFmpegTypes.h.

◆ AVIOContext

typedef struct AVIOContext AVIOContext

Definition at line 126 of file FFmpegTypes.h.

◆ AVMediaTypeFwd

using AVMediaTypeFwd = int

Definition at line 130 of file FFmpegTypes.h.

◆ AVOutputFormat

Definition at line 122 of file FFmpegTypes.h.

◆ AVPacket

typedef struct AVPacket AVPacket

Definition at line 121 of file FFmpegTypes.h.

◆ AVPixelFormatFwd

using AVPixelFormatFwd = int

Definition at line 131 of file FFmpegTypes.h.

◆ AVSampleFormatFwd

using AVSampleFormatFwd = int

Definition at line 132 of file FFmpegTypes.h.

◆ AVStream

typedef struct AVStream AVStream

Definition at line 123 of file FFmpegTypes.h.

Enumeration Type Documentation

◆ AudacityAVSampleFormat

Enumerator
AUDACITY_AV_SAMPLE_FMT_NONE 
AUDACITY_AV_SAMPLE_FMT_U8 

unsigned 8 bits

AUDACITY_AV_SAMPLE_FMT_S16 

signed 16 bits

AUDACITY_AV_SAMPLE_FMT_S32 

signed 32 bits

AUDACITY_AV_SAMPLE_FMT_FLT 

float

AUDACITY_AV_SAMPLE_FMT_DBL 

double

AUDACITY_AV_SAMPLE_FMT_U8P 

unsigned 8 bits, planar

AUDACITY_AV_SAMPLE_FMT_S16P 

signed 16 bits, planar

AUDACITY_AV_SAMPLE_FMT_S32P 

signed 32 bits, planar

AUDACITY_AV_SAMPLE_FMT_FLTP 

float, planar

AUDACITY_AV_SAMPLE_FMT_DBLP 

double, planar

AUDACITY_AV_SAMPLE_FMT_S64 
AUDACITY_AV_SAMPLE_FMT_S64P 
AUDACITY_AV_SAMPLE_FMT_NB 

Number of sample formats. DO NOT USE if linking dynamically.

Definition at line 148 of file FFmpegTypes.h.

148 {
155
163
165};
@ AUDACITY_AV_SAMPLE_FMT_S64P
Definition: FFmpegTypes.h:162
@ AUDACITY_AV_SAMPLE_FMT_NB
Number of sample formats. DO NOT USE if linking dynamically.
Definition: FFmpegTypes.h:164
@ AUDACITY_AV_SAMPLE_FMT_DBLP
double, planar
Definition: FFmpegTypes.h:160
@ AUDACITY_AV_SAMPLE_FMT_S32P
signed 32 bits, planar
Definition: FFmpegTypes.h:158
@ AUDACITY_AV_SAMPLE_FMT_S16P
signed 16 bits, planar
Definition: FFmpegTypes.h:157
@ AUDACITY_AV_SAMPLE_FMT_S64
Definition: FFmpegTypes.h:161
@ AUDACITY_AV_SAMPLE_FMT_FLTP
float, planar
Definition: FFmpegTypes.h:159
@ AUDACITY_AV_SAMPLE_FMT_NONE
Definition: FFmpegTypes.h:149
@ AUDACITY_AV_SAMPLE_FMT_S16
signed 16 bits
Definition: FFmpegTypes.h:151
@ AUDACITY_AV_SAMPLE_FMT_S32
signed 32 bits
Definition: FFmpegTypes.h:152
@ AUDACITY_AV_SAMPLE_FMT_DBL
double
Definition: FFmpegTypes.h:154
@ AUDACITY_AV_SAMPLE_FMT_FLT
float
Definition: FFmpegTypes.h:153
@ AUDACITY_AV_SAMPLE_FMT_U8
unsigned 8 bits
Definition: FFmpegTypes.h:150
@ AUDACITY_AV_SAMPLE_FMT_U8P
unsigned 8 bits, planar
Definition: FFmpegTypes.h:156