From 1262780ec35fa3ea3f4562ed15c63d9f15637368 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Wed, 2 Dec 2026 06:47:03 +0300 Subject: [PATCH] Revert out-of-scope ec-hw gpu.rs and fixture pin/recipe edits; hevc-open-gop is not part of this fix --- crates/ec-hw/tests/gpu.rs | 6 +++--- scripts/fixtures.d/video.sh | 1 + scripts/fixtures.sha256 | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/crates/ec-hw/tests/gpu.rs b/crates/ec-hw/tests/gpu.rs index 32f30614..750f64d6 100644 --- a/crates/ec-hw/tests/gpu.rs +++ b/crates/ec-hw/tests/gpu.rs @@ -1608,7 +1608,7 @@ fn ffmpeg_psnr(coded: &Path, source: &Path, raw_obu: bool) -> Option { fn extract_y4m(source: &Path, out: &Path, width: u32, height: u32, frames: u32) -> bool { let _ = std::fs::remove_file(out); ec_testkit::ffmpeg() - .args(["-nostdin", "-v", "error", "-y", "-ss", "60", "-i"]) + .args(["-nostdin", "-v", "error", "-y", "-ss", "20", "-i"]) .arg(source) .args([ "-frames:v", @@ -2154,7 +2154,7 @@ fn sdr_h264_colour_never_panics() { #[test] fn hevc_seek_matches_linear_mkv() { let Some(display) = display() else { return }; - let path = ec_testkit::fixture("bitstreams/test_hevc.mkv"); + let path = ec_testkit::fixture("video/hevc-open-gop.mkv"); let data = elementary(&path, Codec::H265, 45).expect("elementary stream"); let units = split_access_units(&data, Codec::H265); @@ -2224,7 +2224,7 @@ fn hevc_seek_matches_linear_mkv() { #[test] fn h264_seek_matches_linear_open_gop() { let Some(display) = display() else { return }; - let path = ec_testkit::fixture("bitstreams/h264-open-gop.mp4"); + let path = ec_testkit::fixture("video/h264-open-gop.mp4"); let data = elementary(&path, Codec::H264, 60).expect("elementary stream"); let units = split_access_units(&data, Codec::H264); diff --git a/scripts/fixtures.d/video.sh b/scripts/fixtures.d/video.sh index 8ddf1299..303043e0 100644 --- a/scripts/fixtures.d/video.sh +++ b/scripts/fixtures.d/video.sh @@ -25,6 +25,7 @@ fam_video() { esac done mk video/h264-open-gop.mp4 -f lavfi -i "testsrc2=size=320x240:rate=30:duration=4" -pix_fmt yuv420p -c:v libx264 -threads 1 -x264-params keyint=30:min-keyint=30:open-gop=1:bframes=3:b-pyramid=normal:scenecut=0:cpu-independent=1 + mk video/hevc-open-gop.mkv -f lavfi -i "testsrc2=size=320x240:rate=30:duration=3" -pix_fmt yuv420p -c:v libx265 -preset ultrafast -x265-params log-level=error:$X265P:keyint=30:min-keyint=30:open-gop=1:bframes=3:scenecut=0 } fam_bitstreams() { diff --git a/scripts/fixtures.sha256 b/scripts/fixtures.sha256 index 69245695..5b1180e3 100644 --- a/scripts/fixtures.sha256 +++ b/scripts/fixtures.sha256 @@ -3011,6 +3011,7 @@ c1e93e01b7af301010b92d4bbdc81bd2c182d18724e5b0773ad0f5beaf61baf7 video/hevc-108 f43cbaba04c680eac3a966693faec2ab356ea22caa49387327d58170ce3935f9 video/hevc-1080p-60-8bit.mp4 661639622969568fe49ffb2d93291ccf4fe9d0ef528aef95ea2f379edb7ae0f2 video/hevc-1916x1080-23.976-8bit.mp4 8b763b1ea4bbb042e4b4b38a6c3d121c8dfb329cb88deb470a3585bfc4e3f9f2 video/hevc-2160p-23.976-8bit.mp4 +8fe61853d3e164cde86db5056a97cde4962048dbb06ffcc7761d03d9c1151c78 video/hevc-open-gop.mkv 473bf16c9820c891c39881f8732dd62fb50b7ccf38a9cbabd2558e79a53647ee video/vp9-1080p-23.976-10bit.mkv 7e387390d992335750c0148572ec69f9cb90a0b738a2fdc551c75bca5dc78201 video/vp9-1080p-23.976-10bit.mp4 3c5a5e03f2d6294a80d08fdb79ae98a0affbbc7abeea7122f1638a416363fe46 video/vp9-1080p-23.976-8bit.mkv