diff --git a/crates/ec-hw/src/enc/headers.rs b/crates/ec-hw/src/enc/headers.rs index 7fd0e64a..a9023700 100644 --- a/crates/ec-hw/src/enc/headers.rs +++ b/crates/ec-hw/src/enc/headers.rs @@ -9,7 +9,6 @@ //! field below therefore has to agree with the `VAEnc*ParameterBuffer` the //! driver was given, or the header describes a picture other than the one the //! hardware coded. -#![allow(dead_code)] // parked with the encoder: the writers return when it is ported /// `VAEncPackedHeaderSequence`: packed sequence-level header bits. pub const PACKED_HEADER_SEQUENCE: u32 = 1; diff --git a/crates/ec-hw/src/enc/mod.rs b/crates/ec-hw/src/enc/mod.rs index 4c8c0730..8f39a94b 100644 --- a/crates/ec-hw/src/enc/mod.rs +++ b/crates/ec-hw/src/enc/mod.rs @@ -34,7 +34,6 @@ //! are all measured by `gpu.rs`'s `av1_encode_rate_control_lands`, which //! prints what each mode delivered against what it was asked for. -#![allow(dead_code)] // the header writers wait for the encoder port use std::collections::VecDeque; use std::rc::Rc; @@ -763,10 +762,6 @@ impl Encoder { Ok(()) } - pub(crate) fn context(&self) -> &Rc { - &self.context - } - pub(crate) fn config(&self) -> &EncoderConfig { &self.config }