History

mpeg4audio: explicitly define each AOT

This makes it far easier to figure out which AOT belongs to which profile. Also, explicitly highlight the holes.

Lynne committed 2 years ago

Commit ee419801 parent 8a2fe8a1 file · +42 −40Browse files

Unified · Split

libavcodec/mpeg4audio.h+42−40
@@ -68,49 +68,51 @@ int avpriv_mpeg4audio_get_config2(MPEG4AudioConfig *c, const uint8_t *buf, · 67 unmodified lines
68 int size, int sync_extension, void *logctx);68 int size, int sync_extension, void *logctx);
69 69
70enum AudioObjectType {70enum AudioObjectType {
71 AOT_NULL,71 AOT_NULL = 0,
72 // Support? Name72 // Support? Name
73 AOT_AAC_MAIN, ///< Y Main73 AOT_AAC_MAIN = 1, ///< Y Main
74 AOT_AAC_LC, ///< Y Low Complexity74 AOT_AAC_LC = 2, ///< Y Low Complexity
75 AOT_AAC_SSR, ///< N (code in SoC repo) Scalable Sample Rate75 AOT_AAC_SSR = 3, ///< N (code in SoC repo) Scalable Sample Rate
76 AOT_AAC_LTP, ///< Y Long Term Prediction76 AOT_AAC_LTP = 4, ///< Y Long Term Prediction
77 AOT_SBR, ///< Y Spectral Band Replication77 AOT_SBR = 5, ///< Y Spectral Band Replication
78 AOT_AAC_SCALABLE, ///< N Scalable78 AOT_AAC_SCALABLE = 6, ///< N Scalable
79 AOT_TWINVQ, ///< N Twin Vector Quantizer79 AOT_TWINVQ = 7, ///< N Twin Vector Quantizer
80 AOT_CELP, ///< N Code Excited Linear Prediction80 AOT_CELP = 8, ///< N Code Excited Linear Prediction
81 AOT_HVXC, ///< N Harmonic Vector eXcitation Coding81 AOT_HVXC = 9, ///< N Harmonic Vector eXcitation Coding
82
82 AOT_TTSI = 12, ///< N Text-To-Speech Interface83 AOT_TTSI = 12, ///< N Text-To-Speech Interface
83 AOT_MAINSYNTH, ///< N Main Synthesis84 AOT_MAINSYNTH = 13, ///< N Main Synthesis
84 AOT_WAVESYNTH, ///< N Wavetable Synthesis85 AOT_WAVESYNTH = 14, ///< N Wavetable Synthesis
85 AOT_MIDI, ///< N General MIDI86 AOT_MIDI = 15, ///< N General MIDI
86 AOT_SAFX, ///< N Algorithmic Synthesis and Audio Effects87 AOT_SAFX = 16, ///< N Algorithmic Synthesis and Audio Effects
87 AOT_ER_AAC_LC, ///< N Error Resilient Low Complexity88 AOT_ER_AAC_LC = 17, ///< N Error Resilient Low Complexity
89
88 AOT_ER_AAC_LTP = 19, ///< N Error Resilient Long Term Prediction90 AOT_ER_AAC_LTP = 19, ///< N Error Resilient Long Term Prediction
89 AOT_ER_AAC_SCALABLE, ///< N Error Resilient Scalable91 AOT_ER_AAC_SCALABLE = 20, ///< N Error Resilient Scalable
90 AOT_ER_TWINVQ, ///< N Error Resilient Twin Vector Quantizer92 AOT_ER_TWINVQ = 21, ///< N Error Resilient Twin Vector Quantizer
91 AOT_ER_BSAC, ///< N Error Resilient Bit-Sliced Arithmetic Coding93 AOT_ER_BSAC = 22, ///< N Error Resilient Bit-Sliced Arithmetic Coding
92 AOT_ER_AAC_LD, ///< N Error Resilient Low Delay94 AOT_ER_AAC_LD = 23, ///< N Error Resilient Low Delay
93 AOT_ER_CELP, ///< N Error Resilient Code Excited Linear Prediction95 AOT_ER_CELP = 24, ///< N Error Resilient Code Excited Linear Prediction
94 AOT_ER_HVXC, ///< N Error Resilient Harmonic Vector eXcitation Coding96 AOT_ER_HVXC = 25, ///< N Error Resilient Harmonic Vector eXcitation Coding
95 AOT_ER_HILN, ///< N Error Resilient Harmonic and Individual Lines plus Noise97 AOT_ER_HILN = 26, ///< N Error Resilient Harmonic and Individual Lines plus Noise
96 AOT_ER_PARAM, ///< N Error Resilient Parametric98 AOT_ER_PARAM = 27, ///< N Error Resilient Parametric
97 AOT_SSC, ///< N SinuSoidal Coding99 AOT_SSC = 28, ///< N SinuSoidal Coding
98 AOT_PS, ///< N Parametric Stereo100 AOT_PS = 29, ///< N Parametric Stereo
99 AOT_SURROUND, ///< N MPEG Surround101 AOT_SURROUND = 30, ///< N MPEG Surround
100 AOT_ESCAPE, ///< Y Escape Value102 AOT_ESCAPE = 31, ///< Y Escape Value
101 AOT_L1, ///< Y Layer 1103 AOT_L1 = 32, ///< Y Layer 1
102 AOT_L2, ///< Y Layer 2104 AOT_L2 = 33, ///< Y Layer 2
103 AOT_L3, ///< Y Layer 3105 AOT_L3 = 34, ///< Y Layer 3
104 AOT_DST, ///< N Direct Stream Transfer106 AOT_DST = 35, ///< N Direct Stream Transfer
105 AOT_ALS, ///< Y Audio LosslesS107 AOT_ALS = 36, ///< Y Audio LosslesS
106 AOT_SLS, ///< N Scalable LosslesS108 AOT_SLS = 37, ///< N Scalable LosslesS
107 AOT_SLS_NON_CORE, ///< N Scalable LosslesS (non core)109 AOT_SLS_NON_CORE = 38, ///< N Scalable LosslesS (non core)
108 AOT_ER_AAC_ELD, ///< N Error Resilient Enhanced Low Delay110 AOT_ER_AAC_ELD = 39, ///< N Error Resilient Enhanced Low Delay
109 AOT_SMR_SIMPLE, ///< N Symbolic Music Representation Simple111 AOT_SMR_SIMPLE = 40, ///< N Symbolic Music Representation Simple
110 AOT_SMR_MAIN, ///< N Symbolic Music Representation Main112 AOT_SMR_MAIN = 41, ///< N Symbolic Music Representation Main
111 AOT_USAC, ///< Y Unified Speech and Audio Coding113 AOT_USAC = 42, ///< Y Unified Speech and Audio Coding
112 AOT_SAOC, ///< N Spatial Audio Object Coding114 AOT_SAOC = 43, ///< N Spatial Audio Object Coding
113 AOT_LD_SURROUND, ///< N Low Delay MPEG Surround115 AOT_LD_SURROUND = 44, ///< N Low Delay MPEG Surround
114};116};
115 117
116#define MAX_PCE_SIZE 320 ///<Maximum size of a PCE including the 3-bit ID_PCE118#define MAX_PCE_SIZE 320 ///<Maximum size of a PCE including the 3-bit ID_PCE

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t