Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
3fa4ff85
Commit
3fa4ff85
authored
Sep 02, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FourCC reordering for Audio
parent
900acf00
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
22 deletions
+27
-22
modules/codec/avcodec/fourcc.c
modules/codec/avcodec/fourcc.c
+27
-22
No files found.
modules/codec/avcodec/fourcc.c
View file @
3fa4ff85
...
@@ -252,7 +252,7 @@ static const struct
...
@@ -252,7 +252,7 @@ static const struct
/*
/*
* Audio Codecs
* Audio Codecs
*/
*/
/* WMA family */
{
VLC_CODEC_WMA1
,
CODEC_ID_WMAV1
,
AUDIO_ES
},
{
VLC_CODEC_WMA1
,
CODEC_ID_WMAV1
,
AUDIO_ES
},
{
VLC_CODEC_WMA2
,
CODEC_ID_WMAV2
,
AUDIO_ES
},
{
VLC_CODEC_WMA2
,
CODEC_ID_WMAV2
,
AUDIO_ES
},
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 52, 35, 0 )
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 52, 35, 0 )
...
@@ -270,8 +270,6 @@ static const struct
...
@@ -270,8 +270,6 @@ static const struct
{
VLC_CODEC_RA_144
,
CODEC_ID_RA_144
,
AUDIO_ES
},
{
VLC_CODEC_RA_144
,
CODEC_ID_RA_144
,
AUDIO_ES
},
{
VLC_CODEC_RA_288
,
CODEC_ID_RA_288
,
AUDIO_ES
},
{
VLC_CODEC_RA_288
,
CODEC_ID_RA_288
,
AUDIO_ES
},
{
VLC_CODEC_MPGA
,
CODEC_ID_MP3
,
AUDIO_ES
},
{
VLC_CODEC_A52
,
CODEC_ID_AC3
,
AUDIO_ES
},
{
VLC_CODEC_A52
,
CODEC_ID_AC3
,
AUDIO_ES
},
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 52, 0, 0 )
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 52, 0, 0 )
{
VLC_CODEC_EAC3
,
CODEC_ID_EAC3
,
AUDIO_ES
},
{
VLC_CODEC_EAC3
,
CODEC_ID_EAC3
,
AUDIO_ES
},
...
@@ -279,11 +277,9 @@ static const struct
...
@@ -279,11 +277,9 @@ static const struct
{
VLC_CODEC_DTS
,
CODEC_ID_DTS
,
AUDIO_ES
},
{
VLC_CODEC_DTS
,
CODEC_ID_DTS
,
AUDIO_ES
},
{
VLC_CODEC_MP4A
,
CODEC_ID_AAC
,
AUDIO_ES
},
{
VLC_CODEC_MPGA
,
CODEC_ID_MP3
,
AUDIO_ES
},
{
VLC_CODEC_ADPCM_4XM
,
CODEC_ID_ADPCM_4XM
,
AUDIO_ES
},
{
VLC_CODEC_
ADPCM_EA
,
CODEC_ID_ADPCM_EA
,
AUDIO_ES
},
{
VLC_CODEC_
MP4A
,
CODEC_ID_AAC
,
AUDIO_ES
},
{
VLC_CODEC_INTERPLAY_DPCM
,
CODEC_ID_INTERPLAY_DPCM
,
AUDIO_ES
},
{
VLC_CODEC_INTERPLAY_DPCM
,
CODEC_ID_INTERPLAY_DPCM
,
AUDIO_ES
},
...
@@ -291,6 +287,8 @@ static const struct
...
@@ -291,6 +287,8 @@ static const struct
{
VLC_CODEC_DSICINAUDIO
,
CODEC_ID_DSICINAUDIO
,
AUDIO_ES
},
{
VLC_CODEC_DSICINAUDIO
,
CODEC_ID_DSICINAUDIO
,
AUDIO_ES
},
{
VLC_CODEC_ADPCM_4XM
,
CODEC_ID_ADPCM_4XM
,
AUDIO_ES
},
{
VLC_CODEC_ADPCM_EA
,
CODEC_ID_ADPCM_EA
,
AUDIO_ES
},
{
VLC_CODEC_ADPCM_XA
,
CODEC_ID_ADPCM_XA
,
AUDIO_ES
},
{
VLC_CODEC_ADPCM_XA
,
CODEC_ID_ADPCM_XA
,
AUDIO_ES
},
{
VLC_CODEC_ADPCM_ADX
,
CODEC_ID_ADPCM_ADX
,
AUDIO_ES
},
{
VLC_CODEC_ADPCM_ADX
,
CODEC_ID_ADPCM_ADX
,
AUDIO_ES
},
{
VLC_CODEC_ADPCM_IMA_WS
,
CODEC_ID_ADPCM_IMA_WS
,
AUDIO_ES
},
{
VLC_CODEC_ADPCM_IMA_WS
,
CODEC_ID_ADPCM_IMA_WS
,
AUDIO_ES
},
...
@@ -305,9 +303,8 @@ static const struct
...
@@ -305,9 +303,8 @@ static const struct
{
VLC_CODEC_AMR_NB
,
CODEC_ID_AMR_NB
,
AUDIO_ES
},
{
VLC_CODEC_AMR_NB
,
CODEC_ID_AMR_NB
,
AUDIO_ES
},
{
VLC_CODEC_AMR_WB
,
CODEC_ID_AMR_WB
,
AUDIO_ES
},
{
VLC_CODEC_AMR_WB
,
CODEC_ID_AMR_WB
,
AUDIO_ES
},
{
VLC_CODEC_FLAC
,
CODEC_ID_FLAC
,
AUDIO_ES
},
{
VLC_CODEC_GSM
,
CODEC_ID_GSM
,
AUDIO_ES
},
{
VLC_CODEC_GSM_MS
,
CODEC_ID_GSM_MS
,
AUDIO_ES
},
{
VLC_CODEC_ALAC
,
CODEC_ID_ALAC
,
AUDIO_ES
},
{
VLC_CODEC_QDM2
,
CODEC_ID_QDM2
,
AUDIO_ES
},
{
VLC_CODEC_QDM2
,
CODEC_ID_QDM2
,
AUDIO_ES
},
...
@@ -315,27 +312,18 @@ static const struct
...
@@ -315,27 +312,18 @@ static const struct
{
VLC_CODEC_TTA
,
CODEC_ID_TTA
,
AUDIO_ES
},
{
VLC_CODEC_TTA
,
CODEC_ID_TTA
,
AUDIO_ES
},
{
VLC_CODEC_SHORTEN
,
CODEC_ID_SHORTEN
,
AUDIO_ES
},
{
VLC_CODEC_WAVPACK
,
CODEC_ID_WAVPACK
,
AUDIO_ES
},
{
VLC_CODEC_WAVPACK
,
CODEC_ID_WAVPACK
,
AUDIO_ES
},
{
VLC_CODEC_GSM
,
CODEC_ID_GSM
,
AUDIO_ES
},
{
VLC_CODEC_GSM_MS
,
CODEC_ID_GSM_MS
,
AUDIO_ES
},
{
VLC_CODEC_ATRAC3
,
CODEC_ID_ATRAC3
,
AUDIO_ES
},
{
VLC_CODEC_ATRAC3
,
CODEC_ID_ATRAC3
,
AUDIO_ES
},
{
VLC_CODEC_SONIC
,
CODEC_ID_SONIC
,
AUDIO_ES
},
{
VLC_CODEC_SONIC
,
CODEC_ID_SONIC
,
AUDIO_ES
},
{
VLC_CODEC_IMC
,
CODEC_ID_IMC
,
AUDIO_ES
},
{
VLC_CODEC_IMC
,
CODEC_ID_IMC
,
AUDIO_ES
},
{
VLC_CODEC_TRUESPEECH
,
CODEC_ID_TRUESPEECH
,
AUDIO_ES
},
{
VLC_CODEC_TRUESPEECH
,
CODEC_ID_TRUESPEECH
,
AUDIO_ES
},
{
VLC_CODEC_NELLYMOSER
,
CODEC_ID_NELLYMOSER
,
AUDIO_ES
},
{
VLC_CODEC_NELLYMOSER
,
CODEC_ID_NELLYMOSER
,
AUDIO_ES
},
{
VLC_CODEC_APE
,
CODEC_ID_APE
,
AUDIO_ES
},
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 51, 58, 0 )
{
VLC_CODEC_MLP
,
CODEC_ID_MLP
,
AUDIO_ES
},
#endif
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 52, 22, 0 )
{
VLC_CODEC_TRUEHD
,
CODEC_ID_TRUEHD
,
AUDIO_ES
},
#endif
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 52, 6, 0 )
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 52, 6, 0 )
{
VLC_CODEC_QCELP
,
CODEC_ID_QCELP
,
AUDIO_ES
},
{
VLC_CODEC_QCELP
,
CODEC_ID_QCELP
,
AUDIO_ES
},
#endif
#endif
...
@@ -346,6 +334,23 @@ static const struct
...
@@ -346,6 +334,23 @@ static const struct
{
VLC_CODEC_TWINVQ
,
CODEC_ID_TWINVQ
,
AUDIO_ES
},
{
VLC_CODEC_TWINVQ
,
CODEC_ID_TWINVQ
,
AUDIO_ES
},
#endif
#endif
/* Lossless */
{
VLC_CODEC_FLAC
,
CODEC_ID_FLAC
,
AUDIO_ES
},
{
VLC_CODEC_ALAC
,
CODEC_ID_ALAC
,
AUDIO_ES
},
{
VLC_CODEC_APE
,
CODEC_ID_APE
,
AUDIO_ES
},
{
VLC_CODEC_SHORTEN
,
CODEC_ID_SHORTEN
,
AUDIO_ES
},
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 52, 22, 0 )
{
VLC_CODEC_TRUEHD
,
CODEC_ID_TRUEHD
,
AUDIO_ES
},
#endif
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 51, 58, 0 )
{
VLC_CODEC_MLP
,
CODEC_ID_MLP
,
AUDIO_ES
},
#endif
/* PCM */
/* PCM */
{
VLC_CODEC_S8
,
CODEC_ID_PCM_S8
,
AUDIO_ES
},
{
VLC_CODEC_S8
,
CODEC_ID_PCM_S8
,
AUDIO_ES
},
{
VLC_CODEC_U8
,
CODEC_ID_PCM_U8
,
AUDIO_ES
},
{
VLC_CODEC_U8
,
CODEC_ID_PCM_U8
,
AUDIO_ES
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment