25 #define PCMDEF(name_, long_name_, ext, codec) \
26 AVOutputFormat ff_pcm_ ## name_ ## _muxer = { \
28 .long_name = NULL_IF_CONFIG_SMALL(long_name_), \
30 .audio_codec = codec, \
31 .video_codec = AV_CODEC_ID_NONE, \
32 .write_packet = ff_raw_write_packet, \
33 .flags = AVFMT_NOTIMESTAMPS, \
36 PCMDEF(f64be,
"PCM 64-bit floating-point big-endian",
39 PCMDEF(f64le, "PCM 64-bit floating-point little-endian",
42 PCMDEF(f32be, "PCM 32-bit floating-point big-endian",
45 PCMDEF(f32le, "PCM 32-bit floating-point little-endian",
48 PCMDEF(s32be, "PCM
signed 32-bit big-endian",
51 PCMDEF(s32le, "PCM
signed 32-bit little-endian",
54 PCMDEF(s24be, "PCM
signed 24-bit big-endian",
57 PCMDEF(s24le, "PCM
signed 24-bit little-endian",
60 PCMDEF(s16be, "PCM
signed 16-bit big-endian",
63 PCMDEF(s16le, "PCM
signed 16-bit little-endian",
66 PCMDEF(s8, "PCM
signed 8-bit",
69 PCMDEF(u32be, "PCM
unsigned 32-bit big-endian",
72 PCMDEF(u32le, "PCM
unsigned 32-bit little-endian",
75 PCMDEF(u24be, "PCM
unsigned 24-bit big-endian",
78 PCMDEF(u24le, "PCM
unsigned 24-bit little-endian",
81 PCMDEF(u16be, "PCM
unsigned 16-bit big-endian",
84 PCMDEF(u16le, "PCM
unsigned 16-bit little-endian",
87 PCMDEF(u8, "PCM
unsigned 8-bit",
93 PCMDEF(mulaw, "PCM mu-law",