aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2021-08-07 18:30:52 +0200
committerKostya Shishkov <kostya.shishkov@gmail.com>2021-08-07 18:37:00 +0200
commitd6c81913b6633bb6a44aad6f8ca06cee55e26660 (patch)
treed2bf76efc0ec131da68c08ebcbd080e5e9fe98c1
parent93d1e3738a9278d837be5fd4ed14bf021bd5740b (diff)
downloadnihav-d6c81913b6633bb6a44aad6f8ca06cee55e26660.tar.gz
codec_support: derive usual traits for IMA ADPCM state
-rw-r--r--nihav-codec-support/src/codecs/imaadpcm.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/nihav-codec-support/src/codecs/imaadpcm.rs b/nihav-codec-support/src/codecs/imaadpcm.rs
index a2da1d3..ac2d082 100644
--- a/nihav-codec-support/src/codecs/imaadpcm.rs
+++ b/nihav-codec-support/src/codecs/imaadpcm.rs
@@ -24,6 +24,7 @@ pub const IMA_STEP_TABLE: [i32; 89] = [
///! Maximum step value for IMA ADPCM.
pub const IMA_MAX_STEP: u8 = 88;
+#[derive(Clone,Copy,Debug)]
///! Decoder for IMA ADPCM.
pub struct IMAState {
///! Current sample value.