Restore ec-hw gpu.rs and fixture pin/recipe to the branch base; the earlier revert used the simplify/w0 tip, which carries an unrelated AV1 VBR change
Browse files at this commitcbb2fff30a43ef715009b4f0cf8d5d152b42c014Parent: e13f1153 changed files +3 -5
crates/ec-hw/tests/gpu.rsmodified+3 -3
| @@ -1608,7 +1608,7 @@ fn ffmpeg_psnr(coded: &Path, source: &Path, raw_obu: bool) -> Option<f64> { | ||
| 1608 | 1608 | fn extract_y4m(source: &Path, out: &Path, width: u32, height: u32, frames: u32) -> bool { |
| 1609 | 1609 | let _ = std::fs::remove_file(out); |
| 1610 | 1610 | ec_testkit::ffmpeg() |
| 1611 | - .args(["-nostdin", "-v", "error", "-y", "-ss", "20", "-i"]) | |
| 1611 | + .args(["-nostdin", "-v", "error", "-y", "-ss", "60", "-i"]) | |
| 1612 | 1612 | .arg(source) |
| 1613 | 1613 | .args([ |
| 1614 | 1614 | "-frames:v", |
| @@ -2154,7 +2154,7 @@ fn sdr_h264_colour_never_panics() { | ||
| 2154 | 2154 | #[test] |
| 2155 | 2155 | fn hevc_seek_matches_linear_mkv() { |
| 2156 | 2156 | let Some(display) = display() else { return }; |
| 2157 | - let path = ec_testkit::fixture("video/hevc-open-gop.mkv"); | |
| 2157 | + let path = ec_testkit::fixture("bitstreams/test_hevc.mkv"); | |
| 2158 | 2158 | let data = elementary(&path, Codec::H265, 45).expect("elementary stream"); |
| 2159 | 2159 | let units = split_access_units(&data, Codec::H265); |
| 2160 | 2160 | |
| @@ -2224,7 +2224,7 @@ fn hevc_seek_matches_linear_mkv() { | ||
| 2224 | 2224 | #[test] |
| 2225 | 2225 | fn h264_seek_matches_linear_open_gop() { |
| 2226 | 2226 | let Some(display) = display() else { return }; |
| 2227 | - let path = ec_testkit::fixture("video/h264-open-gop.mp4"); | |
| 2227 | + let path = ec_testkit::fixture("bitstreams/h264-open-gop.mp4"); | |
| 2228 | 2228 | let data = elementary(&path, Codec::H264, 60).expect("elementary stream"); |
| 2229 | 2229 | let units = split_access_units(&data, Codec::H264); |
| 2230 | 2230 |
scripts/fixtures.d/video.shmodified+0 -1
| @@ -25,7 +25,6 @@ fam_video() { | ||
| 25 | 25 | esac |
| 26 | 26 | done |
| 27 | 27 | 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 |
| 28 | - 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 | |
| 29 | 28 | } |
| 30 | 29 | |
| 31 | 30 | fam_bitstreams() { |
scripts/fixtures.sha256modified+0 -1
| @@ -3011,7 +3011,6 @@ c1e93e01b7af301010b92d4bbdc81bd2c182d18724e5b0773ad0f5beaf61baf7 video/hevc-108 | ||
| 3011 | 3011 | f43cbaba04c680eac3a966693faec2ab356ea22caa49387327d58170ce3935f9 video/hevc-1080p-60-8bit.mp4 |
| 3012 | 3012 | 661639622969568fe49ffb2d93291ccf4fe9d0ef528aef95ea2f379edb7ae0f2 video/hevc-1916x1080-23.976-8bit.mp4 |
| 3013 | 3013 | 8b763b1ea4bbb042e4b4b38a6c3d121c8dfb329cb88deb470a3585bfc4e3f9f2 video/hevc-2160p-23.976-8bit.mp4 |
| 3014 | -8fe61853d3e164cde86db5056a97cde4962048dbb06ffcc7761d03d9c1151c78 video/hevc-open-gop.mkv | |
| 3015 | 3014 | 473bf16c9820c891c39881f8732dd62fb50b7ccf38a9cbabd2558e79a53647ee video/vp9-1080p-23.976-10bit.mkv |
| 3016 | 3015 | 7e387390d992335750c0148572ec69f9cb90a0b738a2fdc551c75bca5dc78201 video/vp9-1080p-23.976-10bit.mp4 |
| 3017 | 3016 | 3c5a5e03f2d6294a80d08fdb79ae98a0affbbc7abeea7122f1638a416363fe46 video/vp9-1080p-23.976-8bit.mkv |