forge
Explore
Log in

Don't you dare go Hollow

lane-av1422lrless: report -- state the withdrawn arm's actual invocation

Browse files at this commit

0c3b5a340921ee41c550062efbc270f6c20d62adAhmet Kaan GümüşParent: ae4bd85
Reviewer nit, accepted. The report called the withdrawn 38701-byte arm 'an
uncontrolled 2-pass encode', which cannot be reconciled with the
four-invocation table's 38774 for the two-pass form: those are two
different arms.

Reproduced and pinned down. The 38701-byte arm (sha256 205146b8...,
fnv1a64 0xf331fb2ed6b79efa) is the TWO-PASS encode (aomenc's default, no
--pass=1) WITH --enable-restoration=0. Re-encoding that invocation
reproduces those bytes exactly. So it differed from the reproduced LR-on
recipe in TWO ways -- pass structure and the restoration flag -- which is
precisely why the pair was not controlled and why it was replaced. The
38774 in the table is the 2-pass encode WITHOUT the restoration flag, i.e.
the 2-pass LR-on arm.

Both numbers were right; the report conflated them. Now it states the
invocation and shows the reproduction.
lanes/av1422lrless.report.mdmodified+21 -3
@@ -85,9 +85,27 @@ ffmpeg -i a3.webm -c copy -f obu -y a3.obu
85 85
86 38538 bytes, sha25686 38538 bytes, sha256
87 `8bed368f7ec4bca772137c6a9c2af89e1b2767ed5f937b91bd9e72ec60aeb42f`, fnv1a6487 `8bed368f7ec4bca772137c6a9c2af89e1b2767ed5f937b91bd9e72ec60aeb42f`, fnv1a64
88-`0x4b8ff761701e2bef`. (The arm pinned at `4a18a77b` — 38701 bytes,88+`0x4b8ff761701e2bef`.
89-`0xf331fb2ed6b79efa` — came from an uncontrolled 2-pass encode and is89+
90-**replaced**.)90+**What the withdrawn arm actually was**, stated precisely because "a
91+2-pass encode" alone was wrong: the 38701-byte arm pinned at `4a18a77b`
92+(sha256 `205146b85d93a6bf…`, fnv1a64 `0xf331fb2ed6b79efa`) is the
93+**two-pass** encode (aomenc's default, no `--pass=1`) **with**
94+`--enable-restoration=0`. Re-encoding it reproduces those bytes exactly:
95+
96+```
97+$ aomenc … --enable-global-motion=1 --enable-restoration=0 --cq-level=24 … # no --pass=1
98+38701B 205146b85d93a6bf586f7d3cf8778fe1a62887a2e2b265068c563ce9462e0479
99+ fnv1a64 0xf331fb2ed6b79efa
100+```
101+
102+So it differed from the reproduced LR-on recipe in **two** ways — pass
103+structure (2-pass vs `--pass=1`) *and* the restoration flag — which is
104+exactly why the pair was not controlled and why it was replaced. The 38774
105+in the table above is a different arm: two-pass **without**
106+`--enable-restoration=0`, i.e. the 2-pass LR-on encode. Both numbers are
107+right; they measure different invocations, and the report previously
108+conflated them.
91 109
92 **The engagement advantage survives the honest pair**, which is what the110 **The engagement advantage survives the honest pair**, which is what the
93 regeneration was for: top-half compound **11** against the sibling's 3.111 regeneration was for: top-half compound **11** against the sibling's 3.