Merge lane/av1stale422prose: stale 4:2:2 refusal prose, comment-only
Browse files at this commit4 changed files +141 -37
- crates/ec-av1/src/refusal_inventory.rs +2 -2
- crates/ec-av1/src/stream.rs +47 -33
- crates/ec-av1/src/tile.rs +7 -2
- lanes/av1stale422prose.report.md +85 -0
crates/ec-av1/src/refusal_inventory.rsmodified+2 -2
| @@ -2180,8 +2180,8 @@ mod tests { | |||
| 2180 | // 4:2:0. `(0, 1)` is uncodable -- `color_config` reads | 2180 | // 4:2:0. `(0, 1)` is uncodable -- `color_config` reads |
| 2181 | // `subsampling_y` only when `subsampling_x == 1` | 2181 | // `subsampling_y` only when `subsampling_x == 1` |
| 2182 | // (sequence.rs:481) -- so these three are the whole | 2182 | // (sequence.rs:481) -- so these three are the whole |
| 2183 | - // reachable set, and each is walked whether or not the | 2183 | + // reachable set, and each is walked independently of any |
| 2184 | - // sequence header still refuses it. | 2184 | + // sequence-header guard (lifted by lane-av1422lift). |
| 2185 | for (ss_x, ss_y) in [(0usize, 0usize), (1, 0), (1, 1)] { | 2185 | for (ss_x, ss_y) in [(0usize, 0usize), (1, 0), (1, 1)] { |
| 2186 | let (chroma_w, chroma_h) = (bw >> ss_x, bh >> ss_y); | 2186 | let (chroma_w, chroma_h) = (bw >> ss_x, bh >> ss_y); |
| 2187 | let unit = (chroma_w.min(32), chroma_h.min(32)); | 2187 | let unit = (chroma_w.min(32), chroma_h.min(32)); |
crates/ec-av1/src/stream.rsmodified+47 -33
| @@ -3406,14 +3406,14 @@ pub(crate) mod tests { | |||
| 3406 | /// **The committed assertion follows the family's standing rule** (same | 3406 | /// **The committed assertion follows the family's standing rule** (same |
| 3407 | /// shape as | 3407 | /// shape as |
| 3408 | /// [`the_pinned_422_bigblock_witnesses_are_present_and_refuse_by_name`]): | 3408 | /// [`the_pinned_422_bigblock_witnesses_are_present_and_refuse_by_name`]): |
| 3409 | - /// the byte pin plus this decoder's disposition of those bytes. While | 3409 | + /// the byte pin plus this decoder's disposition of those bytes. |
| 3410 | - /// `decode_stream` still refuses 4:2:2 at the sequence header | 3410 | + /// lane-av1422lift: `decode_stream` no longer refuses 4:2:2 at the sequence |
| 3411 | - /// (`decode_frame`, `subsampling_x != subsampling_y`) that is the refusal | 3411 | + /// header, so the OK arm is the live one -- the gate decodes the pin and |
| 3412 | - /// BY NAME, and the gate additionally asserts the arm's counter reads 0 -- | 3412 | + /// asserts 17 decode-order frames byte-exact against aomdec with |
| 3413 | - /// the pin alone must never be able to fake a green. When the header lift | 3413 | + /// `palette_422_unit_window_hits()` fired. The `Err` arm below is the |
| 3414 | - /// lands the same test becomes the full gate: 17 decode-order frames | 3414 | + /// stale half: it still compiles in the old refusal string (`REFUSAL`, |
| 3415 | - /// byte-exact against aomdec with `palette_422_unit_window_hits()` fired, | 3415 | + /// `"a chroma format of 4:2:2"`) and a counter-stays-put assertion. That is |
| 3416 | - /// which is what it asserts then. Both branches are loud. | 3416 | + /// code, not a comment, and this prose sweep deliberately leaves it alone. |
| 3417 | #[test] | 3417 | #[test] |
| 3418 | fn the_pinned_422_palette_intra_in_inter_cell_window_is_byte_exact() { | 3418 | fn the_pinned_422_palette_intra_in_inter_cell_window_is_byte_exact() { |
| 3419 | const NAME: &str = "the_pinned_422_palette_intra_in_inter_cell_window_is_byte_exact"; | 3419 | const NAME: &str = "the_pinned_422_palette_intra_in_inter_cell_window_is_byte_exact"; |
| @@ -3541,8 +3541,11 @@ pub(crate) mod tests { | |||
| 3541 | 3541 | ||
| 3542 | /// lane-av1-ibc128chunk: the SOURCE-SCAN arm of the witness gate above. | 3542 | /// lane-av1-ibc128chunk: the SOURCE-SCAN arm of the witness gate above. |
| 3543 | /// | 3543 | /// |
| 3544 | - /// The decode-level half of the red/green evidence cannot run in | 3544 | + /// The decode-level half of the red/green evidence now runs in committed |
| 3545 | - /// committed code (the 4:2:2 refusal stands), so this arm pins the thing | 3545 | + /// code too -- the witness gate above, |
| 3546 | + /// `the_pinned_422_intrabc_sb128_strip_witnesses_decode_pixel_exact`, | ||
| 3547 | + /// decodes both pins byte-exact against ffmpeg (lane-av1422lift lifted the | ||
| 3548 | + /// sequence-header refusal). This arm complements it by pinning the thing | ||
| 3546 | /// that would silently bring the defect back: the square-cut | 3549 | /// that would silently bring the defect back: the square-cut |
| 3547 | /// `chunk_chroma = cside * 64 / side` expression, and the per-axis | 3550 | /// `chunk_chroma = cside * 64 / side` expression, and the per-axis |
| 3548 | /// replacements that replaced it at BOTH sites in | 3551 | /// replacements that replaced it at BOTH sites in |
| @@ -3838,7 +3841,9 @@ pub(crate) mod tests { | |||
| 3838 | } | 3841 | } |
| 3839 | 3842 | ||
| 3840 | /// lane-av1422lpf: the three 4:2:2 LOSSLESS INTER witness fixtures, | 3843 | /// lane-av1422lpf: the three 4:2:2 LOSSLESS INTER witness fixtures, |
| 3841 | - /// PINNED, and asserted to refuse at the SEQUENCE HEADER. | 3844 | + /// PINNED. As of lane-av1422lift they are asserted to DECODE pixel-exact |
| 3845 | + /// against ffmpeg (the lane-av1422lift paragraph at the end of this doc); | ||
| 3846 | + /// before the lift this gate asserted the SEQUENCE-HEADER refusal instead. | ||
| 3842 | /// | 3847 | /// |
| 3843 | /// W/X/Y (`W_intrabc.obu`, `X_intrabc_tiled.obu`, `Y_intrabc_10b.obu`) are | 3848 | /// W/X/Y (`W_intrabc.obu`, `X_intrabc_tiled.obu`, `Y_intrabc_10b.obu`) are |
| 3844 | /// the streams on which lane-av1422lpf found the seven-site chroma-extent | 3849 | /// the streams on which lane-av1422lpf found the seven-site chroma-extent |
| @@ -3847,22 +3852,23 @@ pub(crate) mod tests { | |||
| 3847 | /// PER-AXIS `(bw >> ss_x, bh >> ss_y)` -- so the pins keep the bytes that | 3852 | /// PER-AXIS `(bw >> ss_x, bh >> ss_y)` -- so the pins keep the bytes that |
| 3848 | /// witnessed it from silently changing under the gate. | 3853 | /// witnessed it from silently changing under the gate. |
| 3849 | /// | 3854 | /// |
| 3850 | - /// WHAT THIS GATE DOES NOT COVER, measured rather than argued: the | 3855 | + /// WHAT THIS GATE DID NOT COVER BEFORE THE LIFT, measured rather than |
| 3851 | - /// refusal it asserts is the HEADER refusal, which fires BEFORE any of | 3856 | + /// argued: the refusal it asserted was the HEADER refusal, which fired |
| 3852 | - /// the seven sites is reachable, and it fires IDENTICALLY on the pre-fix | 3857 | + /// BEFORE any of the seven sites is reachable, and it fired IDENTICALLY on |
| 3853 | - /// tree (commit `aef4fa67` prints the same string, built and run for | 3858 | + /// the pre-fix tree (commit `aef4fa67` prints the same string, built and |
| 3854 | - /// this correction). This gate is therefore VACUOUS with respect to the | 3859 | + /// run for this correction). As a refusal contract the gate was therefore |
| 3855 | - /// seven-site fix -- it passes before and after the fix. Its only real | 3860 | + /// VACUOUS with respect to the seven-site fix -- it passed before and |
| 3856 | - /// content is the three pins. | 3861 | + /// after the fix, and its only real content was the three pins. |
| 3857 | - /// | 3862 | + /// |
| 3858 | - /// Nor can any committed gate witness that fix's DECODE behaviour: with | 3863 | + /// That refusal is GONE (lane-av1422lift lifted the sequence-header |
| 3859 | - /// the header refusal standing, no committed test reaches a 4:2:2 decode, | 3864 | + /// refusal), so the decode-level half of the evidence now runs in |
| 3860 | - /// because the `EC_AV1_ALLOW_422_PROBE` bypass is a patch-run-restore | 3865 | + /// committed code: this gate's own byte-exact arm below decodes all three |
| 3861 | - /// hack that must never be committed. The panic fix's evidence is the | 3866 | + /// fixtures against ffmpeg. `EC_AV1_ALLOW_422_PROBE` was only ever the |
| 3862 | - /// BYPASSED manual measurement in `lanes/av1422lpf.report.md`; what is | 3867 | + /// patch-run-restore bypass for the manual measurement in |
| 3863 | - /// committed for the fix is the source-scan arm | 3868 | + /// `lanes/av1422lpf.report.md`; it is still deliberately not committed. |
| 3864 | - /// `the_422_lossless_inter_chroma_walk_sites_stay_per_axis`, which | 3869 | + /// The source-scan arm |
| 3865 | - /// proves the per-axis SPELLING and nothing about pixels. | 3870 | + /// `the_422_lossless_inter_chroma_walk_sites_stay_per_axis` remains the |
| 3871 | + /// per-axis SPELLING proof; the pixel proof is now the committed decode. | ||
| 3866 | /// | 3872 | /// |
| 3867 | /// CORRECTED by lane-av1422llintra: the name said `..._panics_refuse_ | 3873 | /// CORRECTED by lane-av1422llintra: the name said `..._panics_refuse_ |
| 3868 | /// by_name`, and lane-av1422lpf's report claimed W and X now REFUSE with | 3874 | /// by_name`, and lane-av1422lpf's report claimed W and X now REFUSE with |
| @@ -4164,7 +4170,9 @@ pub(crate) mod tests { | |||
| 4164 | /// | 4170 | /// |
| 4165 | /// Measured on a patch-run-restore build (the `EC_AV1_ALLOW_422_PROBE` | 4171 | /// Measured on a patch-run-restore build (the `EC_AV1_ALLOW_422_PROBE` |
| 4166 | /// bypass applied for the run, reverted after -- it is deliberately NOT | 4172 | /// bypass applied for the run, reverted after -- it is deliberately NOT |
| 4167 | - /// committed, and the refusal below is what the committed tree asserts): | 4173 | + /// committed). This block is the bypassed measurement; the committed |
| 4174 | + /// assertion is now the byte-exact compare in the lane-av1422lift | ||
| 4175 | + /// paragraph below: | ||
| 4168 | /// | 4176 | /// |
| 4169 | /// - all 16 frames pixel-exact against `aomdec --rawvideo`, 2359296 | 4177 | /// - all 16 frames pixel-exact against `aomdec --rawvideo`, 2359296 |
| 4170 | /// bytes each, sha256 `4bfc2395e5ca6ea178f606e6b1ced773e26fc2d85b | 4178 | /// bytes each, sha256 `4bfc2395e5ca6ea178f606e6b1ced773e26fc2d85b |
| @@ -4249,7 +4257,9 @@ pub(crate) mod tests { | |||
| 4249 | /// | 4257 | /// |
| 4250 | /// Measured on a patch-run-restore build (the `EC_AV1_ALLOW_422_PROBE` | 4258 | /// Measured on a patch-run-restore build (the `EC_AV1_ALLOW_422_PROBE` |
| 4251 | /// bypass applied for the run, reverted after -- deliberately not | 4259 | /// bypass applied for the run, reverted after -- deliberately not |
| 4252 | - /// committed, and the refusal asserted below is what this tree ships): | 4260 | + /// committed). This block is the bypassed measurement; the committed |
| 4261 | + /// assertion is now the byte-exact compare in the lane-av1422lift | ||
| 4262 | + /// paragraph below: | ||
| 4253 | /// | 4263 | /// |
| 4254 | /// - all 16 frames pixel-exact against `aomdec --rawvideo`, 2359296 | 4264 | /// - all 16 frames pixel-exact against `aomdec --rawvideo`, 2359296 |
| 4255 | /// bytes each, sha256 `1cf47bc9e06a6e286452dfe4ffe457a85b6badd25 | 4265 | /// bytes each, sha256 `1cf47bc9e06a6e286452dfe4ffe457a85b6badd25 |
| @@ -42500,8 +42510,10 @@ exit 0 | |||
| 42500 | /// frame splits to 64x64 (detailed testsrc2 content), so the whole | 42510 | /// frame splits to 64x64 (detailed testsrc2 content), so the whole |
| 42501 | /// stream stays inside the 4:2:0 paths this tree decodes. The 4:4:4 twin | 42511 | /// stream stays inside the 4:2:0 paths this tree decodes. The 4:4:4 twin |
| 42502 | /// of this shape (FOUR TX_32X32 units per chunk per plane) is witnessed | 42512 | /// of this shape (FOUR TX_32X32 units per chunk per plane) is witnessed |
| 42503 | - /// in `lanes/av1444128.report.md` against the merged 444 tree -- this | 42513 | + /// in `lanes/av1444128.report.md` and committed here as |
| 42504 | - /// tree still refuses non-4:2:0 sequences by name. | 42514 | + /// `a_real_aomenc_444_intra_in_inter_128_root_codes_chroma_per_mu_chunk_unit_pixel_exact`. |
| 42515 | + /// lane-av1422lift: the sequence-header refusal is gone, so this tree no | ||
| 42516 | + /// longer refuses non-4:2:0 sequences by name. | ||
| 42505 | #[test] | 42517 | #[test] |
| 42506 | fn a_real_aomenc_128x128_none_inter_blocks_coded_chroma_per_mu_chunk_decodes_pixel_exact() { | 42518 | fn a_real_aomenc_128x128_none_inter_blocks_coded_chroma_per_mu_chunk_decodes_pixel_exact() { |
| 42507 | const NAME: &str = | 42519 | const NAME: &str = |
| @@ -52879,8 +52891,10 @@ exit 0 | |||
| 52879 | /// --end-usage=q --cq-level=20 --cpu-used=2 --threads=1 --row-mt=0 | 52891 | /// --end-usage=q --cq-level=20 --cpu-used=2 --threads=1 --row-mt=0 |
| 52880 | /// --lag-in-frames=0 --kf-max-dist=100 --limit=6 --obu -o - -`. | 52892 | /// --lag-in-frames=0 --kf-max-dist=100 --limit=6 --obu -o - -`. |
| 52881 | /// aomenc picks `seq_profile=2` here (12-bit forces it) with | 52893 | /// aomenc picks `seq_profile=2` here (12-bit forces it) with |
| 52882 | - /// `subsampling_x/y = 0,0` -- still 4:4:4 planes, and the decoder's | 52894 | + /// `subsampling_x/y = 0,0` -- still 4:4:4 planes. lane-av1422lift: 4:2:2 |
| 52883 | - /// refusal only rejects `subsampling_x != subsampling_y`. | 52895 | + /// (1,0) is DECODED now, so the only subsampling the decoder still asserts |
| 52896 | + /// against is the uncodable 4:4:0 (0,1) cell, closed by | ||
| 52897 | + /// `the_440_cell_is_not_a_codable_chroma_shape`. | ||
| 52884 | #[test] | 52898 | #[test] |
| 52885 | fn a_444_12bit_inter_sequence_decodes_pixel_exact() { | 52899 | fn a_444_12bit_inter_sequence_decodes_pixel_exact() { |
| 52886 | const NAME: &str = "a_444_12bit_inter_sequence_decodes_pixel_exact"; | 52900 | const NAME: &str = "a_444_12bit_inter_sequence_decodes_pixel_exact"; |
crates/ec-av1/src/tile.rsmodified+7 -2
| @@ -419,8 +419,13 @@ fn write_inter_block_128( | |||
| 419 | // 32x64 (two stacked units) with a (64, 32) luma footprint per | 419 | // 32x64 (two stacked units) with a (64, 32) luma footprint per |
| 420 | // unit, so `unit_mi`, the `64`-spans and the whole `CHUNKS` | 420 | // unit, so `unit_mi`, the `64`-spans and the whole `CHUNKS` |
| 421 | // raster need the same per-axis treatment before 4:2:2 could be | 421 | // raster need the same per-axis treatment before 4:2:2 could be |
| 422 | - // written here. Refused by name at the sequence header today, so | 422 | + // written here. This is a PORT note, not a live defect, because |
| 423 | - // this is a PORT note, not a live defect. | 423 | + // nothing feeds this writer 4:2:2: every non-test `ColorConfig` |
| 424 | + // the encoder names is (1,1), pinned by arm 2 of | ||
| 425 | + // `the_chroma_palette_map_side_is_the_420_plane_block_and_nothing_ | ||
| 426 | + // else_reaches_it`. lane-av1422lift lifted the decoder's | ||
| 427 | + // sequence-header refusal, so the reason this is not live is the | ||
| 428 | + // writer's 4:2:0-only source, not a refusal. | ||
| 424 | let mut pair = [Vec::new(), Vec::new()]; | 429 | let mut pair = [Vec::new(), Vec::new()]; |
| 425 | for plane in 1..3usize { | 430 | for plane in 1..3usize { |
| 426 | let grid = unit_of(plane, cr, cc); | 431 | let grid = unit_of(plane, cr, cc); |
lanes/av1stale422prose.report.mdadded+85 -0
| @@ -0,0 +1,85 @@ | |||
| 1 | +# lane/av1stale422prose — honesty sweep of stale 4:2:2 sequence-header-refusal prose | ||
| 2 | + | ||
| 3 | +Base: `6d646f65`. Branch `lane/av1stale422prose`, worktree | ||
| 4 | +`/home/user/.cache/wt/av1stale422prose`. Not pushed, not merged. | ||
| 5 | + | ||
| 6 | +The 4:2:2 sequence-header refusal is already lifted on this base. The live guard | ||
| 7 | +(`stream.rs`, near the old guard block) DECODES 4:2:2 `(1,0)` and asserts only the | ||
| 8 | +uncodable 4:4:0 `(0,1)` cell (`the_440_cell_is_not_a_codable_chroma_shape`). This | ||
| 9 | +lane is **comment-only**: it rewrites prose a current reader would take as "4:2:2 | ||
| 10 | +still refuses / only a bypass can reach it", and leaves every behavioural assert | ||
| 11 | +untouched. `decode.rs` was not edited. | ||
| 12 | + | ||
| 13 | +## Diff proof: comment-only | ||
| 14 | + | ||
| 15 | +``` | ||
| 16 | +$ git diff -U0 | grep -E '^[+-]' | grep -vE '^(\+\+\+|---)' \ | ||
| 17 | + | sed 's/^[+-]//' | sed 's/^[[:space:]]*//' | sort -u | grep -v '^//' | ||
| 18 | +(empty) # every added/removed line is a // or /// comment | ||
| 19 | + | ||
| 20 | +$ git diff --stat | ||
| 21 | + crates/ec-av1/src/refusal_inventory.rs | 4 +- | ||
| 22 | + crates/ec-av1/src/stream.rs | 80 ++++++++++++++++++++-------------- | ||
| 23 | + crates/ec-av1/src/tile.rs | 9 +++- | ||
| 24 | + 3 files changed, 56 insertions(+), 37 deletions(-) | ||
| 25 | +``` | ||
| 26 | + | ||
| 27 | +`cargo check -p ec-av1 --tests` — clean (Finished, 0 warnings from this crate). | ||
| 28 | + | ||
| 29 | +Short non-encode gate run: | ||
| 30 | +`the_440_cell_is_not_a_codable_chroma_shape` — ok (1 passed). | ||
| 31 | + | ||
| 32 | +## Rewritten sites | ||
| 33 | + | ||
| 34 | +### 1. `stream.rs` — palette-window gate doc (`the_pinned_422_palette_intra_in_inter_cell_window_is_byte_exact`) | ||
| 35 | +- OLD: "While `decode_stream` still refuses 4:2:2 at the sequence header (`decode_frame`, `subsampling_x != subsampling_y`) that is the refusal BY NAME … When the header lift lands the same test becomes the full gate …" | ||
| 36 | +- NEW: "lane-av1422lift: `decode_stream` no longer refuses 4:2:2 at the sequence header, so the OK arm is the live one — the gate decodes the pin and asserts 17 decode-order frames byte-exact against aomdec with `palette_422_unit_window_hits()` fired. The `Err` arm below is the stale half: it still compiles in the old refusal string (`REFUSAL`, `"a chroma format of 4:2:2"`) and a counter-stays-put assertion. That is code, not a comment, and this prose sweep deliberately leaves it alone." | ||
| 37 | + | ||
| 38 | +### 2. `stream.rs` — intrabc 128rect chunk-walk source-scan arm doc | ||
| 39 | +- OLD: "The decode-level half of the red/green evidence cannot run in committed code (the 4:2:2 refusal stands), so this arm pins …" | ||
| 40 | +- NEW: "The decode-level half of the red/green evidence now runs in committed code too — the witness gate above, `the_pinned_422_intrabc_sb128_strip_witnesses_decode_pixel_exact`, decodes both pins byte-exact against ffmpeg (lane-av1422lift lifted the sequence-header refusal). This arm complements it by pinning …" | ||
| 41 | + | ||
| 42 | +### 3. `stream.rs` — lossless-inter witness doc (`the_pinned_422_lossless_inter_witnesses_decode_pixel_exact`) | ||
| 43 | +- OLD header: "… the three 4:2:2 LOSSLESS INTER witness fixtures, PINNED, and asserted to refuse at the SEQUENCE HEADER." | ||
| 44 | +- NEW header: "… PINNED. As of lane-av1422lift they are asserted to DECODE pixel-exact against ffmpeg … before the lift this gate asserted the SEQUENCE-HEADER refusal instead." | ||
| 45 | +- OLD body: "WHAT THIS GATE DOES NOT COVER … This gate is therefore VACUOUS … Nor can any committed gate witness that fix's DECODE behaviour: with the header refusal standing, no committed test reaches a 4:2:2 decode, because the `EC_AV1_ALLOW_422_PROBE` bypass is a patch-run-restore hack that must never be committed …" | ||
| 46 | +- NEW body: "WHAT THIS GATE DID NOT COVER BEFORE THE LIFT … As a refusal contract the gate was therefore VACUOUS … That refusal is GONE (lane-av1422lift lifted the sequence-header refusal), so the decode-level half of the evidence now runs in committed code: this gate's own byte-exact arm below decodes all three fixtures against ffmpeg. `EC_AV1_ALLOW_422_PROBE` was only ever the patch-run-restore bypass for the manual measurement in `lanes/av1422lpf.report.md`; it is still deliberately not committed …" | ||
| 47 | + | ||
| 48 | +### 4. `stream.rs` — residual compound-warp witness doc | ||
| 49 | +- OLD: "… it is deliberately NOT committed, and the refusal below is what the committed tree asserts):" | ||
| 50 | +- NEW: "… it is deliberately NOT committed). This block is the bypassed measurement; the committed assertion is now the byte-exact compare in the lane-av1422lift paragraph below:" | ||
| 51 | + | ||
| 52 | +### 5. `stream.rs` — LR-off (`lrless`) witness doc | ||
| 53 | +- OLD: "… deliberately not committed, and the refusal asserted below is what this tree ships):" | ||
| 54 | +- NEW: "… deliberately not committed). This block is the bypassed measurement; the committed assertion is now the byte-exact compare in the lane-av1422lift paragraph below:" | ||
| 55 | + | ||
| 56 | +### 6. `stream.rs` — 128x128 none-root inter gate doc | ||
| 57 | +- OLD: "… is witnessed in `lanes/av1444128.report.md` against the merged 444 tree — this tree still refuses non-4:2:0 sequences by name." | ||
| 58 | +- NEW: "… is witnessed in `lanes/av1444128.report.md` and committed here as `a_real_aomenc_444_intra_in_inter_128_root_codes_chroma_per_mu_chunk_unit_pixel_exact`. lane-av1422lift: the sequence-header refusal is gone, so this tree no longer refuses non-4:2:0 sequences by name." | ||
| 59 | + | ||
| 60 | +### 7. `stream.rs` — 12-bit 4:4:4 inter gate doc | ||
| 61 | +- OLD: "… still 4:4:4 planes, and the decoder's refusal only rejects `subsampling_x != subsampling_y`." | ||
| 62 | +- NEW: "… still 4:4:4 planes. lane-av1422lift: 4:2:2 (1,0) is DECODED now, so the only subsampling the decoder still asserts against is the uncodable 4:4:0 (0,1) cell, closed by `the_440_cell_is_not_a_codable_chroma_shape`." | ||
| 63 | + | ||
| 64 | +### 8. `tile.rs` — `write_inter_block_128` mu-chunk writer PORT note | ||
| 65 | +- OLD: "… before 4:2:2 could be written here. Refused by name at the sequence header today, so this is a PORT note, not a live defect." | ||
| 66 | +- NEW: "… before 4:2:2 could be written here. This is a PORT note, not a live defect, because nothing feeds this writer 4:2:2: every non-test `ColorConfig` the encoder names is (1,1), pinned by arm 2 of `the_chroma_palette_map_side_is_the_420_plane_block_and_nothing_else_reaches_it`. lane-av1422lift lifted the decoder's sequence-header refusal, so the reason this is not live is the writer's 4:2:0-only source, not a refusal." | ||
| 67 | + | ||
| 68 | +### 9. `refusal_inventory.rs` — strip-domain enumeration comment | ||
| 69 | +- OLD: "… so these three are the whole reachable set, and each is walked whether or not the sequence header still refuses it." | ||
| 70 | +- NEW: "… so these three are the whole reachable set, and each is walked independently of any sequence-header guard (lifted by lane-av1422lift)." | ||
| 71 | + | ||
| 72 | +## Historical-and-left (already name the lift, or describe a different refusal) | ||
| 73 | + | ||
| 74 | +- `stream.rs` `sb128rect_chroma_replay_counters` doc (~323): explicitly says the old prose "was TRUE. 4:2:2 is decoded now …" — correct. | ||
| 75 | +- `stream.rs` ~1801 (the old-guard block comment): records the lift and the (0,1) assertion — correct. | ||
| 76 | +- `stream.rs` ~2644–2652 (`the_440_cell_is_not_a_codable_chroma_shape` doc): records that the old refusal assertion "was honest only because the decoder refused EVERY (1,0) header" — correct. | ||
| 77 | +- `stream.rs` ~3087–3096 and ~3489–3502: carry a lane-av1422lift paragraph that states the lift; the bypass mention sits inside the labelled pre-lift measurement — historical. | ||
| 78 | +- `stream.rs` ~7008, ~7129–7173, ~9200: the 4:2:0 **oracle helper** refusing a 4:2:2 pin — a helper-level refusal, still live and unrelated to the sequence-header guard. | ||
| 79 | +- `stream.rs` ~2921–2945, ~3000–3025, ~50007, ~50092: `440_request_is_422` / `422_header_edge16_walk` refused at the **subsize** level (`BLOCK_INVALID`), the live uncodable-shape refusal — correct. | ||
| 80 | +- `refusal_inventory.rs` ~515–524 and ~1755–1760: state the refusal is GONE at the lift — correct. | ||
| 81 | +- `examples/gen_coverage_cells.rs:260`: "lane-av1422lift: the decoder no longer refuses it" — correct. | ||
| 82 | + | ||
| 83 | +## Left alone deliberately (code, not comment) | ||
| 84 | + | ||
| 85 | +- `stream.rs` `the_pinned_422_palette_intra_in_inter_cell_window_is_byte_exact`: `const REFUSAL: &str = "a chroma format of 4:2:2";` and the `Err`-arm `assert!(err.contains(REFUSAL), …)` plus its `eprintln!`. These are **executable** refusal-string assertions. Not flipped in this lane; the doc above them now says so. | ||