diff --git a/crates/ec-h264/tests/it/common.rs b/crates/ec-h264/tests/it/common.rs index f2c47987..071533d6 100644 --- a/crates/ec-h264/tests/it/common.rs +++ b/crates/ec-h264/tests/it/common.rs @@ -1,12 +1,8 @@ -//! Helpers shared by the integration-test modules: byte layouts, the ffmpeg -//! pipes, the decode loop and stream utilities that were identical in each file. - use std::path::{Path, PathBuf}; use ec_core::frame::{PixelFormat, VideoFrame}; use ec_h264::{Decoder, NalOutcome}; -/// (bytes per sample, chroma width divisor, chroma height divisor) pub(super) fn layout(f: PixelFormat) -> (usize, usize, usize) { match f { PixelFormat::I444 => (1, 1, 1), @@ -19,7 +15,6 @@ pub(super) fn layout(f: PixelFormat) -> (usize, usize, usize) { } } -/// One decoded frame as planar bytes (16-bit little endian above 8 bits). pub(super) fn frame_bytes(frame: &VideoFrame) -> Vec { let (bps, dx, dy) = layout(frame.format); let (w, h) = (frame.width as usize, frame.height as usize); diff --git a/crates/ec-h264/tests/it/main.rs b/crates/ec-h264/tests/it/main.rs index 919ebddf..c427882b 100644 --- a/crates/ec-h264/tests/it/main.rs +++ b/crates/ec-h264/tests/it/main.rs @@ -1,7 +1,5 @@ //! ec-h264 integration tests, one binary. Each module is one former //! `tests/.rs` file; the test path is `::`. -//! -//! `conformance.rs` stays a separate binary. #![forbid(unsafe_code)]