aac: clear M/S flags
[nihav.git] / nihav-acorn / src / codecs / mod.rs
index f5d5b5aa8af85d088df567341bfb8610c3a65a0f..232e162ed13c614268882abe8fa89bec7d93625f 100644 (file)
@@ -27,11 +27,18 @@ mod movinglines;
 mod movingblocks;
 #[cfg(feature="decoder_movingblockshq")]
 mod movingblockshq;
+#[cfg(feature="decoder_rawvideo")]
+mod rawvideo;
 
 #[cfg(feature="decoder_linepack")]
 mod linepack;
 
+#[cfg(feature="decoder_rawaudio")]
+mod rawaudio;
+
 const ACORN_CODECS: &[DecoderInfo] = &[
+#[cfg(feature="decoder_rawvideo")]
+    DecoderInfo { name: "arm_rawvideo", get_decoder: rawvideo::get_decoder },
 #[cfg(feature="decoder_movinglines")]
     DecoderInfo { name: "movinglines", get_decoder: movinglines::get_decoder },
 #[cfg(feature="decoder_movingblocks")]
@@ -41,6 +48,9 @@ const ACORN_CODECS: &[DecoderInfo] = &[
 
 #[cfg(feature="decoder_linepack")]
     DecoderInfo { name: "linepack", get_decoder: linepack::get_decoder },
+
+#[cfg(feature="decoder_rawaudio")]
+    DecoderInfo { name: "arm_rawaudio", get_decoder: rawaudio::get_decoder },
 ];
 
 /// Registers all available codecs provided by this crate.
@@ -50,7 +60,12 @@ pub fn acorn_register_all_decoders(rd: &mut RegisteredDecoders) {
     }
 }
 
+#[cfg(any(feature="packetiser_cinepak", feature="packetiser_msvideo1"))]
+mod wss_packetisers;
+
 const ACORN_PACKETISERS: &[PacketiserInfo] = &[
+#[cfg(feature="decoder_rawvideo")]
+    PacketiserInfo { name: "arm_rawvideo", get_packetiser: rawvideo::get_packetiser },
 #[cfg(feature="decoder_movinglines")]
     PacketiserInfo { name: "movinglines", get_packetiser: movinglines::get_packetiser },
 #[cfg(feature="decoder_movingblocks")]
@@ -60,6 +75,14 @@ const ACORN_PACKETISERS: &[PacketiserInfo] = &[
 
 #[cfg(feature="decoder_linepack")]
     PacketiserInfo { name: "linepack", get_packetiser: linepack::get_packetiser },
+
+#[cfg(feature="decoder_rawaudio")]
+    PacketiserInfo { name: "arm_rawaudio", get_packetiser: rawaudio::get_packetiser },
+
+#[cfg(feature="packetiser_cinepak")]
+    PacketiserInfo { name: "cinepak", get_packetiser: wss_packetisers::get_packetiser_cinepak },
+#[cfg(feature="packetiser_msvideo1")]
+    PacketiserInfo { name: "msvideo1", get_packetiser: wss_packetisers::get_packetiser_msvideo1 },
 ];
 
 /// Registers all available packetisers provided by this crate.