X-Git-Url: https://git.nihav.org/?p=nihav.git;a=blobdiff_plain;f=nihav-codec-support%2Fsrc%2Fcodecs%2Fimaadpcm.rs;h=ac2d082aadf0d73f8a3b95eb8645ea50b69612f4;hp=a2da1d316bc90dd42abddce01d26941b4d3a00ff;hb=d6c81913b6633bb6a44aad6f8ca06cee55e26660;hpb=93d1e3738a9278d837be5fd4ed14bf021bd5740b 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.