forge
Explore
Log in

Don't you dare go Hollow

U6: ec-h264 tests/it: drop the comment lines added with the helper merge and the conformance note (no new comments)

Browse files at this commit

ecc8c4e3b2e81c2955eee5003f24d4d650261883Ahmet Kaan GümüşParent: d297f65
crates/ec-h264/tests/it/common.rsmodified+0 -5
@@ -1,12 +1,8 @@
1-//! Helpers shared by the integration-test modules: byte layouts, the ffmpeg
2-//! pipes, the decode loop and stream utilities that were identical in each file.
3-
41 use std::path::{Path, PathBuf};
52
63 use ec_core::frame::{PixelFormat, VideoFrame};
74 use ec_h264::{Decoder, NalOutcome};
85
9-/// (bytes per sample, chroma width divisor, chroma height divisor)
106 pub(super) fn layout(f: PixelFormat) -> (usize, usize, usize) {
117 match f {
128 PixelFormat::I444 => (1, 1, 1),
@@ -19,7 +15,6 @@ pub(super) fn layout(f: PixelFormat) -> (usize, usize, usize) {
1915 }
2016 }
2117
22-/// One decoded frame as planar bytes (16-bit little endian above 8 bits).
2318 pub(super) fn frame_bytes(frame: &VideoFrame) -> Vec<u8> {
2419 let (bps, dx, dy) = layout(frame.format);
2520 let (w, h) = (frame.width as usize, frame.height as usize);
crates/ec-h264/tests/it/main.rsmodified+0 -2
@@ -1,7 +1,5 @@
11 //! ec-h264 integration tests, one binary. Each module is one former
22 //! `tests/<name>.rs` file; the test path is `<module>::<test>`.
3-//!
4-//! `conformance.rs` stays a separate binary.
53
64 #![forbid(unsafe_code)]
75