forge
Explore
Log in

Don't you dare go Hollow

Record the native-gate confirm run under the default pyramid (5 rows, screen unmoved)

Browse files at this commit

378312121c48e108ab97cf5aa3cef954accc885fAhmet Kaan GümüşParent: 5ec5a7c
  • docs
    • record the native-gate confirm run under the default pyramid (5 rows, screen unmoved)
Show full message
docs(av1): record the native-gate confirm run under the default pyramid (5 rows, screen unmoved)
crates/ec-av1/src/encode.rsmodified+27 -6
@@ -13281,13 +13281,17 @@ mod tests {
13281 /// EC_AV1_INTRABC=1 ... same command # intra block copy13281 /// EC_AV1_INTRABC=1 ... same command # intra block copy
13282 /// EC_AV1_PAL_MAXCOLORS=256 ... same command # palette bound13282 /// EC_AV1_PAL_MAXCOLORS=256 ... same command # palette bound
13283 /// EC_AV1_TILES=1:1 EC_AV1_TILE_THREADS=4 ... # 2x2 tiles13283 /// EC_AV1_TILES=1:1 EC_AV1_TILE_THREADS=4 ... # 2x2 tiles
13284- /// EC_AV1_PYRAMID=4:-16:8 ... same command # coding pyramid13284+ /// EC_AV1_PYRAMID=0 ... same command # no coding pyramid
13285+ /// EC_AV1_GATE_FACADE=1 ... same command # the facade arm
13285 ///13286 ///
13286- /// Under `EC_AV1_PYRAMID` this arm codes its ladder through the streaming13287+ /// The coding pyramid is the DEFAULT of the sequence path this arm codes
13287- /// facade ([`our_ladder_pyramid`]), which exposes no per-packet13288+ /// through (lane-av1pyrdef); the run prints the requested and the
13288- /// reconstruction: that path asserts ffmpeg's decode against our own13289+ /// effective pyramid per clip, and a screen clip's effective one is
13289- /// decoder on all three planes in display order, and prints the per-level13290+ /// `None`. `EC_AV1_GATE_FACADE=1` runs the same ladder through the
13290- /// frame and byte census.13291+ /// streaming facade instead, which prints the per-level frame and byte
13292+ /// census and asserts ffmpeg's decode against our own decoder on all
13293+ /// three planes in display order; both arms code the same bytes
13294+ /// (`encoder::tests::the_facade_codes_the_same_bytes_as_encode_sequence`).
13291 ///13295 ///
13292 /// WHICH ROWS ARE REAL CONTENT: the `bars 1080p` / `bars 2160p` rows are13296 /// WHICH ROWS ARE REAL CONTENT: the `bars 1080p` / `bars 2160p` rows are
13293 /// the repo fixtures `scripts/gen-fixtures.sh` builds with ffmpeg13297 /// the repo fixtures `scripts/gen-fixtures.sh` builds with ffmpeg
@@ -13317,6 +13321,23 @@ mod tests {
13317 /// (their classification never moved); the palette search over film was13321 /// (their classification never moved); the palette search over film was
13318 /// costing roughly a tenth of the film rows' wall.13322 /// costing roughly a tenth of the film rows' wall.
13319 ///13323 ///
13324+ /// CONFIRM RUN 2026-09-07 (lane-av1pyrdef), with the pyramid now the
13325+ /// sequence path's default -- the four non-screen rows take `4:-16:8`,
13326+ /// the capture is gated flat and does not move a byte:
13327+ ///
13328+ /// | clip | effective | flat -> default | vs rav1e | wall ours:libaom:rav1e |
13329+ /// |---|---|---|---|---|
13330+ /// | bars 1080p | 4:-16:8 | +16.4% -> +21.5% | -1.1% -> +3.7% | 37.8s:8.4s:16.4s |
13331+ /// | bars 2160p | 4:-16:8 | +48.2% -> +48.3% | +20.4% -> +20.4% | 32.2s:5.6s:16.2s |
13332+ /// | film A | 4:-16:8 | +62.8% -> +54.1% | +32.5% -> +24.2% | 58.9s:9.5s:13.6s |
13333+ /// | film B | 4:-16:8 | +86.3% -> +82.6% | +50.5% -> +47.4% | 63.2s:18.7s:16.4s |
13334+ /// | screen capture | none (gated) | +50.1% -> +50.1% | -15.4% -> -15.4% | 31.1s:8.4s:11.3s |
13335+ ///
13336+ /// Every row lands on lane-av1pyrgate's facade-arm number to the digit,
13337+ /// which is the point of the shared driver: the two entry points code one
13338+ /// stream. The bars rows are fixtures (recorded, never a decision); the
13339+ /// two real films are what the pyramid ships for.
13340+ ///
13320 /// All five gate clips are rows by default. `EC_AV1_NATIVE_FILM=1`,13341 /// All five gate clips are rows by default. `EC_AV1_NATIVE_FILM=1`,
13321 /// `EC_AV1_NATIVE_FILM4K=1` and `EC_AV1_NATIVE_SCREEN=1` select a subset:13342 /// `EC_AV1_NATIVE_FILM4K=1` and `EC_AV1_NATIVE_SCREEN=1` select a subset:
13322 /// setting any one of them keeps only the selected rows (the two 1080p13343 /// setting any one of them keeps only the selected rows (the two 1080p
lanes/pyrdef/native.logmodified+29 -0
@@ -11,3 +11,32 @@ bars 1080p: inter var-tx depths of 12372 blocks -- leaf single 0=1211 1=649 (34.
11 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)11 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)
12 test encode::tests::bd_rate_screen_native has been running for over 60 seconds12 test encode::tests::bd_rate_screen_native has been running for over 60 seconds
13 | bars 1080p 1920x1024 | 43.96 dB/264019 B, 47.65 dB/387214 B, 51.09 dB/518844 B, 53.97 dB/647879 B | +21.5% | +3.7% | 37.8s:8.4s:16.4s |13 | bars 1080p 1920x1024 | 43.96 dB/264019 B, 47.65 dB/387214 B, 51.09 dB/518844 B, 53.97 dB/647879 B | +21.5% | +3.7% | 37.8s:8.4s:16.4s |
14+bars 2160p: sequence, pyramid requested Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 }) effective Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 })
15+bars 2160p: pricer armings default=15 real=149
16+bars 2160p: motion_mode 32x32 SIMPLE=45730 OBMC=0 WARP=6 | 16x16 SIMPLE=211 OBMC=0 WARP=9 | 8x8 SIMPLE=5537 OBMC=0 WARP=317 (0.0% OBMC / 0.6% WARP of 51810 eligible)
17+bars 2160p: inter var-tx depths of 12845 blocks -- leaf single 0=427 1=80 (15.8% split) | leaf compound 0=5080 1=676 (11.7% split) | 32x32 single 0=568 1=1663 (74.5% split) | 32x32 compound 0=110 1=4241 (97.5% split)
18+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)
19+| bars 2160p 1920x1024 | 43.61 dB/314759 B, 47.66 dB/459853 B, 51.36 dB/596600 B, 54.40 dB/714070 B | +48.3% | +20.4% | 32.2s:5.6s:16.2s |
20+film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 }) effective Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 })
21+film A (1080p source): pricer armings default=20 real=217
22+film A (1080p source): motion_mode 32x32 SIMPLE=63427 OBMC=0 WARP=2032 | 16x16 SIMPLE=29966 OBMC=0 WARP=2625 | 8x8 SIMPLE=10914 OBMC=0 WARP=2281 (0.0% OBMC / 6.2% WARP of 111245 eligible)
23+film A (1080p source): inter var-tx depths of 114875 blocks -- leaf single 0=19623 1=4907 (20.0% split) | leaf compound 0=41256 1=11823 (22.3% split) | 32x32 single 0=9247 1=6437 (41.0% split) | 32x32 compound 0=12947 1=8635 (40.0% split)
24+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)
25+| film A (1080p source) 1920x768 | 43.45 dB/72608 B, 45.36 dB/121963 B, 46.82 dB/218318 B, 47.98 dB/397376 B | +54.1% | +24.2% | 58.9s:9.5s:13.6s |
26+film B (2160p HDR source): sequence, pyramid requested Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 }) effective Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 })
27+film B (2160p HDR source): pricer armings default=17 real=194
28+film B (2160p HDR source): motion_mode 32x32 SIMPLE=90680 OBMC=0 WARP=1169 | 16x16 SIMPLE=23506 OBMC=0 WARP=976 | 8x8 SIMPLE=3306 OBMC=0 WARP=1170 (0.0% OBMC / 2.7% WARP of 120807 eligible)
29+film B (2160p HDR source): inter var-tx depths of 101802 blocks -- leaf single 0=18886 1=5121 (21.3% split) | leaf compound 0=31381 1=7835 (20.0% split) | 32x32 single 0=12097 1=9516 (44.0% split) | 32x32 compound 0=10521 1=6445 (38.0% split)
30+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)
31+| film B (2160p HDR source) 1920x1024 | 46.48 dB/38089 B, 47.91 dB/74527 B, 49.07 dB/169528 B, 50.05 dB/340970 B | +82.6% | +47.4% | 63.2s:18.7s:16.4s |
32+screen capture (2026-07-25 02-09-04.mkv): sequence, pyramid requested Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 }) effective None
33+screen capture (2026-07-25 02-09-04.mkv): pricer armings default=163 real=0
34+screen capture (2026-07-25 02-09-04.mkv): motion_mode 32x32 SIMPLE=81719 OBMC=0 WARP=2056 | 16x16 SIMPLE=4530 OBMC=0 WARP=772 | 8x8 SIMPLE=1003 OBMC=0 WARP=906 (0.0% OBMC / 4.1% WARP of 90986 eligible)
35+screen capture (2026-07-25 02-09-04.mkv): inter var-tx depths of 18765 blocks -- leaf single 0=2093 1=2172 (50.9% split) | leaf compound 0=2264 1=1810 (44.4% split) | 32x32 single 0=2293 1=4692 (67.2% split) | 32x32 compound 0=1342 1=2099 (61.0% split)
36+screen capture (2026-07-25 02-09-04.mkv): screen frames on=48 off=0 (100.0% on); palette blocks luma 10148 chroma 1331; intrabc blocks 0 (searched 0 / valid 0 / won 0)
37+| screen capture (2026-07-25 02-09-04.mkv) 1920x1024 | 46.00 dB/45256 B, 48.82 dB/57616 B, 51.21 dB/74177 B, 53.49 dB/96308 B | +50.1% | -15.4% | 31.1s:8.4s:11.3s |
38+test encode::tests::bd_rate_screen_native ... ok
39+
40+test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 580 filtered out; finished in 362.70s
41+
42+RC=0