diff --git a/lanes/arfq-arm.sh b/lanes/arfq-arm.sh new file mode 100755 index 00000000..432a2c4d --- /dev/null +++ b/lanes/arfq-arm.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +# arfq lane: one BD arm on the prebuilt release binary. +# usage: arfq-arm.sh [|control] +unit=$1; log=$2; test=$3; spec=$4 +bin=$HOME/.cache/cargo-target-arfq/release/deps/ec_av1-8fef0196ab10338d +env="" +[ "$spec" = control ] || env="EC_AV1_PYRAMID=$spec" +systemd-run --user --unit "$unit" -p MemoryMax=8G --collect bash -c \ + "cd $HOME/Documents/Code/Rust/edith_codecs-arfq; $env $bin --ignored --nocapture --test-threads 1 --exact $test > $log 2>&1; echo RC=\$? >> $log" diff --git a/lanes/arfq.sweep.txt b/lanes/arfq.sweep.txt new file mode 100644 index 00000000..0e205207 --- /dev/null +++ b/lanes/arfq.sweep.txt @@ -0,0 +1,11 @@ +# lane-arfq -- pyramid ladder shape after the key/ARF anchors moved (key -48). +# 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 = ::::. +# logs: lanes/arfq/*.log + +## long-GOP (48 pictures, gop 48) -- BD-rate vs libaom cpu-used 6 / vs rav1e speed 6 +| arm | spec | film A | film B | +|---|---|---|---| +| control | 8:-32:16:-8:-48 (default) | +43.5 / +4.6 | +131.3 / +35.0 | +| leaf 8 | 8:-32:8:-8:-48 | +43.4 / +5.1 | +127.6 / +34.1 | diff --git a/lanes/arfq/ctl.log b/lanes/arfq/ctl.log new file mode 100644 index 00000000..c5d282ec --- /dev/null +++ b/lanes/arfq/ctl.log @@ -0,0 +1,25 @@ + +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) | +|---|---|---|---|---| +film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8), key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8), key_q_offset: -48 }) +film A (1080p source): pricer armings default=20 real=899 +film A (1080p source): motion_mode 32x32 SIMPLE=156871 OBMC=0 WARP=5617 | 16x16 SIMPLE=74020 OBMC=0 WARP=8500 | 8x8 SIMPLE=23001 OBMC=0 WARP=3809 (0.0% OBMC / 6.6% WARP of 271818 eligible) +film A (1080p source): inter var-tx depths of 349107 blocks -- leaf single 0=51707 1=9795 (15.9% split) | leaf compound 0=136423 1=30700 (18.4% split) | 32x32 single 0=25086 1=19162 (43.3% split) | 32x32 compound 0=43642 1=32592 (42.8% 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 108443 (modes DC=26174 V=15842 H=20832 D157=30227 PAETH=15368) +| film A (1080p source) 1920x768 | 44.24 dB/215165 B, 45.91 dB/384487 B, 47.09 dB/679658 B, 48.21 dB/1587936 B | +43.5% | +4.6% | 309.4s:39.6s:56.8s | +film B (2160p HDR source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8), key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8), key_q_offset: -48 }) +film B (2160p HDR source): pricer armings default=20 real=811 +film B (2160p HDR source): motion_mode 32x32 SIMPLE=208521 OBMC=0 WARP=4443 | 16x16 SIMPLE=58728 OBMC=0 WARP=4354 | 8x8 SIMPLE=14071 OBMC=0 WARP=2158 (0.0% OBMC / 3.7% WARP of 292275 eligible) +film B (2160p HDR source): inter var-tx depths of 307146 blocks -- leaf single 0=50658 1=11044 (17.9% split) | leaf compound 0=106215 1=22525 (17.5% split) | 32x32 single 0=28832 1=26865 (48.2% split) | 32x32 compound 0=32486 1=28521 (46.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 69512 (modes DC=18136 V=9675 H=10183 D157=24563 PAETH=6955) +| film B (2160p HDR source) 1920x1024 | 46.72 dB/89239 B, 47.95 dB/199138 B, 48.95 dB/454936 B, 50.00 dB/1212928 B | +131.3% | +35.0% | 238.4s:70.6s:50.5s | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 593 filtered out; finished in 782.61s + +RC=0 diff --git a/lanes/arfq/leaf12.log b/lanes/arfq/leaf12.log new file mode 100644 index 00000000..63d19c7e --- /dev/null +++ b/lanes/arfq/leaf12.log @@ -0,0 +1,3 @@ + +running 1 test +test encode::tests::bd_rate_film_long_gop ... \ No newline at end of file diff --git a/lanes/arfq/leaf24.log b/lanes/arfq/leaf24.log new file mode 100644 index 00000000..63d19c7e --- /dev/null +++ b/lanes/arfq/leaf24.log @@ -0,0 +1,3 @@ + +running 1 test +test encode::tests::bd_rate_film_long_gop ... \ No newline at end of file diff --git a/lanes/arfq/leaf8.log b/lanes/arfq/leaf8.log new file mode 100644 index 00000000..bddeb108 --- /dev/null +++ b/lanes/arfq/leaf8.log @@ -0,0 +1,25 @@ + +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) | +|---|---|---|---|---| +film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 8, mid_q_offset: Some(-8), key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 8, mid_q_offset: Some(-8), key_q_offset: -48 }) +film A (1080p source): pricer armings default=20 real=922 +film A (1080p source): motion_mode 32x32 SIMPLE=158000 OBMC=0 WARP=5856 | 16x16 SIMPLE=88023 OBMC=0 WARP=8987 | 8x8 SIMPLE=26199 OBMC=0 WARP=3975 (0.0% OBMC / 6.5% WARP of 291040 eligible) +film A (1080p source): inter var-tx depths of 400267 blocks -- leaf single 0=56470 1=11835 (17.3% split) | leaf compound 0=157498 1=40518 (20.5% split) | 32x32 single 0=28351 1=20849 (42.4% split) | 32x32 compound 0=48980 1=35766 (42.2% 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 116009 (modes DC=27968 V=16938 H=22477 D157=32704 PAETH=15922) +| film A (1080p source) 1920x768 | 44.43 dB/227990 B, 46.04 dB/408251 B, 47.22 dB/746819 B, 48.33 dB/1697085 B | +43.4% | +5.1% | 342.4s:36.5s:59.4s | +film B (2160p HDR source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 8, mid_q_offset: Some(-8), key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 8, mid_q_offset: Some(-8), key_q_offset: -48 }) +film B (2160p HDR source): pricer armings default=20 real=820 +film B (2160p HDR source): motion_mode 32x32 SIMPLE=209567 OBMC=0 WARP=4728 | 16x16 SIMPLE=70231 OBMC=0 WARP=4742 | 8x8 SIMPLE=15445 OBMC=0 WARP=2296 (0.0% OBMC / 3.8% WARP of 307009 eligible) +film B (2160p HDR source): inter var-tx depths of 353917 blocks -- leaf single 0=55630 1=13409 (19.4% split) | leaf compound 0=121759 1=29824 (19.7% split) | 32x32 single 0=34244 1=29740 (46.5% split) | 32x32 compound 0=37925 1=31386 (45.3% 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 76174 (modes DC=19967 V=10467 H=10934 D157=27235 PAETH=7571) +| film B (2160p HDR source) 1920x1024 | 46.80 dB/92702 B, 48.04 dB/210422 B, 49.08 dB/512643 B, 50.13 dB/1321591 B | +127.6% | +34.1% | 259.5s:69.5s:50.6s | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 593 filtered out; finished in 834.85s + +RC=0