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 commitecc8c4e3b2e81c2955eee5003f24d4d650261883Parent: d297f652 changed files +0 -7
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 | - | |
| 4 | 1 | use std::path::{Path, PathBuf}; |
| 5 | 2 | |
| 6 | 3 | use ec_core::frame::{PixelFormat, VideoFrame}; |
| 7 | 4 | use ec_h264::{Decoder, NalOutcome}; |
| 8 | 5 | |
| 9 | -/// (bytes per sample, chroma width divisor, chroma height divisor) | |
| 10 | 6 | pub(super) fn layout(f: PixelFormat) -> (usize, usize, usize) { |
| 11 | 7 | match f { |
| 12 | 8 | PixelFormat::I444 => (1, 1, 1), |
| @@ -19,7 +15,6 @@ pub(super) fn layout(f: PixelFormat) -> (usize, usize, usize) { | ||
| 19 | 15 | } |
| 20 | 16 | } |
| 21 | 17 | |
| 22 | -/// One decoded frame as planar bytes (16-bit little endian above 8 bits). | |
| 23 | 18 | pub(super) fn frame_bytes(frame: &VideoFrame) -> Vec<u8> { |
| 24 | 19 | let (bps, dx, dy) = layout(frame.format); |
| 25 | 20 | let (w, h) = (frame.width as usize, frame.height as usize); |
crates/ec-h264/tests/it/main.rsmodified+0 -2
| @@ -1,7 +1,5 @@ | ||
| 1 | 1 | //! ec-h264 integration tests, one binary. Each module is one former |
| 2 | 2 | //! `tests/<name>.rs` file; the test path is `<module>::<test>`. |
| 3 | -//! | |
| 4 | -//! `conformance.rs` stays a separate binary. | |
| 5 | 3 | |
| 6 | 4 | #![forbid(unsafe_code)] |
| 7 | 5 |