From 5c78ba9fa9c6f169063bedabc7d673b6484ea7f5 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 08:47:44 +0300 Subject: [PATCH] tools/golden encode_video: h264 (preset x cabac x 8x8 x qp/bitrate x threads), h265 (preset x 8/10-bit x keyint x threads x ctb x HDR SEI), av1 (key/flat/pyramid3/4 x rate x tiles x natural/screen x 176x144 and odd 151x91, speeds 0..10 on natural and screen+tiles), prores (profiles x format x qscale x threads x alpha) --- tools/golden/src/encode_video.rs | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/tools/golden/src/encode_video.rs b/tools/golden/src/encode_video.rs index d77c4273..c74b5cdd 100644 --- a/tools/golden/src/encode_video.rs +++ b/tools/golden/src/encode_video.rs @@ -24,7 +24,7 @@ const AV1_RATES: [RateTarget; 2] = [ }, ]; const AV1_TILES: [(u32, u32); 2] = [(0, 0), (1, 1)]; -const AV1_SIZES: [(usize, usize); 2] = [(176, 144), (150, 90)]; +const AV1_SIZES: [(usize, usize); 2] = [(176, 144), (151, 91)]; #[derive(Clone, Copy, Debug)] enum Av1Mode { @@ -388,16 +388,27 @@ fn av1_cases() -> Vec { } } for mode in AV1_MODES { - for speed in 1..=10 { + for speed in 0..=10 { cases.push(Av1Case { mode, rate: AV1_RATES[0], - tiles: (0, 0), - screen: false, - w: WIDTH, - h: HEIGHT, + tiles: (1, 1), + screen: true, + w: AV1_SIZES[1].0, + h: AV1_SIZES[1].1, speed, }); + if speed > 0 { + cases.push(Av1Case { + mode, + rate: AV1_RATES[0], + tiles: (0, 0), + screen: false, + w: WIDTH, + h: HEIGHT, + speed, + }); + } } } cases