diff --git a/crates/ec-av1/src/encode.rs b/crates/ec-av1/src/encode.rs index a6763157..6c9239b8 100644 --- a/crates/ec-av1/src/encode.rs +++ b/crates/ec-av1/src/encode.rs @@ -4637,8 +4637,17 @@ fn code_square_inter( // 0.05 (both rejections above were measured at 0.1, the weight // the lambda lane showed was 2x too heavy): a compound winner is // offered the same var-tx split, its units predicted from BOTH - // references. Behind `EC_AV1_COMP_VARTX` until the native table - // says keep. + // references (`mc_trial_compound`). RE-MEASURED native: film + // 1080p +16.0/-1.1, film 2160p +46.6/+18.8, screen +51.4/-14.4 + // against the +16.2/-1.1, +46.6/+18.8, +51.3/-14.4 with it off -- + // one row 0.2 down, two flat, short of the two-down-one-flat keep + // rule, so it stays behind `EC_AV1_COMP_VARTX` (default OFF) + // rather than change the default on a single 0.2 row. It fires: + // 37.0% / 11.1% / 32.9% of the compound blocks split. 640x384 for + // the record: +70.5/+84.0/+48.9 and +28.9/+46.2/-3.7 against + // +70.4/+85.3/+48.5 and +28.4/+47.4/-4.0 -- the 4K film row is + // 1.3/1.2 down there, which is where the upgrade path is if this + // is picked up again. let second = info.ref1.filter(|_| motion_won == 0).and_then(|r| { refs[r as usize].map(|g| { ( @@ -7205,15 +7214,28 @@ fn search_inter_block( } } } - // lane-av1txbits BUILT the transform-depth search this path lacks -- a - // 32x32 single-reference winner offered `commit_inter_luma`'s four 16x16 - // units against its flat trial, exactly as a 16x16 winner is -- and - // MEASURED it flat to slightly worse: +78.7/+95.1/+54.6 vs libaom and - // +36.1/+56.2/+1.8 vs rav1e, against the +78.8/+95.1/+54.5 and - // +36.1/+56.4/+1.4 this code scores, while the split fired on 40.2% of - // the film's inter blocks and 17.6% of the screen's. The same shape as - // the compound trial set below: a local RD win that does not convert into - // ladder bytes. The flat 32x32 transform stays. + // The transform-depth search of a 32x32 winner (`EC_AV1_TX32_DEPTH`, + // default OFF): the four 16x16 units of `commit_inter_luma` against the + // flat trial, exactly as a 16x16 leaf is offered. lane-av1txbits measured + // it flat-to-worse at LAMBDA_SCALE 0.1; lane-av1txdepth REBUILT it and + // RE-MEASURED it at 0.05, where the rate weight is half of what rejected + // it, and it is worse again on the deciding native table: film 1080p + // +16.6/-0.5, film 2160p +46.6/+18.8, screen +50.9/-14.3 against the + // +16.2/-1.1, +46.6/+18.8, +51.3/-14.4 of the same build with it off -- + // 1080p up 0.4/0.6, one row flat, screen 0.4 down against libaom and 0.1 + // up against rav1e. (640x384 reads it slightly the other way, +70.0/ + // +85.0/+48.4 and +28.3/+47.2/-3.6 against +70.4/+85.3/+48.5 and + // +28.4/+47.4/-4.0 -- the native table decides.) + // + // NOT blindness: the split wins 62.3% of the 1080p film's 32x32 blocks, + // 70.9% of the 4K film's and 53.5% of the screen's. NOT mis-pricing + // either, and the census names the row: the split units' own set + // `Luma16Inter` is priced within 1.4% of what it is written at in every + // bucket from two non-zeros up, and its ZERO bucket (335 units) is priced + // +30.1% ABOVE the written bits -- an error that biases AGAINST splitting, + // so a perfect pricer would split even more, and more splitting is what + // measured worse. The four extra txb_skip/eob symbols simply cost more + // ladder bytes than the local RD saves. The flat 32x32 transform stays. // lane-av1txdepth REBUILT that search at LAMBDA_SCALE 0.05 (the rejection // above was measured at 0.1), behind `EC_AV1_TX32_DEPTH`, and gave the // compound winner the same offer behind `EC_AV1_COMP_VARTX`. An OBMC/warp diff --git a/lanes/native-step1.txt b/lanes/native-step1.txt new file mode 100644 index 00000000..0a329ee4 --- /dev/null +++ b/lanes/native-step1.txt @@ -0,0 +1,29 @@ +Running as unit: run-p1998278-i90034340.scope; invocation ID: 2e6ac6d2635e41319bfbb3444604d202 + Finished `release` profile [optimized] target(s) in 0.01s + Running unittests src/lib.rs (/home/user/.cache/cargo-target-av1txdepth/release/deps/ec_av1-8fef0196ab10338d) + +running 1 test + +native crop, 12 frames, gop=12; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | +|---|---|---|---|---| +film 1080p: pricer armings default=14 real=164 +film 1080p: motion_mode 32x32 SIMPLE=26771 OBMC=0 WARP=297 | 16x16 SIMPLE=3260 OBMC=0 WARP=223 | 8x8 SIMPLE=15735 OBMC=0 WARP=1837 (0.0% OBMC / 4.9% WARP of 48123 eligible) +film 1080p: inter var-tx depths of 6999 blocks -- leaf single 0=2703 1=727 (21.2% split) | leaf compound 0=0 1=0 (0.0% split) | 32x32 single 0=1347 1=2222 (62.3% split) | 32x32 compound 0=0 1=0 (0.0% split) +film 1080p: screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +test encode::tests::bd_rate_screen_native has been running for over 60 seconds +| film 1080p 1920x1024 | 43.81 dB/251862 B, 47.66 dB/372039 B, 51.07 dB/489946 B, 53.77 dB/615887 B | +16.6% | -0.5% | 38.8s:6.6s:16.7s | +film 2160p: pricer armings default=15 real=152 +film 2160p: motion_mode 32x32 SIMPLE=15503 OBMC=0 WARP=6 | 16x16 SIMPLE=353 OBMC=0 WARP=24 | 8x8 SIMPLE=4344 OBMC=0 WARP=658 (0.0% OBMC / 3.3% WARP of 20888 eligible) +film 2160p: inter var-tx depths of 2468 blocks -- leaf single 0=412 1=95 (18.7% split) | leaf compound 0=0 1=0 (0.0% split) | 32x32 single 0=571 1=1390 (70.9% split) | 32x32 compound 0=0 1=0 (0.0% split) +film 2160p: screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +| film 2160p 1920x1024 | 43.45 dB/303233 B, 47.71 dB/457795 B, 51.38 dB/584752 B, 54.26 dB/704129 B | +46.6% | +18.8% | 34.8s:5.7s:16.1s | +screen capture (2026-07-25 02-09-04.mkv): pricer armings default=157 real=0 +screen capture (2026-07-25 02-09-04.mkv): motion_mode 32x32 SIMPLE=76679 OBMC=0 WARP=1901 | 16x16 SIMPLE=2422 OBMC=0 WARP=311 | 8x8 SIMPLE=505 OBMC=0 WARP=461 (0.0% OBMC / 3.2% WARP of 82279 eligible) +screen capture (2026-07-25 02-09-04.mkv): inter var-tx depths of 14907 blocks -- leaf single 0=3988 1=2376 (37.3% split) | leaf compound 0=0 1=0 (0.0% split) | 32x32 single 0=3969 1=4574 (53.5% split) | 32x32 compound 0=0 1=0 (0.0% split) +screen capture (2026-07-25 02-09-04.mkv): screen frames on=48 off=0 (100.0% on); palette blocks luma 6789 chroma 647; intrabc blocks 0 (searched 0 / valid 0 / won 0) +| screen capture (2026-07-25 02-09-04.mkv) 1920x1024 | 44.78 dB/41833 B, 48.14 dB/54344 B, 50.66 dB/70762 B, 53.00 dB/92254 B | +50.9% | -14.3% | 28.3s:8.4s:11.5s | +test encode::tests::bd_rate_screen_native ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 573 filtered out; finished in 174.48s + diff --git a/lanes/native-step2.txt b/lanes/native-step2.txt new file mode 100644 index 00000000..2aba44a6 --- /dev/null +++ b/lanes/native-step2.txt @@ -0,0 +1,29 @@ +Running as unit: run-p2119666-i90086399.scope; invocation ID: a6b318e6b4a34fb080d078ad882b03d7 + Finished `release` profile [optimized] target(s) in 0.01s + Running unittests src/lib.rs (/home/user/.cache/cargo-target-av1txdepth/release/deps/ec_av1-8fef0196ab10338d) + +running 1 test + +native crop, 12 frames, gop=12; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | +|---|---|---|---|---| +film 1080p: pricer armings default=14 real=167 +film 1080p: motion_mode 32x32 SIMPLE=28499 OBMC=0 WARP=303 | 16x16 SIMPLE=4084 OBMC=0 WARP=318 | 8x8 SIMPLE=15557 OBMC=0 WARP=1936 (0.0% OBMC / 5.0% WARP of 50697 eligible) +film 1080p: inter var-tx depths of 7112 blocks -- leaf single 0=2898 1=745 (20.5% split) | leaf compound 0=2186 1=1283 (37.0% split) | 32x32 single 0=0 1=0 (0.0% split) | 32x32 compound 0=0 1=0 (0.0% split) +film 1080p: screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +test encode::tests::bd_rate_screen_native has been running for over 60 seconds +| film 1080p 1920x1024 | 43.82 dB/247279 B, 47.66 dB/370822 B, 51.05 dB/490858 B, 53.78 dB/613266 B | +16.0% | -1.1% | 39.0s:6.7s:16.8s | +film 2160p: pricer armings default=15 real=154 +film 2160p: motion_mode 32x32 SIMPLE=15534 OBMC=0 WARP=4 | 16x16 SIMPLE=328 OBMC=0 WARP=16 | 8x8 SIMPLE=4547 OBMC=0 WARP=652 (0.0% OBMC / 3.2% WARP of 21081 eligible) +film 2160p: inter var-tx depths of 6367 blocks -- leaf single 0=382 1=110 (22.4% split) | leaf compound 0=5221 1=654 (11.1% split) | 32x32 single 0=0 1=0 (0.0% split) | 32x32 compound 0=0 1=0 (0.0% split) +film 2160p: screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +| film 2160p 1920x1024 | 43.46 dB/303386 B, 47.71 dB/457686 B, 51.38 dB/585816 B, 54.26 dB/704290 B | +46.6% | +18.8% | 35.2s:5.6s:16.0s | +screen capture (2026-07-25 02-09-04.mkv): pricer armings default=159 real=0 +screen capture (2026-07-25 02-09-04.mkv): motion_mode 32x32 SIMPLE=77534 OBMC=0 WARP=1894 | 16x16 SIMPLE=3725 OBMC=0 WARP=412 | 8x8 SIMPLE=463 OBMC=0 WARP=447 (0.0% OBMC / 3.3% WARP of 84475 eligible) +screen capture (2026-07-25 02-09-04.mkv): inter var-tx depths of 13394 blocks -- leaf single 0=4044 1=2401 (37.3% split) | leaf compound 0=4663 1=2286 (32.9% split) | 32x32 single 0=0 1=0 (0.0% split) | 32x32 compound 0=0 1=0 (0.0% split) +screen capture (2026-07-25 02-09-04.mkv): screen frames on=48 off=0 (100.0% on); palette blocks luma 6803 chroma 644; intrabc blocks 0 (searched 0 / valid 0 / won 0) +| screen capture (2026-07-25 02-09-04.mkv) 1920x1024 | 44.81 dB/41648 B, 48.13 dB/54166 B, 50.67 dB/70905 B, 52.98 dB/93026 B | +51.4% | -14.4% | 28.3s:8.3s:11.3s | +test encode::tests::bd_rate_screen_native ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 573 filtered out; finished in 175.09s + diff --git a/lanes/pricer-both.txt b/lanes/pricer-both.txt new file mode 100644 index 00000000..a3b288f8 --- /dev/null +++ b/lanes/pricer-both.txt @@ -0,0 +1,147 @@ + Finished `release` profile [optimized] target(s) in 0.01s + Running unittests src/lib.rs (/home/user/.cache/cargo-target-av1txdepth/release/deps/ec_av1-8fef0196ab10338d) + +running 1 test + +## film 1080p (6 frames at 640x384, q=100): screen frames 0, pricer armings default=5 real=20 +| set | nz | blocks | priced bits | written bits | error | +|---|---|---|---|---|---| +| Chroma16 | 0 | 2248 | 559 | 391 | +43.0% | +| Chroma16 | 1 | 124 | 788 | 778 | +1.2% | +| Chroma16 | 2 | 57 | 1226 | 1186 | +3.4% | +| Chroma16 | 3-4 | 30 | 995 | 996 | -0.1% | +| Chroma16 | 5-8 | 25 | 1053 | 1001 | +5.2% | +| Chroma16 | 9-16 | 32 | 2796 | 2904 | -3.7% | +| Chroma16 | 17+ | 142 | 47184 | 46568 | +1.3% | +| Chroma4 | 0 | 994 | 960 | 1003 | -4.2% | +| Chroma4 | 1 | 295 | 2285 | 2274 | +0.5% | +| Chroma4 | 2 | 182 | 2283 | 2290 | -0.3% | +| Chroma4 | 3-4 | 242 | 4504 | 4508 | -0.1% | +| Chroma4 | 5-8 | 244 | 6811 | 6813 | -0.0% | +| Chroma4 | 9-16 | 247 | 11448 | 11285 | +1.4% | +| Chroma8 | 0 | 1950 | 1022 | 1323 | -22.7% | +| Chroma8 | 1 | 374 | 2596 | 2739 | -5.2% | +| Chroma8 | 2 | 133 | 2167 | 2158 | +0.4% | +| Chroma8 | 3-4 | 186 | 4505 | 4516 | -0.2% | +| Chroma8 | 5-8 | 203 | 8736 | 8253 | +5.8% | +| Chroma8 | 9-16 | 272 | 18829 | 17692 | +6.4% | +| Chroma8 | 17+ | 430 | 52713 | 49316 | +6.9% | +| Luma16 | 0 | 49 | 269 | 159 | +69.4% | +| Luma16 | 1 | 70 | 511 | 415 | +23.2% | +| Luma16 | 2 | 3 | 80 | 81 | -0.7% | +| Luma16 | 3-4 | 6 | 147 | 167 | -11.9% | +| Luma16 | 5-8 | 24 | 1075 | 1091 | -1.5% | +| Luma16 | 9-16 | 27 | 2305 | 2111 | +9.2% | +| Luma16 | 17+ | 109 | 30092 | 29405 | +2.3% | +| Luma16Inter | 0 | 335 | 306 | 235 | +30.1% | +| Luma16Inter | 1 | 55 | 591 | 532 | +11.0% | +| Luma16Inter | 2 | 52 | 946 | 933 | +1.4% | +| Luma16Inter | 3-4 | 86 | 2383 | 2394 | -0.4% | +| Luma16Inter | 5-8 | 74 | 3640 | 3596 | +1.2% | +| Luma16Inter | 9-16 | 100 | 8431 | 8416 | +0.2% | +| Luma16Inter | 17+ | 78 | 19629 | 19755 | -0.6% | +| Luma32 | 0 | 531 | 475 | 251 | +89.1% | +| Luma32 | 1 | 48 | 364 | 258 | +41.2% | +| Luma32 | 17+ | 30 | 21950 | 21823 | +0.6% | +| Luma32Inter | 0 | 23 | 47 | 21 | +123.6% | +| Luma32Inter | 1 | 87 | 626 | 616 | +1.6% | +| Luma32Inter | 2 | 15 | 267 | 271 | -1.6% | +| Luma32Inter | 3-4 | 7 | 168 | 165 | +1.8% | +| Luma32Inter | 5-8 | 2 | 162 | 162 | -0.1% | +| Luma32Inter | 17+ | 49 | 17381 | 17388 | -0.0% | +| Luma4 | 0 | 2216 | 1174 | 792 | +48.2% | +| Luma4 | 1 | 175 | 1703 | 1411 | +20.7% | +| Luma4 | 2 | 67 | 884 | 913 | -3.2% | +| Luma4 | 3-4 | 99 | 2041 | 2024 | +0.9% | +| Luma4 | 5-8 | 313 | 10703 | 10304 | +3.9% | +| Luma4 | 9-16 | 294 | 13729 | 13161 | +4.3% | +| Luma8 | 0 | 10429 | 2158 | 767 | +181.3% | +| Luma8 | 1 | 61 | 528 | 532 | -0.8% | +| Luma8 | 2 | 13 | 198 | 208 | -4.9% | +| Luma8 | 3-4 | 3 | 56 | 59 | -4.7% | +| Luma8 | 5-8 | 19 | 607 | 622 | -2.5% | +| Luma8 | 9-16 | 27 | 1814 | 1790 | +1.3% | +| Luma8 | 17+ | 66 | 7709 | 7671 | +0.5% | +| Luma8Inter | 0 | 254 | 339 | 292 | +15.9% | +| Luma8Inter | 1 | 76 | 773 | 778 | -0.7% | +| Luma8Inter | 2 | 80 | 1283 | 1335 | -3.9% | +| Luma8Inter | 3-4 | 110 | 2601 | 2644 | -1.6% | +| Luma8Inter | 5-8 | 110 | 4072 | 4136 | -1.5% | +| Luma8Inter | 9-16 | 186 | 10713 | 10787 | -0.7% | +| Luma8Inter | 17+ | 293 | 29202 | 29071 | +0.4% | +| ALL | | 25161 | 377589 | 367536 | +2.7% | + +## screen (6 frames at 640x384, q=100): screen frames 6, pricer armings default=21 real=0 +| set | nz | blocks | priced bits | written bits | error | +|---|---|---|---|---|---| +| Chroma16 | 0 | 1463 | 616 | 714 | -13.7% | +| Chroma16 | 1 | 280 | 2920 | 2343 | +24.6% | +| Chroma16 | 2 | 97 | 1910 | 1618 | +18.0% | +| Chroma16 | 3-4 | 62 | 1523 | 1422 | +7.1% | +| Chroma16 | 5-8 | 42 | 1606 | 1496 | +7.4% | +| Chroma16 | 9-16 | 36 | 2094 | 1955 | +7.1% | +| Chroma16 | 17+ | 4 | 325 | 316 | +2.7% | +| Chroma4 | 0 | 233 | 94 | 69 | +36.9% | +| Chroma4 | 1 | 19 | 131 | 135 | -2.8% | +| Chroma4 | 2 | 10 | 117 | 118 | -1.2% | +| Chroma4 | 3-4 | 18 | 321 | 330 | -2.6% | +| Chroma4 | 5-8 | 7 | 216 | 215 | +0.7% | +| Chroma4 | 9-16 | 5 | 183 | 185 | -0.9% | +| Chroma8 | 0 | 1579 | 664 | 582 | +14.0% | +| Chroma8 | 1 | 222 | 1463 | 1430 | +2.3% | +| Chroma8 | 2 | 46 | 652 | 626 | +4.1% | +| Chroma8 | 3-4 | 74 | 1507 | 1402 | +7.5% | +| Chroma8 | 5-8 | 68 | 2314 | 2268 | +2.0% | +| Chroma8 | 9-16 | 27 | 1359 | 1370 | -0.8% | +| Chroma8 | 17+ | 2 | 147 | 146 | +0.4% | +| Luma16 | 0 | 76 | 478 | 220 | +117.1% | +| Luma16 | 1 | 47 | 572 | 480 | +19.1% | +| Luma16 | 2 | 20 | 445 | 398 | +11.7% | +| Luma16 | 3-4 | 58 | 1774 | 1550 | +14.4% | +| Luma16 | 5-8 | 98 | 4270 | 3933 | +8.6% | +| Luma16 | 9-16 | 60 | 4050 | 3870 | +4.6% | +| Luma16 | 17+ | 22 | 3150 | 3172 | -0.7% | +| Luma16Inter | 0 | 921 | 819 | 329 | +149.0% | +| Luma16Inter | 1 | 162 | 2116 | 1607 | +31.7% | +| Luma16Inter | 2 | 43 | 1028 | 857 | +20.0% | +| Luma16Inter | 3-4 | 14 | 443 | 415 | +6.6% | +| Luma16Inter | 5-8 | 3 | 148 | 139 | +6.7% | +| Luma16Inter | 9-16 | 3 | 269 | 278 | -3.3% | +| Luma32 | 0 | 67 | 268 | 117 | +128.9% | +| Luma32 | 1 | 2 | 52 | 50 | +3.4% | +| Luma32 | 2 | 4 | 110 | 92 | +19.2% | +| Luma32 | 3-4 | 8 | 296 | 268 | +10.5% | +| Luma32 | 5-8 | 16 | 919 | 910 | +1.0% | +| Luma32 | 9-16 | 42 | 3742 | 3614 | +3.5% | +| Luma32 | 17+ | 46 | 7478 | 7434 | +0.6% | +| Luma32Inter | 0 | 39 | 156 | 127 | +22.7% | +| Luma32Inter | 1 | 165 | 2067 | 1014 | +103.9% | +| Luma32Inter | 2 | 101 | 2736 | 1965 | +39.3% | +| Luma32Inter | 3-4 | 74 | 3101 | 2455 | +26.3% | +| Luma32Inter | 5-8 | 38 | 2495 | 2136 | +16.8% | +| Luma32Inter | 9-16 | 6 | 528 | 498 | +6.0% | +| Luma4 | 0 | 2147 | 1501 | 862 | +74.1% | +| Luma4 | 1 | 155 | 1614 | 1427 | +13.1% | +| Luma4 | 2 | 110 | 1554 | 1417 | +9.7% | +| Luma4 | 3-4 | 159 | 3227 | 2987 | +8.0% | +| Luma4 | 5-8 | 180 | 5670 | 5432 | +4.4% | +| Luma4 | 9-16 | 209 | 9921 | 9555 | +3.8% | +| Luma8 | 0 | 2937 | 1042 | 550 | +89.4% | +| Luma8 | 1 | 88 | 1034 | 886 | +16.7% | +| Luma8 | 2 | 33 | 569 | 504 | +12.9% | +| Luma8 | 3-4 | 44 | 1033 | 972 | +6.3% | +| Luma8 | 5-8 | 54 | 1916 | 1788 | +7.2% | +| Luma8 | 9-16 | 44 | 2398 | 2356 | +1.8% | +| Luma8 | 17+ | 27 | 2842 | 2902 | -2.1% | +| Luma8Inter | 0 | 139 | 76 | 55 | +37.7% | +| Luma8Inter | 1 | 38 | 511 | 462 | +10.5% | +| Luma8Inter | 2 | 11 | 186 | 179 | +3.8% | +| Luma8Inter | 3-4 | 6 | 193 | 170 | +13.3% | +| Luma8Inter | 5-8 | 17 | 744 | 741 | +0.4% | +| Luma8Inter | 9-16 | 19 | 1119 | 1136 | -1.5% | +| Luma8Inter | 17+ | 21 | 1841 | 1883 | -2.3% | +| ALL | | 12867 | 102660 | 92932 | +10.5% | +test encode::tests::pricer_error_census_on_clips ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 573 filtered out; finished in 1.95s + diff --git a/lanes/small-base.txt b/lanes/small-base.txt new file mode 100644 index 00000000..5cec0c86 --- /dev/null +++ b/lanes/small-base.txt @@ -0,0 +1,70 @@ + Finished `release` profile [optimized] target(s) in 0.01s + Running unittests src/lib.rs (/home/user/.cache/cargo-target-av1txdepth/release/deps/ec_av1-8fef0196ab10338d) + +running 1 test + +12 frames of each clip at 640x384, gop=12, 1 tile, 1 thread +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e | +|---|---|---|---|---| +h264-1080p-23.976-8bit.mp4: inter modes NEAREST 9371 (80.7%) NEAR 256 (2.2%) GLOBAL 209 (1.8%) NEW 1782 (15.3%); drl idx 0/1/2/3+ 11268/322/28/0 +h264-1080p-23.976-8bit.mp4: compound 13882 of 25500 inter blocks (54.4%); modes NEAREST_NEAREST 10742 NEAR_NEAR 0 NEAREST_NEW 862 NEW_NEAREST 649 GLOBAL_GLOBAL 858 NEW_NEW 771; pairs LAST+GOLDEN 3816 LAST+ALTREF 10066 +h264-1080p-23.976-8bit.mp4: leaf (16x16 and below) compound modes NEAREST_NEAREST 7956 NEAR_NEAR 0 NEAREST_NEW 733 NEW_NEAREST 540 GLOBAL_GLOBAL 680 NEW_NEW 688 +h264-1080p-23.976-8bit.mp4: compound by size 8x8 6783 16x16 3814 32x32 3285 +h264-1080p-23.976-8bit.mp4: motion search 98026 calls, 5446836 candidate evals (55.6/call, 28.8% of them subpel), 463341 integer rounds (4.73/call); winner within +-1 pel of pred_mv 85.5%, winner = starting seed 65.4% +h264-1080p-23.976-8bit.mp4: references LAST 7048 GOLDEN 4288 (LAST2 0 LAST3 0 BWD 0 ALT2 0 ALT 282) +h264-1080p-23.976-8bit.mp4: inter 32x32 split into 16s 1627 of 10560 blocks (15.4%); 16x16 leaves split into 8s 1844 of 9112 (20.2%) +h264-1080p-23.976-8bit.mp4: over 48 frames -- deblock luma mean 9.6 chroma 9.1; cdef luma pri 5.1/sec 3.1, chroma pri 3.6/sec 1.8 +h264-1080p-23.976-8bit.mp4: cdef_bits frames 6/19/13/10 (0/1/2/3); 949 of 2880 64x64 units on a non-default preset (33.0%) +h264-1080p-23.976-8bit.mp4: lr units none=2862 wiener=18 (0.6% restored) +h264-1080p-23.976-8bit.mp4: pricer armings default=16 real=181 +h264-1080p-23.976-8bit.mp4: screen frames on=0 off=4; palette blocks 0 sizes +h264-1080p-23.976-8bit.mp4: chroma palette blocks 0 sizes +h264-1080p-23.976-8bit.mp4: uv modes DC=15111 (42.7%) V=2562 (7.2%) H=3451 (9.8%) SMOOTH=4360 (12.3%) SMOOTH_V=2146 (6.1%) SMOOTH_H=2790 (7.9%) PAETH=4952 (14.0%) +h264-1080p-23.976-8bit.mp4: intra tx depths 0=12296 (34.8%) 1=19811 (56.0%) 2=3265 (9.2%) +h264-1080p-23.976-8bit.mp4: inter var-tx depths of 943 blocks -- leaf single 0=557 1=386 (40.9% split) | leaf compound 0=0 1=0 (0.0% split) | 32x32 single 0=0 1=0 (0.0% split) | 32x32 compound 0=0 1=0 (0.0% split) +h264-1080p-23.976-8bit.mp4: motion_mode 32x32 SIMPLE=6250 OBMC=0 WARP=322 | 16x16 SIMPLE=1180 OBMC=0 WARP=314 | 8x8 SIMPLE=2337 OBMC=0 WARP=529 (0.0% OBMC / 10.7% WARP of 10932 eligible) +| h264-1080p-23.976-8bit.mp4 | 43.23 dB/13584 B, 46.27 dB/25939 B, 49.08 dB/44212 B, 51.47 dB/66470 B | +70.4% | +28.4% | 5.6s:1.1s:2.6s | +| references | libaom 42.76 dB/7179 B, 44.78 dB/10177 B, 48.45 dB/24647 B, 56.50 dB/94272 B | rav1e 37.98 dB/4274 B, 42.57 dB/8004 B, 45.74 dB/17715 B, 49.20 dB/39938 B | | | +h264-2160p-23.976-8bit.mp4: inter modes NEAREST 9033 (84.3%) NEAR 381 (3.6%) GLOBAL 188 (1.8%) NEW 1114 (10.4%); drl idx 0/1/2/3+ 10240/463/13/0 +h264-2160p-23.976-8bit.mp4: compound 8384 of 19100 inter blocks (43.9%); modes NEAREST_NEAREST 6759 NEAR_NEAR 0 NEAREST_NEW 465 NEW_NEAREST 231 GLOBAL_GLOBAL 605 NEW_NEW 324; pairs LAST+GOLDEN 1724 LAST+ALTREF 6660 +h264-2160p-23.976-8bit.mp4: leaf (16x16 and below) compound modes NEAREST_NEAREST 4002 NEAR_NEAR 0 NEAREST_NEW 391 NEW_NEAREST 196 GLOBAL_GLOBAL 371 NEW_NEW 274 +h264-2160p-23.976-8bit.mp4: compound by size 8x8 2454 16x16 2780 32x32 3150 +h264-2160p-23.976-8bit.mp4: motion search 79339 calls, 4356735 candidate evals (54.9/call, 29.1% of them subpel), 369864 integer rounds (4.66/call); winner within +-1 pel of pred_mv 86.5%, winner = starting seed 80.1% +h264-2160p-23.976-8bit.mp4: references LAST 5870 GOLDEN 4548 (LAST2 0 LAST3 0 BWD 0 ALT2 0 ALT 298) +h264-2160p-23.976-8bit.mp4: inter 32x32 split into 16s 1139 of 10560 blocks (10.8%); 16x16 leaves split into 8s 1027 of 7292 (14.1%) +h264-2160p-23.976-8bit.mp4: over 48 frames -- deblock luma mean 9.2 chroma 6.1; cdef luma pri 1.3/sec 1.4, chroma pri 1.9/sec 1.9 +h264-2160p-23.976-8bit.mp4: cdef_bits frames 7/19/17/5 (0/1/2/3); 870 of 2880 64x64 units on a non-default preset (30.2%) +h264-2160p-23.976-8bit.mp4: lr units none=2856 wiener=24 (0.8% restored) +h264-2160p-23.976-8bit.mp4: pricer armings default=18 real=179 +h264-2160p-23.976-8bit.mp4: screen frames on=0 off=4; palette blocks 0 sizes +h264-2160p-23.976-8bit.mp4: chroma palette blocks 0 sizes +h264-2160p-23.976-8bit.mp4: uv modes DC=17714 (61.9%) V=2622 (9.2%) H=1737 (6.1%) SMOOTH=1126 (3.9%) SMOOTH_V=1355 (4.7%) SMOOTH_H=1104 (3.9%) PAETH=2958 (10.3%) +h264-2160p-23.976-8bit.mp4: intra tx depths 0=14710 (51.4%) 1=11818 (41.3%) 2=2088 (7.3%) +h264-2160p-23.976-8bit.mp4: inter var-tx depths of 940 blocks -- leaf single 0=583 1=357 (38.0% split) | leaf compound 0=0 1=0 (0.0% split) | 32x32 single 0=0 1=0 (0.0% split) | 32x32 compound 0=0 1=0 (0.0% split) +h264-2160p-23.976-8bit.mp4: motion_mode 32x32 SIMPLE=7015 OBMC=0 WARP=370 | 16x16 SIMPLE=1077 OBMC=0 WARP=237 | 8x8 SIMPLE=810 OBMC=0 WARP=463 (0.0% OBMC / 10.7% WARP of 9972 eligible) +| h264-2160p-23.976-8bit.mp4 | 43.82 dB/9741 B, 47.49 dB/14539 B, 50.21 dB/24019 B, 52.37 dB/36753 B | +85.3% | +47.4% | 4.7s:1.0s:2.2s | +| references | libaom 44.31 dB/5833 B, 47.75 dB/9035 B, 51.45 dB/13848 B, 56.50 dB/49099 B | rav1e 39.20 dB/2833 B, 43.62 dB/5536 B, 47.90 dB/10763 B, 50.92 dB/21183 B | | | +screen capture (2026-07-25 02-09-04.mkv): inter modes NEAREST 9783 (99.7%) NEAR 8 (0.1%) GLOBAL 0 (0.0%) NEW 19 (0.2%); drl idx 0/1/2/3+ 9802/8/0/0 +screen capture (2026-07-25 02-09-04.mkv): compound 5499 of 15309 inter blocks (35.9%); modes NEAREST_NEAREST 5491 NEAR_NEAR 0 NEAREST_NEW 0 NEW_NEAREST 4 GLOBAL_GLOBAL 2 NEW_NEW 2; pairs LAST+GOLDEN 331 LAST+ALTREF 5168 +screen capture (2026-07-25 02-09-04.mkv): leaf (16x16 and below) compound modes NEAREST_NEAREST 1007 NEAR_NEAR 0 NEAREST_NEW 0 NEW_NEAREST 2 GLOBAL_GLOBAL 0 NEW_NEW 2 +screen capture (2026-07-25 02-09-04.mkv): compound by size 8x8 244 16x16 767 32x32 4488 +screen capture (2026-07-25 02-09-04.mkv): motion search 105418 calls, 5460569 candidate evals (51.8/call, 30.9% of them subpel), 458533 integer rounds (4.35/call); winner within +-1 pel of pred_mv 98.8%, winner = starting seed 98.3% +screen capture (2026-07-25 02-09-04.mkv): references LAST 3868 GOLDEN 5469 (LAST2 0 LAST3 0 BWD 0 ALT2 0 ALT 473) +screen capture (2026-07-25 02-09-04.mkv): inter 32x32 split into 16s 426 of 10560 blocks (4.0%); 16x16 leaves split into 8s 281 of 11564 (2.4%) +screen capture (2026-07-25 02-09-04.mkv): over 48 frames -- deblock luma mean 4.4 chroma 0.9; cdef luma pri 1.3/sec 0.5, chroma pri 2.8/sec 0.2 +screen capture (2026-07-25 02-09-04.mkv): cdef_bits frames 32/4/9/3 (0/1/2/3); 493 of 2880 64x64 units on a non-default preset (17.1%) +screen capture (2026-07-25 02-09-04.mkv): lr units none=2878 wiener=2 (0.1% restored) +screen capture (2026-07-25 02-09-04.mkv): pricer armings default=162 real=0 +screen capture (2026-07-25 02-09-04.mkv): screen frames on=48 off=0; palette blocks 1563 sizes 3=6 4=512 5=2 8=1043 +screen capture (2026-07-25 02-09-04.mkv): chroma palette blocks 202 sizes 4=180 8=22 +screen capture (2026-07-25 02-09-04.mkv): uv modes DC=9971 (25.2%) V=958 (2.4%) H=7710 (19.5%) SMOOTH=1779 (4.5%) SMOOTH_V=697 (1.8%) SMOOTH_H=1378 (3.5%) PAETH=17031 (43.1%) +screen capture (2026-07-25 02-09-04.mkv): intra tx depths 0=9225 (23.3%) 1=22685 (57.4%) 2=7614 (19.3%) +screen capture (2026-07-25 02-09-04.mkv): inter var-tx depths of 2222 blocks -- leaf single 0=1381 1=841 (37.8% split) | leaf compound 0=0 1=0 (0.0% split) | 32x32 single 0=0 1=0 (0.0% split) | 32x32 compound 0=0 1=0 (0.0% split) +screen capture (2026-07-25 02-09-04.mkv): motion_mode 32x32 SIMPLE=8009 OBMC=0 WARP=431 | 16x16 SIMPLE=963 OBMC=0 WARP=74 | 8x8 SIMPLE=118 OBMC=0 WARP=147 (0.0% OBMC / 6.7% WARP of 9742 eligible) +| screen capture (2026-07-25 02-09-04.mkv) | 41.29 dB/9611 B, 44.53 dB/13909 B, 47.22 dB/19256 B, 49.41 dB/24931 B | +48.5% | -4.0% | 5.6s:1.0s:2.1s | +| references | libaom 45.12 dB/10679 B, 49.35 dB/15779 B, 55.26 dB/25633 B, 71.29 dB/52986 B | rav1e 34.51 dB/3233 B, 39.45 dB/7772 B, 44.72 dB/15210 B, 49.31 dB/24915 B | | | +test encode::tests::bd_rate_vs_libaom_and_rav1e ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 573 filtered out; finished in 28.87s + +ALLDONE diff --git a/lanes/small-step1.txt b/lanes/small-step1.txt new file mode 100644 index 00000000..5352ac1c --- /dev/null +++ b/lanes/small-step1.txt @@ -0,0 +1,69 @@ + Finished `release` profile [optimized] target(s) in 0.01s + Running unittests src/lib.rs (/home/user/.cache/cargo-target-av1txdepth/release/deps/ec_av1-8fef0196ab10338d) + +running 1 test + +12 frames of each clip at 640x384, gop=12, 1 tile, 1 thread +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e | +|---|---|---|---|---| +h264-1080p-23.976-8bit.mp4: inter modes NEAREST 9573 (80.6%) NEAR 235 (2.0%) GLOBAL 187 (1.6%) NEW 1875 (15.8%); drl idx 0/1/2/3+ 11492/351/27/0 +h264-1080p-23.976-8bit.mp4: compound 13817 of 25687 inter blocks (53.8%); modes NEAREST_NEAREST 10834 NEAR_NEAR 0 NEAREST_NEW 818 NEW_NEAREST 628 GLOBAL_GLOBAL 843 NEW_NEW 694; pairs LAST+GOLDEN 3894 LAST+ALTREF 9923 +h264-1080p-23.976-8bit.mp4: leaf (16x16 and below) compound modes NEAREST_NEAREST 8075 NEAR_NEAR 0 NEAREST_NEW 726 NEW_NEAREST 526 GLOBAL_GLOBAL 661 NEW_NEW 594 +h264-1080p-23.976-8bit.mp4: compound by size 8x8 6760 16x16 3822 32x32 3235 +h264-1080p-23.976-8bit.mp4: motion search 96827 calls, 5377360 candidate evals (55.5/call, 28.8% of them subpel), 457409 integer rounds (4.72/call); winner within +-1 pel of pred_mv 85.3%, winner = starting seed 65.3% +h264-1080p-23.976-8bit.mp4: references LAST 7078 GOLDEN 4444 (LAST2 0 LAST3 0 BWD 0 ALT2 0 ALT 348) +h264-1080p-23.976-8bit.mp4: inter 32x32 split into 16s 1587 of 10560 blocks (15.0%); 16x16 leaves split into 8s 1851 of 8912 (20.8%) +h264-1080p-23.976-8bit.mp4: over 48 frames -- deblock luma mean 9.4 chroma 9.1; cdef luma pri 5.4/sec 3.1, chroma pri 4.4/sec 2.0 +h264-1080p-23.976-8bit.mp4: cdef_bits frames 6/17/17/8 (0/1/2/3); 950 of 2880 64x64 units on a non-default preset (33.0%) +h264-1080p-23.976-8bit.mp4: lr units none=2861 wiener=19 (0.7% restored) +h264-1080p-23.976-8bit.mp4: pricer armings default=16 real=182 +h264-1080p-23.976-8bit.mp4: screen frames on=0 off=4; palette blocks 0 sizes +h264-1080p-23.976-8bit.mp4: chroma palette blocks 0 sizes +h264-1080p-23.976-8bit.mp4: uv modes DC=15015 (43.0%) V=2566 (7.4%) H=3287 (9.4%) SMOOTH=4343 (12.4%) SMOOTH_V=2043 (5.9%) SMOOTH_H=2740 (7.9%) PAETH=4894 (14.0%) +h264-1080p-23.976-8bit.mp4: intra tx depths 0=12065 (34.6%) 1=19537 (56.0%) 2=3286 (9.4%) +h264-1080p-23.976-8bit.mp4: inter var-tx depths of 1883 blocks -- leaf single 0=551 1=361 (39.6% split) | leaf compound 0=0 1=0 (0.0% split) | 32x32 single 0=411 1=560 (57.7% split) | 32x32 compound 0=0 1=0 (0.0% split) +h264-1080p-23.976-8bit.mp4: motion_mode 32x32 SIMPLE=6713 OBMC=0 WARP=320 | 16x16 SIMPLE=1039 OBMC=0 WARP=309 | 8x8 SIMPLE=2310 OBMC=0 WARP=495 (0.0% OBMC / 10.0% WARP of 11186 eligible) +| h264-1080p-23.976-8bit.mp4 | 43.21 dB/13524 B, 46.27 dB/25983 B, 49.08 dB/43986 B, 51.48 dB/66133 B | +70.0% | +28.3% | 5.6s:1.1s:2.6s | +| references | libaom 42.76 dB/7179 B, 44.78 dB/10177 B, 48.45 dB/24647 B, 56.50 dB/94272 B | rav1e 37.98 dB/4274 B, 42.57 dB/8004 B, 45.74 dB/17715 B, 49.20 dB/39938 B | | | +h264-2160p-23.976-8bit.mp4: inter modes NEAREST 8576 (84.7%) NEAR 334 (3.3%) GLOBAL 174 (1.7%) NEW 1036 (10.2%); drl idx 0/1/2/3+ 9705/409/6/0 +h264-2160p-23.976-8bit.mp4: compound 7912 of 18032 inter blocks (43.9%); modes NEAREST_NEAREST 6412 NEAR_NEAR 0 NEAREST_NEW 465 NEW_NEAREST 188 GLOBAL_GLOBAL 548 NEW_NEW 299; pairs LAST+GOLDEN 1594 LAST+ALTREF 6318 +h264-2160p-23.976-8bit.mp4: leaf (16x16 and below) compound modes NEAREST_NEAREST 3758 NEAR_NEAR 0 NEAREST_NEW 377 NEW_NEAREST 167 GLOBAL_GLOBAL 354 NEW_NEW 256 +h264-2160p-23.976-8bit.mp4: compound by size 8x8 2328 16x16 2584 32x32 3000 +h264-2160p-23.976-8bit.mp4: motion search 79008 calls, 4341056 candidate evals (54.9/call, 29.1% of them subpel), 368587 integer rounds (4.67/call); winner within +-1 pel of pred_mv 86.5%, winner = starting seed 79.6% +h264-2160p-23.976-8bit.mp4: references LAST 5455 GOLDEN 4379 (LAST2 0 LAST3 0 BWD 0 ALT2 0 ALT 286) +h264-2160p-23.976-8bit.mp4: inter 32x32 split into 16s 1115 of 10560 blocks (10.6%); 16x16 leaves split into 8s 1010 of 7240 (14.0%) +h264-2160p-23.976-8bit.mp4: over 48 frames -- deblock luma mean 9.2 chroma 6.1; cdef luma pri 1.3/sec 1.5, chroma pri 2.1/sec 1.9 +h264-2160p-23.976-8bit.mp4: cdef_bits frames 8/21/15/4 (0/1/2/3); 827 of 2880 64x64 units on a non-default preset (28.7%) +h264-2160p-23.976-8bit.mp4: lr units none=2862 wiener=18 (0.6% restored) +h264-2160p-23.976-8bit.mp4: pricer armings default=18 real=173 +h264-2160p-23.976-8bit.mp4: screen frames on=0 off=4; palette blocks 0 sizes +h264-2160p-23.976-8bit.mp4: chroma palette blocks 0 sizes +h264-2160p-23.976-8bit.mp4: uv modes DC=17607 (61.8%) V=2599 (9.1%) H=1734 (6.1%) SMOOTH=1104 (3.9%) SMOOTH_V=1335 (4.7%) SMOOTH_H=1127 (4.0%) PAETH=2974 (10.4%) +h264-2160p-23.976-8bit.mp4: intra tx depths 0=14508 (50.9%) 1=11877 (41.7%) 2=2095 (7.4%) +h264-2160p-23.976-8bit.mp4: inter var-tx depths of 1913 blocks -- leaf single 0=623 1=365 (36.9% split) | leaf compound 0=0 1=0 (0.0% split) | 32x32 single 0=468 1=457 (49.4% split) | 32x32 compound 0=0 1=0 (0.0% split) +h264-2160p-23.976-8bit.mp4: motion_mode 32x32 SIMPLE=6689 OBMC=0 WARP=317 | 16x16 SIMPLE=1037 OBMC=0 WARP=217 | 8x8 SIMPLE=800 OBMC=0 WARP=396 (0.0% OBMC / 9.8% WARP of 9456 eligible) +| h264-2160p-23.976-8bit.mp4 | 43.79 dB/9586 B, 47.47 dB/14483 B, 50.20 dB/24077 B, 52.38 dB/36583 B | +85.0% | +47.2% | 4.7s:1.0s:2.2s | +| references | libaom 44.31 dB/5833 B, 47.75 dB/9035 B, 51.45 dB/13848 B, 56.50 dB/49099 B | rav1e 39.20 dB/2833 B, 43.62 dB/5536 B, 47.90 dB/10763 B, 50.92 dB/21183 B | | | +screen capture (2026-07-25 02-09-04.mkv): inter modes NEAREST 10925 (99.8%) NEAR 6 (0.1%) GLOBAL 0 (0.0%) NEW 19 (0.2%); drl idx 0/1/2/3+ 10944/6/0/0 +screen capture (2026-07-25 02-09-04.mkv): compound 5404 of 16354 inter blocks (33.0%); modes NEAREST_NEAREST 5389 NEAR_NEAR 0 NEAREST_NEW 0 NEW_NEAREST 8 GLOBAL_GLOBAL 7 NEW_NEW 0; pairs LAST+GOLDEN 335 LAST+ALTREF 5069 +screen capture (2026-07-25 02-09-04.mkv): leaf (16x16 and below) compound modes NEAREST_NEAREST 933 NEAR_NEAR 0 NEAREST_NEW 0 NEW_NEAREST 6 GLOBAL_GLOBAL 2 NEW_NEW 0 +screen capture (2026-07-25 02-09-04.mkv): compound by size 8x8 276 16x16 665 32x32 4463 +screen capture (2026-07-25 02-09-04.mkv): motion search 106783 calls, 5536309 candidate evals (51.8/call, 30.9% of them subpel), 465113 integer rounds (4.36/call); winner within +-1 pel of pred_mv 98.7%, winner = starting seed 98.1% +screen capture (2026-07-25 02-09-04.mkv): references LAST 4022 GOLDEN 6178 (LAST2 0 LAST3 0 BWD 0 ALT2 0 ALT 750) +screen capture (2026-07-25 02-09-04.mkv): inter 32x32 split into 16s 351 of 10560 blocks (3.3%); 16x16 leaves split into 8s 261 of 12116 (2.2%) +screen capture (2026-07-25 02-09-04.mkv): over 48 frames -- deblock luma mean 4.3 chroma 0.9; cdef luma pri 1.1/sec 0.5, chroma pri 2.5/sec 0.2 +screen capture (2026-07-25 02-09-04.mkv): cdef_bits frames 27/7/11/3 (0/1/2/3); 612 of 2880 64x64 units on a non-default preset (21.2%) +screen capture (2026-07-25 02-09-04.mkv): lr units none=2878 wiener=2 (0.1% restored) +screen capture (2026-07-25 02-09-04.mkv): pricer armings default=167 real=0 +screen capture (2026-07-25 02-09-04.mkv): screen frames on=48 off=0; palette blocks 1573 sizes 3=6 4=523 5=2 8=1042 +screen capture (2026-07-25 02-09-04.mkv): chroma palette blocks 202 sizes 4=180 8=22 +screen capture (2026-07-25 02-09-04.mkv): uv modes DC=9840 (24.7%) V=949 (2.4%) H=7932 (19.9%) SMOOTH=1646 (4.1%) SMOOTH_V=734 (1.8%) SMOOTH_H=1305 (3.3%) PAETH=17474 (43.8%) +screen capture (2026-07-25 02-09-04.mkv): intra tx depths 0=9308 (23.3%) 1=22853 (57.3%) 2=7719 (19.4%) +screen capture (2026-07-25 02-09-04.mkv): inter var-tx depths of 4055 blocks -- leaf single 0=1400 1=811 (36.7% split) | leaf compound 0=0 1=0 (0.0% split) | 32x32 single 0=1059 1=785 (42.6% split) | 32x32 compound 0=0 1=0 (0.0% split) +screen capture (2026-07-25 02-09-04.mkv): motion_mode 32x32 SIMPLE=9238 OBMC=0 WARP=490 | 16x16 SIMPLE=787 OBMC=0 WARP=57 | 8x8 SIMPLE=135 OBMC=0 WARP=163 (0.0% OBMC / 6.5% WARP of 10870 eligible) +| screen capture (2026-07-25 02-09-04.mkv) | 41.30 dB/9726 B, 44.53 dB/14028 B, 47.24 dB/19241 B, 49.44 dB/24944 B | +48.4% | -3.6% | 5.7s:1.0s:2.1s | +| references | libaom 45.12 dB/10679 B, 49.35 dB/15779 B, 55.26 dB/25633 B, 71.29 dB/52986 B | rav1e 34.51 dB/3233 B, 39.45 dB/7772 B, 44.72 dB/15210 B, 49.31 dB/24915 B | | | +test encode::tests::bd_rate_vs_libaom_and_rav1e ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 573 filtered out; finished in 28.94s + diff --git a/lanes/small-step2.txt b/lanes/small-step2.txt new file mode 100644 index 00000000..83474156 --- /dev/null +++ b/lanes/small-step2.txt @@ -0,0 +1,69 @@ + Finished `release` profile [optimized] target(s) in 0.01s + Running unittests src/lib.rs (/home/user/.cache/cargo-target-av1txdepth/release/deps/ec_av1-8fef0196ab10338d) + +running 1 test + +12 frames of each clip at 640x384, gop=12, 1 tile, 1 thread +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e | +|---|---|---|---|---| +h264-1080p-23.976-8bit.mp4: inter modes NEAREST 9556 (80.2%) NEAR 252 (2.1%) GLOBAL 216 (1.8%) NEW 1897 (15.9%); drl idx 0/1/2/3+ 11540/360/21/0 +h264-1080p-23.976-8bit.mp4: compound 13365 of 25286 inter blocks (52.9%); modes NEAREST_NEAREST 10399 NEAR_NEAR 0 NEAREST_NEW 877 NEW_NEAREST 589 GLOBAL_GLOBAL 763 NEW_NEW 737; pairs LAST+GOLDEN 3747 LAST+ALTREF 9618 +h264-1080p-23.976-8bit.mp4: leaf (16x16 and below) compound modes NEAREST_NEAREST 7637 NEAR_NEAR 0 NEAREST_NEW 761 NEW_NEAREST 505 GLOBAL_GLOBAL 605 NEW_NEW 660 +h264-1080p-23.976-8bit.mp4: compound by size 8x8 5510 16x16 4658 32x32 3197 +h264-1080p-23.976-8bit.mp4: motion search 97391 calls, 5409075 candidate evals (55.5/call, 28.8% of them subpel), 460223 integer rounds (4.73/call); winner within +-1 pel of pred_mv 85.4%, winner = starting seed 64.9% +h264-1080p-23.976-8bit.mp4: references LAST 7216 GOLDEN 4314 (LAST2 0 LAST3 0 BWD 0 ALT2 0 ALT 391) +h264-1080p-23.976-8bit.mp4: inter 32x32 split into 16s 1649 of 10560 blocks (15.6%); 16x16 leaves split into 8s 1580 of 8984 (17.6%) +h264-1080p-23.976-8bit.mp4: over 48 frames -- deblock luma mean 9.5 chroma 9.5; cdef luma pri 5.2/sec 3.2, chroma pri 4.2/sec 1.9 +h264-1080p-23.976-8bit.mp4: cdef_bits frames 5/18/17/8 (0/1/2/3); 988 of 2880 64x64 units on a non-default preset (34.3%) +h264-1080p-23.976-8bit.mp4: lr units none=2861 wiener=19 (0.7% restored) +h264-1080p-23.976-8bit.mp4: pricer armings default=16 real=184 +h264-1080p-23.976-8bit.mp4: screen frames on=0 off=4; palette blocks 0 sizes +h264-1080p-23.976-8bit.mp4: chroma palette blocks 0 sizes +h264-1080p-23.976-8bit.mp4: uv modes DC=15091 (43.0%) V=2542 (7.2%) H=3387 (9.7%) SMOOTH=4364 (12.4%) SMOOTH_V=2063 (5.9%) SMOOTH_H=2787 (7.9%) PAETH=4846 (13.8%) +h264-1080p-23.976-8bit.mp4: intra tx depths 0=11960 (34.1%) 1=19835 (56.5%) 2=3285 (9.4%) +h264-1080p-23.976-8bit.mp4: inter var-tx depths of 4169 blocks -- leaf single 0=528 1=399 (43.0% split) | leaf compound 0=2001 1=1241 (38.3% split) | 32x32 single 0=0 1=0 (0.0% split) | 32x32 compound 0=0 1=0 (0.0% split) +h264-1080p-23.976-8bit.mp4: motion_mode 32x32 SIMPLE=6516 OBMC=0 WARP=351 | 16x16 SIMPLE=1176 OBMC=0 WARP=354 | 8x8 SIMPLE=2148 OBMC=0 WARP=636 (0.0% OBMC / 12.0% WARP of 11181 eligible) +| h264-1080p-23.976-8bit.mp4 | 43.22 dB/13658 B, 46.24 dB/26011 B, 49.08 dB/43896 B, 51.48 dB/66041 B | +70.5% | +28.9% | 5.6s:1.1s:2.6s | +| references | libaom 42.76 dB/7179 B, 44.78 dB/10177 B, 48.45 dB/24647 B, 56.50 dB/94272 B | rav1e 37.98 dB/4274 B, 42.57 dB/8004 B, 45.74 dB/17715 B, 49.20 dB/39938 B | | | +h264-2160p-23.976-8bit.mp4: inter modes NEAREST 8711 (83.9%) NEAR 357 (3.4%) GLOBAL 192 (1.9%) NEW 1118 (10.8%); drl idx 0/1/2/3+ 9923/439/16/0 +h264-2160p-23.976-8bit.mp4: compound 7876 of 18254 inter blocks (43.1%); modes NEAREST_NEAREST 6300 NEAR_NEAR 0 NEAREST_NEW 478 NEW_NEAREST 197 GLOBAL_GLOBAL 582 NEW_NEW 319; pairs LAST+GOLDEN 1520 LAST+ALTREF 6356 +h264-2160p-23.976-8bit.mp4: leaf (16x16 and below) compound modes NEAREST_NEAREST 3565 NEAR_NEAR 0 NEAREST_NEW 403 NEW_NEAREST 175 GLOBAL_GLOBAL 380 NEW_NEW 263 +h264-2160p-23.976-8bit.mp4: compound by size 8x8 2016 16x16 2770 32x32 3090 +h264-2160p-23.976-8bit.mp4: motion search 78480 calls, 4310592 candidate evals (54.9/call, 29.1% of them subpel), 365929 integer rounds (4.66/call); winner within +-1 pel of pred_mv 86.4%, winner = starting seed 79.7% +h264-2160p-23.976-8bit.mp4: references LAST 5683 GOLDEN 4417 (LAST2 0 LAST3 0 BWD 0 ALT2 0 ALT 278) +h264-2160p-23.976-8bit.mp4: inter 32x32 split into 16s 1143 of 10560 blocks (10.8%); 16x16 leaves split into 8s 939 of 7208 (13.0%) +h264-2160p-23.976-8bit.mp4: over 48 frames -- deblock luma mean 9.2 chroma 6.0; cdef luma pri 1.3/sec 1.4, chroma pri 2.0/sec 2.0 +h264-2160p-23.976-8bit.mp4: cdef_bits frames 5/22/17/4 (0/1/2/3); 953 of 2880 64x64 units on a non-default preset (33.1%) +h264-2160p-23.976-8bit.mp4: lr units none=2862 wiener=18 (0.6% restored) +h264-2160p-23.976-8bit.mp4: pricer armings default=18 real=176 +h264-2160p-23.976-8bit.mp4: screen frames on=0 off=4; palette blocks 0 sizes +h264-2160p-23.976-8bit.mp4: chroma palette blocks 0 sizes +h264-2160p-23.976-8bit.mp4: uv modes DC=17521 (61.9%) V=2574 (9.1%) H=1740 (6.2%) SMOOTH=1124 (4.0%) SMOOTH_V=1322 (4.7%) SMOOTH_H=1099 (3.9%) PAETH=2908 (10.3%) +h264-2160p-23.976-8bit.mp4: intra tx depths 0=14535 (51.4%) 1=11697 (41.3%) 2=2056 (7.3%) +h264-2160p-23.976-8bit.mp4: inter var-tx depths of 2967 blocks -- leaf single 0=571 1=348 (37.9% split) | leaf compound 0=1452 1=596 (29.1% split) | 32x32 single 0=0 1=0 (0.0% split) | 32x32 compound 0=0 1=0 (0.0% split) +h264-2160p-23.976-8bit.mp4: motion_mode 32x32 SIMPLE=6814 OBMC=0 WARP=310 | 16x16 SIMPLE=1131 OBMC=0 WARP=227 | 8x8 SIMPLE=724 OBMC=0 WARP=497 (0.0% OBMC / 10.7% WARP of 9703 eligible) +| h264-2160p-23.976-8bit.mp4 | 43.83 dB/9654 B, 47.50 dB/14414 B, 50.23 dB/24061 B, 52.38 dB/36664 B | +84.0% | +46.2% | 4.7s:1.0s:2.2s | +| references | libaom 44.31 dB/5833 B, 47.75 dB/9035 B, 51.45 dB/13848 B, 56.50 dB/49099 B | rav1e 39.20 dB/2833 B, 43.62 dB/5536 B, 47.90 dB/10763 B, 50.92 dB/21183 B | | | +screen capture (2026-07-25 02-09-04.mkv): inter modes NEAREST 10744 (99.8%) NEAR 8 (0.1%) GLOBAL 0 (0.0%) NEW 17 (0.2%); drl idx 0/1/2/3+ 10761/8/0/0 +screen capture (2026-07-25 02-09-04.mkv): compound 5867 of 16636 inter blocks (35.3%); modes NEAREST_NEAREST 5859 NEAR_NEAR 0 NEAREST_NEW 0 NEW_NEAREST 6 GLOBAL_GLOBAL 2 NEW_NEW 0; pairs LAST+GOLDEN 333 LAST+ALTREF 5534 +screen capture (2026-07-25 02-09-04.mkv): leaf (16x16 and below) compound modes NEAREST_NEAREST 1098 NEAR_NEAR 0 NEAREST_NEW 0 NEW_NEAREST 4 GLOBAL_GLOBAL 0 NEW_NEW 0 +screen capture (2026-07-25 02-09-04.mkv): compound by size 8x8 186 16x16 916 32x32 4765 +screen capture (2026-07-25 02-09-04.mkv): motion search 106596 calls, 5521979 candidate evals (51.8/call, 30.9% of them subpel), 463707 integer rounds (4.35/call); winner within +-1 pel of pred_mv 98.8%, winner = starting seed 98.3% +screen capture (2026-07-25 02-09-04.mkv): references LAST 4318 GOLDEN 5815 (LAST2 0 LAST3 0 BWD 0 ALT2 0 ALT 636) +screen capture (2026-07-25 02-09-04.mkv): inter 32x32 split into 16s 456 of 10560 blocks (4.3%); 16x16 leaves split into 8s 218 of 11768 (1.9%) +screen capture (2026-07-25 02-09-04.mkv): over 48 frames -- deblock luma mean 4.7 chroma 0.9; cdef luma pri 1.1/sec 0.6, chroma pri 3.1/sec 0.2 +screen capture (2026-07-25 02-09-04.mkv): cdef_bits frames 27/6/13/2 (0/1/2/3); 607 of 2880 64x64 units on a non-default preset (21.1%) +screen capture (2026-07-25 02-09-04.mkv): lr units none=2878 wiener=2 (0.1% restored) +screen capture (2026-07-25 02-09-04.mkv): pricer armings default=167 real=0 +screen capture (2026-07-25 02-09-04.mkv): screen frames on=48 off=0; palette blocks 1568 sizes 3=6 4=514 5=2 8=1046 +screen capture (2026-07-25 02-09-04.mkv): chroma palette blocks 202 sizes 4=180 8=22 +screen capture (2026-07-25 02-09-04.mkv): uv modes DC=10100 (25.3%) V=1028 (2.6%) H=7665 (19.2%) SMOOTH=1844 (4.6%) SMOOTH_V=713 (1.8%) SMOOTH_H=1329 (3.3%) PAETH=17261 (43.2%) +screen capture (2026-07-25 02-09-04.mkv): intra tx depths 0=9181 (23.0%) 1=23130 (57.9%) 2=7629 (19.1%) +screen capture (2026-07-25 02-09-04.mkv): inter var-tx depths of 4775 blocks -- leaf single 0=1353 1=891 (39.7% split) | leaf compound 0=1743 1=788 (31.1% split) | 32x32 single 0=0 1=0 (0.0% split) | 32x32 compound 0=0 1=0 (0.0% split) +screen capture (2026-07-25 02-09-04.mkv): motion_mode 32x32 SIMPLE=8817 OBMC=0 WARP=458 | 16x16 SIMPLE=1091 OBMC=0 WARP=72 | 8x8 SIMPLE=109 OBMC=0 WARP=154 (0.0% OBMC / 6.4% WARP of 10701 eligible) +| screen capture (2026-07-25 02-09-04.mkv) | 41.30 dB/9645 B, 44.53 dB/13942 B, 47.22 dB/19327 B, 49.43 dB/25035 B | +48.9% | -3.7% | 5.7s:1.0s:2.1s | +| references | libaom 45.12 dB/10679 B, 49.35 dB/15779 B, 55.26 dB/25633 B, 71.29 dB/52986 B | rav1e 34.51 dB/3233 B, 39.45 dB/7772 B, 44.72 dB/15210 B, 49.31 dB/24915 B | | | +test encode::tests::bd_rate_vs_libaom_and_rav1e ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 573 filtered out; finished in 28.92s +