Audacity  3.0.3
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_AVERROR(e)   (e)
 
#define AUDACITY_AVUNERROR(e)   (e)
 
#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
 

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 79 of file FFmpegTypes.h.

◆ AUDACITY_AV_CODEC_FLAG_GLOBAL_HEADER

#define AUDACITY_AV_CODEC_FLAG_GLOBAL_HEADER   (1 << 22)

Definition at line 110 of file FFmpegTypes.h.

◆ AUDACITY_AV_CODEC_FLAG_QSCALE

#define AUDACITY_AV_CODEC_FLAG_QSCALE   (1 << 1)

Definition at line 77 of file FFmpegTypes.h.

◆ AUDACITY_AV_NOPTS_VALUE

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

Definition at line 69 of file FFmpegTypes.h.

◆ AUDACITY_AV_TIME_BASE

#define AUDACITY_AV_TIME_BASE   (1000 * 1000)

Definition at line 75 of file FFmpegTypes.h.

◆ AUDACITY_AVERROR

#define AUDACITY_AVERROR (   e)    (e)

Definition at line 25 of file FFmpegTypes.h.

◆ AUDACITY_AVFMT_GLOBALHEADER

#define AUDACITY_AVFMT_GLOBALHEADER   0x0040

Definition at line 35 of file FFmpegTypes.h.

◆ AUDACITY_AVFMT_NOFILE

#define AUDACITY_AVFMT_NOFILE   0x0001

Definition at line 29 of file FFmpegTypes.h.

◆ AUDACITY_AVUNERROR

#define AUDACITY_AVUNERROR (   e)    (e)

Definition at line 26 of file FFmpegTypes.h.

◆ AUDACITY_FF_COMPLIANCE_EXPERIMENTAL

#define AUDACITY_FF_COMPLIANCE_EXPERIMENTAL   -2

Definition at line 93 of file FFmpegTypes.h.

◆ AUDACITY_FF_PROFILE_AAC_LOW

#define AUDACITY_FF_PROFILE_AAC_LOW   1

Definition at line 98 of file FFmpegTypes.h.

◆ AUDACITY_FF_QP2LAMBDA

#define AUDACITY_FF_QP2LAMBDA   118

Definition at line 84 of file FFmpegTypes.h.

◆ AV_VERSION_INT

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

Definition at line 72 of file FFmpegTypes.h.

Typedef Documentation

◆ AVBuffer

typedef struct AVBuffer AVBuffer

Definition at line 1 of file FFmpegTypes.h.

◆ AVCodec

typedef struct AVCodec AVCodec

Definition at line 1 of file FFmpegTypes.h.

◆ AVCodecContext

Definition at line 1 of file FFmpegTypes.h.

◆ AVCodecIDFwd

using AVCodecIDFwd = int

Definition at line 124 of file FFmpegTypes.h.

◆ AVDictionary

typedef struct AVDictionary AVDictionary

Definition at line 1 of file FFmpegTypes.h.

◆ AVDiscardFwd

using AVDiscardFwd = int

Definition at line 128 of file FFmpegTypes.h.

◆ AVFifoBuffer

typedef struct AVFifoBuffer AVFifoBuffer

Definition at line 1 of file FFmpegTypes.h.

◆ AVFormatContext

Definition at line 1 of file FFmpegTypes.h.

◆ AVFrame

typedef struct AVFrame AVFrame

Definition at line 1 of file FFmpegTypes.h.

◆ AVInputFormat

typedef struct AVInputFormat AVInputFormat

Definition at line 1 of file FFmpegTypes.h.

◆ AVIOContext

typedef struct AVIOContext AVIOContext

Definition at line 1 of file FFmpegTypes.h.

◆ AVMediaTypeFwd

using AVMediaTypeFwd = int

Definition at line 125 of file FFmpegTypes.h.

◆ AVOutputFormat

Definition at line 1 of file FFmpegTypes.h.

◆ AVPacket

typedef struct AVPacket AVPacket

Definition at line 1 of file FFmpegTypes.h.

◆ AVPixelFormatFwd

using AVPixelFormatFwd = int

Definition at line 126 of file FFmpegTypes.h.

◆ AVSampleFormatFwd

using AVSampleFormatFwd = int

Definition at line 127 of file FFmpegTypes.h.

◆ AVStream

typedef struct AVStream AVStream

Definition at line 1 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 143 of file FFmpegTypes.h.

AUDACITY_AV_SAMPLE_FMT_DBLP
@ AUDACITY_AV_SAMPLE_FMT_DBLP
double, planar
Definition: FFmpegTypes.h:155
AUDACITY_AV_SAMPLE_FMT_DBL
@ AUDACITY_AV_SAMPLE_FMT_DBL
double
Definition: FFmpegTypes.h:149
AUDACITY_AV_SAMPLE_FMT_NB
@ AUDACITY_AV_SAMPLE_FMT_NB
Number of sample formats. DO NOT USE if linking dynamically.
Definition: FFmpegTypes.h:159
AUDACITY_AV_SAMPLE_FMT_NONE
@ AUDACITY_AV_SAMPLE_FMT_NONE
Definition: FFmpegTypes.h:144
AUDACITY_AV_SAMPLE_FMT_S64P
@ AUDACITY_AV_SAMPLE_FMT_S64P
Definition: FFmpegTypes.h:157
AUDACITY_AV_SAMPLE_FMT_S16P
@ AUDACITY_AV_SAMPLE_FMT_S16P
signed 16 bits, planar
Definition: FFmpegTypes.h:152
AUDACITY_AV_SAMPLE_FMT_U8
@ AUDACITY_AV_SAMPLE_FMT_U8
unsigned 8 bits
Definition: FFmpegTypes.h:145
AUDACITY_AV_SAMPLE_FMT_FLT
@ AUDACITY_AV_SAMPLE_FMT_FLT
float
Definition: FFmpegTypes.h:148
AUDACITY_AV_SAMPLE_FMT_S64
@ AUDACITY_AV_SAMPLE_FMT_S64
Definition: FFmpegTypes.h:156
AUDACITY_AV_SAMPLE_FMT_S16
@ AUDACITY_AV_SAMPLE_FMT_S16
signed 16 bits
Definition: FFmpegTypes.h:146
AUDACITY_AV_SAMPLE_FMT_FLTP
@ AUDACITY_AV_SAMPLE_FMT_FLTP
float, planar
Definition: FFmpegTypes.h:154
AUDACITY_AV_SAMPLE_FMT_S32
@ AUDACITY_AV_SAMPLE_FMT_S32
signed 32 bits
Definition: FFmpegTypes.h:147
AUDACITY_AV_SAMPLE_FMT_U8P
@ AUDACITY_AV_SAMPLE_FMT_U8P
unsigned 8 bits, planar
Definition: FFmpegTypes.h:151
AUDACITY_AV_SAMPLE_FMT_S32P
@ AUDACITY_AV_SAMPLE_FMT_S32P
signed 32 bits, planar
Definition: FFmpegTypes.h:153