Audacity 3.2.0
FFmpegDefines.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 FFmpegTypes.h
6
7 Audacity(R) is copyright (c) 1999-2010 Audacity Team.
8 License: GPL v2 or later. See License.txt.
9
10 LRN
11
12 Vitaly Sverchinsky split from ExportFFmpegDialogs.cpp
13
14**********************************************************************/
15
16#pragma once
17
18#include <wx/string.h>
19
20#define AV_CANMETA (AV_VERSION_INT(255, 255, 255))
21
26#define FFMPEG_EXPORT_CTRL_ID_ENTRIES \
27 FFMPEG_EXPORT_CTRL_ID_FIRST_ENTRY(FEFirstID, 20000), \
28 FFMPEG_EXPORT_CTRL_ID_ENTRY(FEFormatID), \
29 FFMPEG_EXPORT_CTRL_ID_ENTRY(FECodecID), \
30 FFMPEG_EXPORT_CTRL_ID_ENTRY(FEBitrateID), \
31 FFMPEG_EXPORT_CTRL_ID_ENTRY(FEQualityID), \
32 FFMPEG_EXPORT_CTRL_ID_ENTRY(FESampleRateID), \
33 FFMPEG_EXPORT_CTRL_ID_ENTRY(FELanguageID), \
34 FFMPEG_EXPORT_CTRL_ID_ENTRY(FETagID), \
35 FFMPEG_EXPORT_CTRL_ID_ENTRY(FECutoffID), \
36 FFMPEG_EXPORT_CTRL_ID_ENTRY(FEFrameSizeID), \
37 FFMPEG_EXPORT_CTRL_ID_ENTRY(FEBufSizeID), \
38 FFMPEG_EXPORT_CTRL_ID_ENTRY(FEProfileID), \
39 FFMPEG_EXPORT_CTRL_ID_ENTRY(FECompLevelID), \
40 FFMPEG_EXPORT_CTRL_ID_ENTRY(FEUseLPCID), \
41 FFMPEG_EXPORT_CTRL_ID_ENTRY(FELPCCoeffsID), \
42 FFMPEG_EXPORT_CTRL_ID_ENTRY(FEMinPredID), \
43 FFMPEG_EXPORT_CTRL_ID_ENTRY(FEMaxPredID), \
44 FFMPEG_EXPORT_CTRL_ID_ENTRY(FEPredOrderID), \
45 FFMPEG_EXPORT_CTRL_ID_ENTRY(FEMinPartOrderID), \
46 FFMPEG_EXPORT_CTRL_ID_ENTRY(FEMaxPartOrderID), \
47 FFMPEG_EXPORT_CTRL_ID_ENTRY(FEMuxRateID), \
48 FFMPEG_EXPORT_CTRL_ID_ENTRY(FEPacketSizeID), \
49 FFMPEG_EXPORT_CTRL_ID_ENTRY(FEBitReservoirID), \
50 FFMPEG_EXPORT_CTRL_ID_ENTRY(FEVariableBlockLenID), \
51 FFMPEG_EXPORT_CTRL_ID_ENTRY(FELastID), \
52 \
53 FFMPEG_EXPORT_CTRL_ID_ENTRY(FEFormatLabelID), \
54 FFMPEG_EXPORT_CTRL_ID_ENTRY(FECodecLabelID), \
55 FFMPEG_EXPORT_CTRL_ID_ENTRY(FEFormatNameID), \
56 FFMPEG_EXPORT_CTRL_ID_ENTRY(FECodecNameID), \
57 FFMPEG_EXPORT_CTRL_ID_ENTRY(FEPresetID), \
58 FFMPEG_EXPORT_CTRL_ID_ENTRY(FESavePresetID), \
59 FFMPEG_EXPORT_CTRL_ID_ENTRY(FELoadPresetID), \
60 FFMPEG_EXPORT_CTRL_ID_ENTRY(FEDeletePresetID), \
61 FFMPEG_EXPORT_CTRL_ID_ENTRY(FEAllFormatsID), \
62 FFMPEG_EXPORT_CTRL_ID_ENTRY(FEAllCodecsID), \
63 FFMPEG_EXPORT_CTRL_ID_ENTRY(FEImportPresetsID), \
64 FFMPEG_EXPORT_CTRL_ID_ENTRY(FEExportPresetsID) \
65
66// First the enumeration
67#define FFMPEG_EXPORT_CTRL_ID_FIRST_ENTRY(name, num) name = num
68#define FFMPEG_EXPORT_CTRL_ID_ENTRY(name) name
69
72};
73
74// Now the string representations
75#undef FFMPEG_EXPORT_CTRL_ID_FIRST_ENTRY
76#define FFMPEG_EXPORT_CTRL_ID_FIRST_ENTRY(name, num) wxT(#name)
77#undef FFMPEG_EXPORT_CTRL_ID_ENTRY
78#define FFMPEG_EXPORT_CTRL_ID_ENTRY(name) wxT(#name)
79static const wxChar *FFmpegExportCtrlIDNames[] = {
81};
82
83#undef FFMPEG_EXPORT_CTRL_ID_ENTRIES
84#undef FFMPEG_EXPORT_CTRL_ID_ENTRY
85#undef FFMPEG_EXPORT_CTRL_ID_FIRST_ENTRY
86
#define FFMPEG_EXPORT_CTRL_ID_ENTRIES
Definition: FFmpegDefines.h:26
FFmpegExportCtrlID
Definition: FFmpegDefines.h:70
static const wxChar * FFmpegExportCtrlIDNames[]
Definition: FFmpegDefines.h:79