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-
4 use std::path::{Path, PathBuf};1 use std::path::{Path, PathBuf};
5 2
6 use ec_core::frame::{PixelFormat, VideoFrame};3 use ec_core::frame::{PixelFormat, VideoFrame};
7 use ec_h264::{Decoder, NalOutcome};4 use ec_h264::{Decoder, NalOutcome};
8 5
9-/// (bytes per sample, chroma width divisor, chroma height divisor)
10 pub(super) fn layout(f: PixelFormat) -> (usize, usize, usize) {6 pub(super) fn layout(f: PixelFormat) -> (usize, usize, usize) {
11 match f {7 match f {
12 PixelFormat::I444 => (1, 1, 1),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 pub(super) fn frame_bytes(frame: &VideoFrame) -> Vec<u8> {18 pub(super) fn frame_bytes(frame: &VideoFrame) -> Vec<u8> {
24 let (bps, dx, dy) = layout(frame.format);19 let (bps, dx, dy) = layout(frame.format);
25 let (w, h) = (frame.width as usize, frame.height as usize);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 //! ec-h264 integration tests, one binary. Each module is one former1 //! ec-h264 integration tests, one binary. Each module is one former
2 //! `tests/<name>.rs` file; the test path is `<module>::<test>`.2 //! `tests/<name>.rs` file; the test path is `<module>::<test>`.
3-//!
4-//! `conformance.rs` stays a separate binary.
5 3
6 #![forbid(unsafe_code)]4 #![forbid(unsafe_code)]
7 5