diff options
author | Peter Ross <pross@xvid.org> | 2008-08-23 22:36:35 +0000 |
---|---|---|
committer | Peter Ross <pross@xvid.org> | 2008-08-23 22:36:35 +0000 |
commit | ee7948cb8d7fc020f41f90f14c885e937f48e409 (patch) | |
tree | 63eaebbec639f79599d44b8bbf730b3a129e5f02 /libavformat/raw.c | |
parent | 0a3650c9f005d76381464aaf776a7206d5a6ecfc (diff) | |
download | ffmpeg-ee7948cb8d7fc020f41f90f14c885e937f48e409.tar.gz |
Add raw muxers/demuxers for F64/F32/S32/S24/U32/U24 PCM audio.
Originally committed as revision 14930 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/raw.c')
-rw-r--r-- | libavformat/raw.c | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/libavformat/raw.c b/libavformat/raw.c index df45569239..f8b3f5d57c 100644 --- a/libavformat/raw.c +++ b/libavformat/raw.c @@ -1036,6 +1036,29 @@ AVOutputFormat pcm_ ## name ## _muxer = {\ #define LE_DEF(s) s #endif +PCMDEF(f64be, "PCM 64 bit floating-point big-endian format", + NULL, CODEC_ID_PCM_F64BE) + +PCMDEF(f64le, "PCM 64 bit floating-point little-endian format", + NULL, CODEC_ID_PCM_F64LE) + +PCMDEF(f32be, "PCM 32 bit floating-point big-endian format", + NULL, CODEC_ID_PCM_F32BE) + +PCMDEF(f32le, "PCM 32 bit floating-point little-endian format", + NULL, CODEC_ID_PCM_F32LE) + +PCMDEF(s32be, "PCM signed 32 bit big-endian format", + NULL, CODEC_ID_PCM_S32BE) + +PCMDEF(s32le, "PCM signed 32 bit little-endian format", + NULL, CODEC_ID_PCM_S32LE) + +PCMDEF(s24be, "PCM signed 24 bit big-endian format", + NULL, CODEC_ID_PCM_S24BE) + +PCMDEF(s24le, "PCM signed 24 bit little-endian format", + NULL, CODEC_ID_PCM_S24LE) PCMDEF(s16be, "PCM signed 16 bit big-endian format", BE_DEF("sw"), CODEC_ID_PCM_S16BE) @@ -1046,6 +1069,18 @@ PCMDEF(s16le, "PCM signed 16 bit little-endian format", PCMDEF(s8, "PCM signed 8 bit format", "sb", CODEC_ID_PCM_S8) +PCMDEF(u32be, "PCM unsigned 32 bit big-endian format", + NULL, CODEC_ID_PCM_U32BE) + +PCMDEF(u32le, "PCM unsigned 32 bit little-endian format", + NULL, CODEC_ID_PCM_U32LE) + +PCMDEF(u24be, "PCM unsigned 24 bit big-endian format", + NULL, CODEC_ID_PCM_U24BE) + +PCMDEF(u24le, "PCM unsigned 24 bit little-endian format", + NULL, CODEC_ID_PCM_U24LE) + PCMDEF(u16be, "PCM unsigned 16 bit big-endian format", BE_DEF("uw"), CODEC_ID_PCM_U16BE) |