[vlc-commits] Add FOURCC's for DAT12 and L24 (IETF RFC3190)

Rémi Denis-Courmont git at videolan.org
Sat Jan 22 15:09:49 CET 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jan 22 15:59:34 2011 +0200| [77f8c2d6d93bf0794f95b271a809e73a7b98b9d6] | committer: Rémi Denis-Courmont

Add FOURCC's for DAT12 and L24 (IETF RFC3190)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=77f8c2d6d93bf0794f95b271a809e73a7b98b9d6
---

 include/vlc_fourcc.h |    2 ++
 src/misc/fourcc.c    |    4 ++++
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/include/vlc_fourcc.h b/include/vlc_fourcc.h
index b5e0bb9..e6edd88 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -265,6 +265,7 @@
 #define VLC_CODEC_S16B      VLC_FOURCC('s','1','6','b')
 #define VLC_CODEC_U16L      VLC_FOURCC('u','1','6','l')
 #define VLC_CODEC_U16B      VLC_FOURCC('u','1','6','b')
+#define VLC_CODEC_S20B      VLC_FOURCC('s','2','0','b')
 #define VLC_CODEC_S24L      VLC_FOURCC('s','2','4','l')
 #define VLC_CODEC_S24B      VLC_FOURCC('s','2','4','b')
 #define VLC_CODEC_U24L      VLC_FOURCC('u','2','4','l')
@@ -280,6 +281,7 @@
 
 #define VLC_CODEC_ALAW      VLC_FOURCC('a','l','a','w')
 #define VLC_CODEC_MULAW     VLC_FOURCC('m','l','a','w')
+#define VLC_CODEC_DAT12     VLC_FOURCC('L','P','1','2')
 #define VLC_CODEC_S24DAUD   VLC_FOURCC('d','a','u','d')
 #define VLC_CODEC_FI32      VLC_FOURCC('f','i','3','2')
 #define VLC_CODEC_TWINVQ    VLC_FOURCC('T','W','I','N')
diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
index f724796..d1dac2f 100644
--- a/src/misc/fourcc.c
+++ b/src/misc/fourcc.c
@@ -1073,6 +1073,8 @@ static const entry_t p_list_audio[] = {
     B(VLC_CODEC_U16B, "PCM U16 BE"),
         A("u16b"),
 
+    B(VLC_CODEC_S20B, "PCM S20 BE"),
+
     B(VLC_CODEC_S24L, "PCM S24 LE"),
         A("s24l"),
         A("42ni"),  /* Quicktime */
@@ -1108,6 +1110,8 @@ static const entry_t p_list_audio[] = {
         A("mlaw"),
         A("ulaw"),
 
+    B(VLC_CODEC_DAT12, "12 bits DAT audio"),
+
     B(VLC_CODEC_S24DAUD, "PCM DAUD"),
         A("daud"),
 



More information about the vlc-commits mailing list