diff --git a/lanes/pyr6.sweep.txt b/lanes/pyr6.sweep.txt new file mode 100644 index 00000000..2bd084c1 --- /dev/null +++ b/lanes/pyr6.sweep.txt @@ -0,0 +1,24 @@ +# lane-pyr6 -- A FOURTH pyramid level: hidden quarter-point ARFs. +# gate: encode::tests::bd_rate_film_long_gop (48 pictures, gop 48), release lib binary, +# --test-threads 1, <= 2 arms in parallel, each arm keyed by the log's own +# "pyramid requested/effective" print. +# spec = ::::: (`off` = level absent). +# logs: lanes/pyr6/*.log + +## controls on this head (0326d9fc), reproducing main 7b05ecee exactly +| gate | film A | film B | +|---|---|---| +| long-GOP (48 pictures, gop 48) | +43.1 / +4.6 | +129.0 / +34.3 | +| 12-frame (bd_rate_screen_native) | +37.5 / +7.6 | +54.1 / +23.9 | +12-frame control also: bars 1080p +1.7 / -14.5, bars 2160p +12.2 / -10.2, screen +capture +33.4 / -23.8 (pyramid gated off). Both charter control rows match to the +decimal. NOTE: bd_rate_screen_native exits 101 on this head for a reason that predates +this lane -- assert_ladder_decodes fails on the libaom crf 5 REFERENCE point ("a +lossless frame (qindex 0): the TX_4X4 Walsh-Hadamard tile syntax ... unimplemented"), +a decoder gap outside this lane's scope. The BD table is printed in full before the +assert, so every arm's numbers are read from the table, not the exit code. + +## long-GOP sweep -- BD-rate vs libaom cpu-used 6 / vs rav1e speed 6 +| arm | spec | film A | film B | +|---|---|---|---| +| control (3 levels) | 8:-32:12:-8:-48 | +43.1 / +4.6 | +129.0 / +34.3 | diff --git a/lanes/pyr6/ctrl-12.log b/lanes/pyr6/ctrl-12.log index 5d647e9f..f1798bb8 100644 --- a/lanes/pyr6/ctrl-12.log +++ b/lanes/pyr6/ctrl-12.log @@ -4,3 +4,54 @@ test encode::tests::bd_rate_screen_native ... 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) | |---|---|---|---|---| +bars 1080p: sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) +bars 1080p: pricer armings default=17 real=186 +bars 1080p: motion_mode 32x32 SIMPLE=50273 OBMC=0 WARP=178 | 16x16 SIMPLE=4821 OBMC=0 WARP=316 | 8x8 SIMPLE=17680 OBMC=0 WARP=1286 (0.0% OBMC / 2.4% WARP of 74554 eligible) +bars 1080p: inter var-tx depths of 11490 blocks -- leaf single 0=1833 1=1120 (37.9% split) | leaf compound 0=909 1=635 (41.1% split) | 32x32 single 0=790 1=1741 (68.8% split) | 32x32 compound 0=2249 1=2213 (49.6% split) +bars 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) +bars 1080p: filter intra on=true blocks 29430 (modes DC=7287 V=3047 H=5419 D157=9114 PAETH=4563) +| bars 1080p 1920x1024 | 44.10 dB/218144 B, 47.66 dB/318010 B, 51.05 dB/439435 B, 54.25 dB/587007 B | +1.7% | -14.5% | 38.3s:10.2s:20.4s | +bars 2160p: sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) +bars 2160p: pricer armings default=14 real=172 +bars 2160p: motion_mode 32x32 SIMPLE=40526 OBMC=0 WARP=275 | 16x16 SIMPLE=2452 OBMC=0 WARP=801 | 8x8 SIMPLE=7250 OBMC=0 WARP=461 (0.0% OBMC / 3.0% WARP of 51765 eligible) +bars 2160p: inter var-tx depths of 9016 blocks -- leaf single 0=1113 1=512 (31.5% split) | leaf compound 0=1107 1=240 (17.8% split) | 32x32 single 0=378 1=1204 (76.1% split) | 32x32 compound 0=144 1=4318 (96.8% split) +bars 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) +bars 2160p: filter intra on=true blocks 11967 (modes DC=3217 V=773 H=2519 D157=3855 PAETH=1603) +| bars 2160p 1920x1024 | 43.70 dB/228646 B, 47.60 dB/341309 B, 51.18 dB/452951 B, 54.52 dB/582847 B | +12.2% | -10.2% | 31.7s:7.1s:19.1s | +film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) +film A (1080p source): pricer armings default=20 real=212 +film A (1080p source): motion_mode 32x32 SIMPLE=41371 OBMC=0 WARP=1393 | 16x16 SIMPLE=20213 OBMC=0 WARP=2070 | 8x8 SIMPLE=4708 OBMC=0 WARP=1038 (0.0% OBMC / 6.4% WARP of 70793 eligible) +film A (1080p source): inter var-tx depths of 85428 blocks -- leaf single 0=15069 1=2749 (15.4% split) | leaf compound 0=31906 1=6568 (17.1% split) | 32x32 single 0=7219 1=5640 (43.9% split) | 32x32 compound 0=9936 1=6341 (39.0% split) +film A (1080p source): 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 A (1080p source): filter intra on=true blocks 24625 (modes DC=6298 V=3531 H=4705 D157=7026 PAETH=3065) +| film A (1080p source) 1920x768 | 44.23 dB/75096 B, 45.82 dB/125659 B, 47.05 dB/217532 B, 48.31 dB/518999 B | +37.5% | +7.6% | 72.7s:10.3s:15.0s | +film B (2160p HDR source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) +film B (2160p HDR source): pricer armings default=20 real=189 +film B (2160p HDR source): motion_mode 32x32 SIMPLE=51091 OBMC=0 WARP=1231 | 16x16 SIMPLE=13800 OBMC=0 WARP=1158 | 8x8 SIMPLE=1892 OBMC=0 WARP=478 (0.0% OBMC / 4.1% WARP of 69650 eligible) +film B (2160p HDR source): inter var-tx depths of 75827 blocks -- leaf single 0=14308 1=2386 (14.3% split) | leaf compound 0=27605 1=4672 (14.5% split) | 32x32 single 0=7920 1=5847 (42.5% split) | 32x32 compound 0=8142 1=4947 (37.8% split) +film B (2160p HDR source): 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 B (2160p HDR source): filter intra on=true blocks 18014 (modes DC=4944 V=2455 H=2591 D157=6224 PAETH=1800) +| film B (2160p HDR source) 1920x1024 | 46.69 dB/34137 B, 48.03 dB/69950 B, 49.15 dB/149378 B, 50.29 dB/399139 B | +54.1% | +23.9% | 65.5s:23.5s:16.1s | +screen capture (2026-07-25 02-09-04.mkv): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) effective None +screen capture (2026-07-25 02-09-04.mkv): pricer armings default=155 real=0 +screen capture (2026-07-25 02-09-04.mkv): motion_mode 32x32 SIMPLE=23654 OBMC=0 WARP=160 | 16x16 SIMPLE=1322 OBMC=0 WARP=318 | 8x8 SIMPLE=562 OBMC=0 WARP=576 (0.0% OBMC / 4.0% WARP of 26592 eligible) +screen capture (2026-07-25 02-09-04.mkv): inter var-tx depths of 34092 blocks -- leaf single 0=5772 1=7043 (55.0% split) | leaf compound 0=2826 1=2851 (50.2% split) | 32x32 single 0=6059 1=8017 (57.0% split) | 32x32 compound 0=860 1=664 (43.6% split) +screen capture (2026-07-25 02-09-04.mkv): screen frames on=48 off=0 (100.0% on); palette blocks luma 9907 chroma 1109; intrabc blocks 0 (searched 0 / valid 0 / won 0) +screen capture (2026-07-25 02-09-04.mkv): filter intra on=true blocks 8198 (modes DC=98 V=2410 H=5376 D157=223 PAETH=91) +LADDER DECODE FAILURE: libaom-av1 ["-cpu-used", "6", "-b:v", "0", "-crf", "5"]: our decoder refused the stream (unsupported: AV1 decode_stream (a lossless frame (qindex 0): the TX_4X4 Walsh-Hadamard tile syntax and the lossless CfL rule are unimplemented)) +| screen capture (2026-07-25 02-09-04.mkv) 1920x1024 | 45.87 dB/40155 B, 48.55 dB/51325 B, 50.86 dB/63998 B, 53.07 dB/80203 B | +33.4% | -23.8% | 39.1s:8.7s:12.2s | + +thread 'encode::tests::bd_rate_screen_native' (574828) panicked at crates/ec-av1/src/encode.rs:13367:9: +1 reference ladder point(s) did not decode exactly through our decoder: +libaom-av1 ["-cpu-used", "6", "-b:v", "0", "-crf", "5"]: our decoder refused the stream (unsupported: AV1 decode_stream (a lossless frame (qindex 0): the TX_4X4 Walsh-Hadamard tile syntax and the lossless CfL rule are unimplemented)) +note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace +FAILED + +failures: + +failures: + encode::tests::bd_rate_screen_native + +test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 597 filtered out; finished in 413.71s + +RC=101 diff --git a/lanes/pyr6/ctrl-long.log b/lanes/pyr6/ctrl-long.log index 21019891..3e814b16 100644 --- a/lanes/pyr6/ctrl-long.log +++ b/lanes/pyr6/ctrl-long.log @@ -4,3 +4,22 @@ test encode::tests::bd_rate_film_long_gop ... native crop, 48 frames, gop=48; 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 A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) +film A (1080p source): pricer armings default=20 real=919 +film A (1080p source): motion_mode 32x32 SIMPLE=161930 OBMC=0 WARP=5530 | 16x16 SIMPLE=80152 OBMC=0 WARP=8909 | 8x8 SIMPLE=24317 OBMC=0 WARP=3976 (0.0% OBMC / 6.5% WARP of 284814 eligible) +film A (1080p source): inter var-tx depths of 372486 blocks -- leaf single 0=54006 1=10881 (16.8% split) | leaf compound 0=146057 1=35490 (19.5% split) | 32x32 single 0=26503 1=19817 (42.8% split) | 32x32 compound 0=45729 1=34003 (42.6% split) +film A (1080p source): 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 A (1080p source): filter intra on=true blocks 111911 (modes DC=27401 V=16305 H=21553 D157=31194 PAETH=15458) +| film A (1080p source) 1920x768 | 44.34 dB/221221 B, 45.97 dB/394851 B, 47.15 dB/707839 B, 48.27 dB/1637237 B | +43.1% | +4.6% | 300.3s:37.9s:54.7s | +film B (2160p HDR source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) +film B (2160p HDR source): pricer armings default=20 real=818 +film B (2160p HDR source): motion_mode 32x32 SIMPLE=211082 OBMC=0 WARP=4508 | 16x16 SIMPLE=63954 OBMC=0 WARP=4476 | 8x8 SIMPLE=14848 OBMC=0 WARP=2268 (0.0% OBMC / 3.7% WARP of 301136 eligible) +film B (2160p HDR source): inter var-tx depths of 328346 blocks -- leaf single 0=52993 1=12352 (18.9% split) | leaf compound 0=113081 1=26109 (18.8% split) | 32x32 single 0=31518 1=28025 (47.1% split) | 32x32 compound 0=34853 1=29415 (45.8% split) +film B (2160p HDR source): 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 B (2160p HDR source): filter intra on=true blocks 72959 (modes DC=18937 V=10072 H=10657 D157=25972 PAETH=7321) +| film B (2160p HDR source) 1920x1024 | 46.76 dB/90674 B, 47.99 dB/203731 B, 49.01 dB/479686 B, 50.06 dB/1261714 B | +129.0% | +34.3% | 254.6s:101.1s:82.6s | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 597 filtered out; finished in 867.79s + +RC=0 diff --git a/lanes/pyr6/q0.log b/lanes/pyr6/q0.log new file mode 100644 index 00000000..21019891 --- /dev/null +++ b/lanes/pyr6/q0.log @@ -0,0 +1,6 @@ + +running 1 test +test encode::tests::bd_rate_film_long_gop ... +native crop, 48 frames, gop=48; 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) | +|---|---|---|---|---| diff --git a/lanes/pyr6/q4.log b/lanes/pyr6/q4.log new file mode 100644 index 00000000..21019891 --- /dev/null +++ b/lanes/pyr6/q4.log @@ -0,0 +1,6 @@ + +running 1 test +test encode::tests::bd_rate_film_long_gop ... +native crop, 48 frames, gop=48; 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) | +|---|---|---|---|---|