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)
Browse files at this commit5c78ba9fa9c6f169063bedabc7d673b6484ea7f5Parent: 373920c1 changed file +17 -6
tools/golden/src/encode_video.rsmodified+17 -6
| @@ -24,7 +24,7 @@ const AV1_RATES: [RateTarget; 2] = [ | ||
| 24 | 24 | }, |
| 25 | 25 | ]; |
| 26 | 26 | const AV1_TILES: [(u32, u32); 2] = [(0, 0), (1, 1)]; |
| 27 | -const AV1_SIZES: [(usize, usize); 2] = [(176, 144), (150, 90)]; | |
| 27 | +const AV1_SIZES: [(usize, usize); 2] = [(176, 144), (151, 91)]; | |
| 28 | 28 | |
| 29 | 29 | #[derive(Clone, Copy, Debug)] |
| 30 | 30 | enum Av1Mode { |
| @@ -388,16 +388,27 @@ fn av1_cases() -> Vec<Av1Case> { | ||
| 388 | 388 | } |
| 389 | 389 | } |
| 390 | 390 | for mode in AV1_MODES { |
| 391 | - for speed in 1..=10 { | |
| 391 | + for speed in 0..=10 { | |
| 392 | 392 | cases.push(Av1Case { |
| 393 | 393 | mode, |
| 394 | 394 | rate: AV1_RATES[0], |
| 395 | - tiles: (0, 0), | |
| 396 | - screen: false, | |
| 397 | - w: WIDTH, | |
| 398 | - h: HEIGHT, | |
| 395 | + tiles: (1, 1), | |
| 396 | + screen: true, | |
| 397 | + w: AV1_SIZES[1].0, | |
| 398 | + h: AV1_SIZES[1].1, | |
| 399 | 399 | speed, |
| 400 | 400 | }); |
| 401 | + if speed > 0 { | |
| 402 | + cases.push(Av1Case { | |
| 403 | + mode, | |
| 404 | + rate: AV1_RATES[0], | |
| 405 | + tiles: (0, 0), | |
| 406 | + screen: false, | |
| 407 | + w: WIDTH, | |
| 408 | + h: HEIGHT, | |
| 409 | + speed, | |
| 410 | + }); | |
| 411 | + } | |
| 401 | 412 | } |
| 402 | 413 | } |
| 403 | 414 | cases |