diff --git a/include/common/bitdepth.rs b/include/common/bitdepth.rs index 80d395d0f..1a10a1bed 100644 --- a/include/common/bitdepth.rs +++ b/include/common/bitdepth.rs @@ -239,18 +239,6 @@ pub trait BitDepth: Clone + Copy { Self::Pixel::mut_slice_from(bytes).unwrap() } - fn _cast_coef_slice(bytes: &[u8]) -> &[Self::Coef] { - Self::Coef::slice_from(bytes).unwrap() - } - - fn cast_coef_slice_mut(bytes: &mut [u8]) -> &mut [Self::Coef] { - Self::Coef::mut_slice_from(bytes).unwrap() - } - - fn cast_coef(bytes: &[u8]) -> Self::Coef { - *Self::Coef::ref_from(bytes).unwrap() - } - fn cast_coef_mut(bytes: &mut [u8]) -> &mut Self::Coef { Self::Coef::mut_from(bytes).unwrap() }