Commits
Commits on
5a2f5efe3a0771ac7ca43d57bdf63c19a7b75ff62026-08-30
Merge branch 'lane-chroma': smooth, paeth and directional chroma decodeAhmet Kaan Gümüş · be7060a
Merge branch 'lane-chroma': smooth, paeth and directional chroma decode The lane went looking for chroma modes and found a luma bug first: reconstruct() hardcoded smooth_neighbor = false, so the intra edge filter took the wrong strength bucket whenever a directional block neighboured a smooth-predicted one. Its own comment called it a corner-cut. Twenty gates had never caught it because every one of them passed --enable-smooth-intra=0. Landed here: the luma fix with smooth_neighbor threaded properly, UV-mode neighbour tracking, the smooth/paeth chroma refusals gone (blocker 5 of the default-settings chain), and the directional-chroma sibling in decode_inter_block's intra-in-inter branch. Gate-proven for the key-frame path. The inter-frame intra-block path is a structural mirror of it plus a green suite, NOT proven by firing -- the lane disclosed this itself, and the owed gate is written down in lanes/chroma-r4.report.md: force an inter-frame leaf with such a uv_mode, assert smooth_uv_hits/directional_uv_hits and pixel-exactness. Both guards fired as designed and are updated: gate_coverage loses enable-smooth-intra and enable-paeth-intra, refusal_inventory loses the two round-2 chroma refusals. Suite 239 passed / 0 failed.
fix(av1): refuse non-SPLIT inter SB part64 by name instead of desyncingAhmet Kaan Gümüş · 6e8fc0b
fix(av1): refuse non-SPLIT inter SB part64 by name instead of desyncing decode_inter_frame_tile_with_cdfs read part64 then `let _ = part64;`, blindly recursing every superblock as SPLIT. A real non-SPLIT part64 in an inter frame would silently desync rather than refuse. Now the value is kept (SPLIT is still inferred for the forced-half/straddle cases, matching the intra tile's own three-way write) and any other value returns a named unsupported() error before the quadrant recursion runs. New refusal string: "an inter SB-level partition type other than SPLIT (this decoder's inter tile path only recurses a superblock as SPLIT)". Test: a_non_split_inter_sb_partition_refuses_by_name_instead_of_desyncing hand-writes a PARTITION_HORZ part64 symbol and asserts the named error comes back instead of garbage decode.
docs(av1): lane-tiles r3 report -- confirmed r2 green, two-tile gate landed, step 3 deferredAhmet Kaan Gümüş · ff1bf26Browse files
test(av1): two-tile-column key frame decodes pixel-exact, bypassing the multi-tile refusalAhmet Kaan Gümüş · a5441e8
test(av1): two-tile-column key frame decodes pixel-exact, bypassing the multi-tile refusal Proves r2's per-tile decode loop (fresh SymbolDecoder+CDF copy per tile, Neighbours::start_tile, PlaneBuf::set_tile_origin) actually decodes both tiles: a_real_aomenc_stream_with_two_tile_columns_decodes_pixel_exact calls decode_key_frame_tile_with_cdfs(&[tile0, tile1], ...) directly (decode_stream's cols>1||rows>1 refusal still fires and is untouched), 20/20 pixel-exact vs ffmpeg, tile_hits() delta hard-asserted >1 on every match. --sb-size=64 needed (this decoder hardcodes 64px superblocks; aomenc default 128px SB makes 128x64 a single superblock, nothing to tile-split). --loopfilter-control=0 needed: deblocking crosses tile boundaries by spec default and PlaneBuf's tile_x0/tile_y0 only clip left/top reach (the known r2-flagged gap), so a non-last column's right-edge deblock would misbehave -- sidestepped here since deblocking is not what this gate proves. Caught and fixed a real bug in the test's own OBU walk while wiring it: tile byte offsets are relative to the slice parse_obu was handed, not absolute in the stream (decode_stream already knows this, my first draft didn't) -- without the obu_offset fix every attempt decoded garbage-offset bytes as a flat all-skip DC block, silently 'matching' nothing real.
docs(av1): lane-lr r3 report -- gate landed, check-before-decode bug found+fixedAhmet Kaan Gümüş · f9cac18Browse files
feat(av1): lane-lr r3 step 1 -- real aomenc LR gate, proves read_lr firesAhmet Kaan Gümüş · 74cb98d
feat(av1): lane-lr r3 step 1 -- real aomenc LR gate, proves read_lr fires
Adds a_real_aomenc_stream_with_restoration_reads_lr_symbols_correctly
(stream.rs): --enable-restoration=1 --sb-size=64 aomenc stream over a
multi-superblock (192x128 = 3x2 SB) gradients fixture, cq-level=15 (r2's
sibling gates' usual cq=45 never landed uses_lr=true for this content --
sampled live). Self-pins WIENER_HITS/SGRPROJ_HITS/SWITCHABLE_HITS
thread-local counters in restoration.rs's read_lr_unit and hard-asserts
their sum > 0.
Building the gate found the real r2 gap: the stream.rs uses_lr refusal
ran BEFORE the tile-decode call, so decode_key_frame_tile_with_cdfs/
decode_inter_frame_tile_with_cdfs (and therefore read_lr) were NEVER
invoked through decode_stream -- 40/40 gate attempts hit the refusal with
zero read_lr_unit hits before this fix. Moved the check to run AFTER the
tile decode succeeds, so it now proves the superblock walk survives
read_lr (no desync) before refusing on the true remaining gap. Refusal
string text unchanged ("a frame with loop restoration enabled (the
per-unit lr symbols are read but the Wiener/self-guided filters are not
yet applied to pixels)"), only its position in decode_stream moved.
Verified: cargo test -p ec-av1 -- 236 passed / 0 failed, 17 ignored,
EC_AV1_REQUIRE_AOMENC=1. New gate alone: 39 LR refusals, 0 other
refusals out of 40 attempts, wiener_hits=19 sgrproj_hits=72
switchable_hits=0 (this fixture's RD never picked frame-level
Switchable, only fixed Wiener/Sgrproj -- both arms proven live).
Next (r3 step 2): apply_loop_restoration pass after apply_cdef, Wiener
first (stripe boundary save/restore trap per charter), then SGR, then
drop this refusal.feat(av1): palette-Y reconstruction (colour cache, delta colours, wavefront index map, prediction wiring)Ahmet Kaan Gümüş · c2f121e
feat(av1): palette-Y reconstruction (colour cache, delta colours, wavefront index map, prediction wiring) Types in report sections 3-6: Neighbours above/left_palette_size/colors + record_palette_y + palette_ctx_and_cache (av1_get_palette_mode_ctx + av1_get_palette_cache, SB-row-boundary above-null rule); read_palette_colors_y (cache-accept bits + delta-coded remainder + merge_colors), read_uniform, palette_color_index_context (weighted neighbour score + selection sort + hash lookup table), decode_color_index_map (wavefront diagonal scan). read_intra_mode gains a `palette: Option<(ctx, cache)>` param: Some at decode_block's key-frame path (real decode), None at decode_leaf8 (old refuse-unconditionally behaviour preserved bit-for-bit). Palette prediction reaches PlaneBuf::reconstruct through a PALETTE_PRED thread-local (the existing ENABLE_EDGE_FILTER idiom). A palette block under a split luma transform refuses by name (untested against a real stream this round). palette_uv_mode still refuses (UV reconstruction is stage 2) but its context is now the block's own real just-decided Y palette use. Refusal strings changed: - REMOVED: "a block that actually uses a palette (Y) -- reconstruction is out of scope" from decode_block's key-frame path (still present, unreachable-changed, at decode_leaf8's excluded call site). - ADDED: "a palette block with a split luma transform (round 1)". - UNCHANGED (still present): the UV palette refusal string, verbatim. cargo check -p ec-av1 --tests: clean. Full suite not run this round (turn budget) -- next round's first job.
Merge branch 'lane-realworld': cdef_idx decodes, gated on a real aomenc streamAhmet Kaan Gümüş · 51e931c
Merge branch 'lane-realworld': cdef_idx decodes, gated on a real aomenc stream Blocker 1 of the default-settings chain is closed. The per-64x64 cdef_idx symbol is read (spec 5.11.56) at all five sites where skip is decoded, kept in a per-superblock grid, and apply_cdef selects that superblock's strength pair instead of index 0. Gate a_real_aomenc_stream_with_cdef_decodes_pixel_exact: 40/40 pixel-exact, zero refusals, cdef_idx_hits hard-asserted > 0 (24-40/run). The lane also established why the obvious gate could never work: cdef_bits selects among per-SUPERBLOCK strength profiles, so a single-64x64-superblock fixture gives the encoder nothing to differentiate -- 20 attempts kept the counter at 0. It needed 128x64. Both guards on main fired exactly as designed and are updated here: gate_coverage's NEVER_EXERCISED loses enable-cdef (a gate enables it now), and refusal_inventory loses "a frame with cdef_bits > 0". The decode.rs conflict was the counter doc-comment restyle against the lane's new CDEF thread-locals; the lane's block is kept, restyled to match. Suite 237 passed / 0 failed.
feat(av1): directional/smooth/paeth chroma in inter-frame intra blocksAhmet Kaan Gümüş · c3a0a18
feat(av1): directional/smooth/paeth chroma in inter-frame intra blocks decode_inter_block's intra-in-inter branch refused any non-DC/CFL uv_mode and never computed angle_delta_uv (charter step 4 sibling to the r1/r3 keyframe fix). Mirror read_intra_mode's own already-proven pattern: uv_predict_mode (CFL predicts as DC), angle_delta_uv read for directional uv_mode, smooth_neighbor_uv from the chroma neighbour's own uv_mode, and SMOOTH_UV_HITS/DIRECTIONAL_UV_HITS counted same as the keyframe path. Full lib suite green (234/0/17 ignored) after the change -- no dedicated gate proves an inter-frame intra block with this uv_mode actually fires through a real aomenc stream yet (deferred, see report).
test(av1): pin the decode path's refusals, and the claims they makeAhmet Kaan Gümüş · 093155e
test(av1): pin the decode path's refusals, and the claims they make Two things this decoder keeps relearning. A refusal string is a claim: 'this encoder never writes one' asserts something about the world, and one such string was disproved by the very gate that carried it. And refusals accumulate silently -- each one is the right call for the lane that adds it (refuse by name rather than desync), but the total is the distance to decoding a default-settings stream, and nothing printed the total. refusal_inventory derives every unsupported(...) reason reachable on the decode path -- decode.rs and stream.rs, both call shapes -- and pins it: 39 distinct refusals, of which 7 are phrased as claims about what an encoder emits and are now declared in their own list rather than scattered. Adding, renaming or removing a refusal fails until the inventory is updated, so the diff of this file is the decoder's capability delta in English. A new claim-shaped refusal fails separately, with the reason it needs evidence. Negative-checked: dropping one entry fails both tests naming that exact string. Suite 236 passed / 0 failed.
feat(av1): palette colour-index CDF tables + 4-site wiringAhmet Kaan Gümüş · 28f95f6
feat(av1): palette colour-index CDF tables + 4-site wiring PALETTE_Y_COLOR_INDEX / PALETTE_UV_COLOR_INDEX (entropymode.c), indexed [n-2][color_ctx], transcribed from AOM_CDFn macros with zero-padding past each row's real n+1 entries (call site slices [..=n]). Wired into Cdfs: struct fields, per-frame counter reset (reset3, generic), defaults array. Inert until stage 3-4 reads them.
wip(av1): lane-tiles r2 per-tile decode in progress, committed at the 75-turn capAhmet Kaan Gümüş · 6416aca
wip(av1): lane-tiles r2 per-tile decode in progress, committed at the 75-turn cap Staged by the agent, committed verbatim by the orchestrator so it survives the cap; state unverified by me.
docs(av1): lane-lr r3 charter -- gate the symbols, then the filtersAhmet Kaan Gümüş · 5591c0eBrowse files
docs(av1): lane-realworld r3 charter -- part64 silent desync, then delta_q/delta_lfAhmet Kaan Gümüş · 5a8c7feBrowse files
docs(av1): lane-palette recon -- full stage-1 palette-Y implementation plan, no code landed (budget spent deriving the algorithm against libaom)Ahmet Kaan Gümüş · e76206dBrowse files
docs(av1): lane-realworld r2 report -- CDEF gate landed, delta_q/delta_lf handoffAhmet Kaan Gümüş · 14aa2edBrowse files
docs(av1): lane-lr r2 report -- what landed, why the gate is still missing, r3's next leverAhmet Kaan Gümüş · d1f514eBrowse files
feat(av1): CDEF gate -- real aomenc stream, cdef_idx_hits hard-assertedAhmet Kaan Gümüş · 24f08c2
feat(av1): CDEF gate -- real aomenc stream, cdef_idx_hits hard-asserted lane-realworld r2: verified bd61617's suite green (232/0), then wrote a_real_aomenc_stream_with_cdef_decodes_pixel_exact. Multi-SB frame required (single 64x64-SB fixtures the other gates use structurally can never produce cdef_bits>0 -- nothing to differentiate); 128x64 (2 SBs) at --cpu-used=4 --aq-mode=0 --deltaq-mode=0 avoids two pre-existing unrelated gaps this lane doesn't own: cpu-used=0 pushes aomenc's RD into SB-level partition types (HORZ_4/VERT_B) this decoder's intra part64 match doesn't cover, and cpu-used>=1's default aq-mode writes delta_q/delta_lf (this lane's own next step). cdef_idx_hits() hard-asserted > 0 (24-40 hits per run, matched 40/40 pixel-exact).
feat(av1): wire read_lr into both SB loops; narrow the whole-frame LR refusal to 'filters not applied'Ahmet Kaan Gümüş · dc215f7
feat(av1): wire read_lr into both SB loops; narrow the whole-frame LR refusal to 'filters not applied' decode_key_frame_tile_with_cdfs/decode_inter_frame_tile_with_cdfs now take &LoopRestorationParams and call crate::restoration::read_lr once per superblock, before decode_partition, storing per-unit Wiener/SGR filters into a per-plane RestorationGrid (never yet applied to pixels). Public one-star wrappers pass &LoopRestorationParams::default() unchanged. stream.rs threads header.loop_restoration through both call sites; the refusal string is renamed to name the true remaining gap (pixel filters not applied) now that the partition walk survives a real LR stream. 235 passed / 0 failed (232 baseline + 3 new subexp/recenter tests), EC_AV1_REQUIRE_AOMENC=1.
wip(av1): lane-chroma r3 smooth-intra gate green path + chroma work, committed at the 75-turn capAhmet Kaan Gümüş · f4a11cd
wip(av1): lane-chroma r3 smooth-intra gate green path + chroma work, committed at the 75-turn cap Committed verbatim by the orchestrator so the work survives the cap; state unverified by me.
docs(av1): lane-superres r3 charter -- pin the real 43->64 scale caseAhmet Kaan Gümüş · 5dae35dBrowse files
report(av1): superres stage-3 WIP status, handoff for the edge-pixel residueAhmet Kaan Gümüş · 018d991Browse files
wip(av1): superres stage-3 gate flags + chroma crop rounding fixAhmet Kaan Gümüş · e9f1fa8
wip(av1): superres stage-3 gate flags + chroma crop rounding fix Gate a_real_aomenc_superres_key_frame_sequence_decodes_pixel_exact: - add the restrictive aomenc flag set (charter's list) to get past the pre-existing "AV1 tile: partition type this encoder never writes" capability gap, plus --superres-kf-denominator=12 (the missing piece: --superres-denominator only controls non-key frames; with --kf-max-dist=0 every frame is a key frame and AOM_SUPERRES_FIXED reads superres_kf_scale_denominator for those, which defaults to 8/ no-scale -- header.use_superres was parsing false). - decode.rs: both decode_key_frame_tile_with_cdfs and decode_inter_frame_tile_with_cdfs cropped chroma to fw/2 (floor) when fw != the mi-aligned decode width; the real AV1 chroma-plane width formula is ROUND_POWER_OF_TWO(fw, ss_x) i.e. div_ceil for 4:2:0. Odd downscaled superres widths (43 here) exposed it as a length-mismatch panic in superres.rs; fixed both sites (general decoder bug, not superres-specific, swept repo-wide -- only these two call it). Gate still fails: 5/4096 luma pixels off by 1 near the right edge (columns 59-62 of 64) after the flag+crop fixes. Not bounds/kernel -- superres.rs's pinned upscale_row/upscale_plane already matched libaom bit-exact via the C harness for symmetric in8->out12/16 cases. Likely candidate: our edge-replication padding in upscale_row synthesizes the right border from the already-cropped fw-wide row, while libaom's av1_extend_plane may extend from real reconstructed pixels still present in the mi-aligned buffer beyond fw before any crop -- untested theory, not confirmed this round. Next: thread the pre-crop plane width/margin into upscale_picture instead of cropping to fw first.
feat(av1): msac-flavoured LR subexp/recenter port + Wiener/SGR read_lr_unit primitives (unwired)Ahmet Kaan Gümüş · 4c75e5c
feat(av1): msac-flavoured LR subexp/recenter port + Wiener/SGR read_lr_unit primitives (unwired) Ports decode_subexp/decode_unsigned_subexp_with_ref/decode_signed_subexp_with_ref to the msac SymbolDecoder (k is a per-tap parameter here, not global motion's fixed 3), plus read_wiener_filter/read_sgrproj_filter and the SGR params table, all from libaom decodeframe.c/restoration.c. Pinned via roundtrip against a hand-written encode-side mirror (SymbolEncoder has no LR writer of its own). Not yet called from decode.rs -- stream.rs's whole-frame refusal is unchanged.
docs(av1): lane-palette charter -- palette reconstruction then intrabcAhmet Kaan Gümüş · e23b762Browse files
docs(av1): lane-chroma r3 charter -- run the smooth-intra gate, then chromaAhmet Kaan Gümüş · d627fbcBrowse files
wip(av1): smooth-intra gate in progress, committed at the 75-turn capAhmet Kaan Gümüş · 7ba8085
wip(av1): smooth-intra gate in progress, committed at the 75-turn cap Committed verbatim by the orchestrator so the work survives the cap; the gate compiles but has never been run.
fix(av1): thread smooth_neighbor into intra edge filter strength (luma)Ahmet Kaan Gümüş · f3c639d
fix(av1): thread smooth_neighbor into intra edge filter strength (luma) reconstruct()/reconstruct_rect()/read_plane() hardcoded smooth_neighbor=false (spec get_intra_edge_filter_type / libaom get_filt_type), so a directional block's edge-filter strength bucket was wrong whenever its above/left neighbour used SMOOTH_PRED..=SMOOTH_H_PRED. Threaded a real per-block check (is_smooth_mode over Neighbours::above_mode/left_mode) through decode_block, decode_block_rect and decode_leaf8 (the key-frame intra call sites); the inter-frame intra-in-inter paths (decode_inter_block/decode_inter_block8) keep smooth_neighbor=false unchanged for now (out of this lane's scope, matches r1's own note that path is a separate gap). Chroma stays false (exact) until the smooth/paeth uv_mode refusal is lifted in a later round. New SMOOTH_LUMA_HITS thread-local counter for the gate. 232/232 ec-av1 --lib passing (baseline unchanged).
docs(av1): lane-tiles r2 charter -- decode the tiles, starting from r1's groundworkAhmet Kaan Gümüş · 34716e8Browse files
docs(av1): lane-superres r2 charter; commit the libaom upscaler pin harness out of the reapable scratchpadAhmet Kaan Gümüş · c28ee95
docs(av1): lane-superres r2 charter; commit the libaom upscaler pin harness out of the reapable scratchpad
docs(av1): lane-tiles report -- groundwork only, refusal still firesAhmet Kaan Gümüş · 2380904Browse files
wip(av1): tile-boundary availability groundwork for multi-tile decodeAhmet Kaan Gümüş · 4057dda
wip(av1): tile-boundary availability groundwork for multi-tile decode Neighbours carries its own tile origin (tile_row0_mi/tile_col0_mi, default 0) plus start_tile() (spec decode_tile's clear_above_context over the tile's own column span). Every availability check that used to compare against literal 0 (skip_txfm_ctx, tx_size_context, tx_size_context_rect, decode_inter_block/decode_inter_block8's has_above/has_left) now compares against the tile origin instead -- a no-op today (origin stays 0, single tile per frame), but the actual per-tile hook the full lane-tiles wiring needs. Refusal at stream.rs:292 (frame with >1 tile) is UNCHANGED -- this commit does not yet drive start_tile(), split the superblock walk per tile, give each tile its own entropy decoder/CDF copy, or clip PlaneBuf's intra-prediction pixel reach to the tile (edges/edges_rect still read x>0/y>0). Removing the refusal before those land would desync silently, which the charter forbids. cargo test -p ec-av1 --lib: 232 passed, 0 failed (baseline unchanged).
docs(av1): lane-lr r2 charter -- read_lr wiring then the filtersAhmet Kaan Gümüş · a3c51d9Browse files
wip(av1): lane-superres stage-3 gate in progress, committed at the 75-turn capAhmet Kaan Gümüş · 0e6258a
wip(av1): lane-superres stage-3 gate in progress, committed at the 75-turn cap Committed verbatim by the orchestrator so the work survives the cap; state unverified (suite not run on this tree by me).
test(av1): pin the coding tools no real-aomenc gate exercisesAhmet Kaan Gümüş · 21b2356
test(av1): pin the coding tools no real-aomenc gate exercises lane-chroma r1 found reconstruct()'s `smooth_neighbor` hardcoded false -- wrong whenever a directional block neighbours a smooth-mode one -- and it had survived twenty real-aomenc gates because every one of them passes --enable-smooth-intra=0. The corner-cut was not hidden by a weak assert; it was hidden by the gates' encoder recipes, which no assert had ever looked at. gate_coverage derives, from the gate source itself, the set of aomenc tools switched off in all 20 gates and on in none -- provably never exercised by a real stream -- and pins it: cdef, intrabc, paeth-intra, palette, smooth-intra. An unlisted tool joining that set fails the test, and so does an entry the gates have since started enabling, so a lane closing a hole must delete its line. Negative-checked: dropping the enable-cdef entry fails with exactly that name. Suite 234 passed / 0 failed.
feat(av1): superres upscaler, pinned against real libaom codeAhmet Kaan Gümüş · c262edf
feat(av1): superres upscaler, pinned against real libaom code crates/ec-av1/src/superres.rs: spec 7.16 horizontal-only linear-filter upscale (av1_upscale_normative_rows/upscale_normative_rect/ av1_convolve_horiz_rs_c in libaom resize.c/convolve.c), coefficient table + constants transcribed verbatim. Corrects the charter's anchor note: libaom's decodeframe.c calls superres_post_decode() BETWEEN av1_cdef_frame and av1_loop_restoration_filter_frame, not after LR -- superres runs before loop restoration, on the frame that will then be LR-filtered at the upscaled size. Not yet load-bearing here since this decoder still refuses any loop_restoration.uses_lr stream outright. Pinned against libaom's own compiled code, not a second transcription: a standalone C harness links ~/.cache/aom-oracle/build/libaom.a and calls the real exported av1_get_upscale_convolve_step/ av1_convolve_horiz_rs_c/av1_resize_filter_normative directly (only the one-line static get_upscale_convolve_x0 formula is copied in both places) -- guards the class shared-oracle-blindness. Two captured rows (8->12, 8->16) plus a flat-row unity-gain sanity check, 3/3 green. Not yet wired into decode_stream (stage 3 next); module currently unused, hence the dead_code warnings.
docs(av1): lane-realworld r2 charter -- verify bd61617, gate cdef_idx, then delta q/lfAhmet Kaan Gümüş · 09db227Browse files
docs(av1): lane-lr report -- CDF tables landed, read_lr wiring design worked out, not yet codedAhmet Kaan Gümüş · ed03937Browse files
docs(av1): lane-chroma r2 charter + r1's attempt diff, out of the reapable scratchpadAhmet Kaan Gümüş · 04170b5Browse files
wip(av1): loop restoration CDF tables (restore_wiener/sgrproj/switchable)Ahmet Kaan Gümüş · ed590d6
wip(av1): loop restoration CDF tables (restore_wiener/sgrproj/switchable)
libaom entropymode.c default_{wiener,sgrproj,switchable}_restore_cdf,
copied exactly. Wired into Cdfs struct, defaults, and counter reset
(reset1, unindexed like intrabc). Not read from the bitstream yet --
next step wires read_lr/read_lr_unit into the superblock walk.fix(av1): refuse use_superres by name -- was silent wrongnessAhmet Kaan Gümüş · 08cce92
fix(av1): refuse use_superres by name -- was silent wrongness Step 0 measurement: use_superres/superres_denom already parse fully in ec-av1-syntax (unit-tested), and superres adds/removes no per-block symbol (spec 7.16's upscaler is a pixel-domain post-process run after loop restoration), so decode_stream stayed bit-exact in sync on a real --superres-mode=1 stream -- but every decode path stores the Picture at frame_width (the downscaled coded width) and never runs the upscaler, so it would silently hand back a picture sized frame_width instead of upscaled_width. Refuse by name until the upscaler lands (lane-superres stage 2+). Gate: a_real_aomenc_stream_with_superres_refuses_by_name, real aomenc --superres-mode=1 --superres-denominator=12 stream, asserts the refusal names use_superres rather than desyncing into something else. Suite: 233 passed / 0 failed (232 baseline + 1).
report(av1): lane-chroma r1 -- smooth/paeth chroma refusal root-caused, not landedAhmet Kaan Gümüş · a869d13
report(av1): lane-chroma r1 -- smooth/paeth chroma refusal root-caused, not landed
Removing the two round-2 refusals (decode.rs uv_mode 9..=12) is a real two-line
change, but a real-aomenc gate (--enable-smooth-intra=1 --enable-paeth-intra=1,
never exercised by any other gate in the tree before) fails on LUMA pixels,
not chroma: the documented reconstruct() corner-cut ("smooth_neighbor left
false... a corner-cut for luma") is the root cause -- a directional block's
edge-filter strength picks the wrong bucket when its neighbour predicted
SMOOTH_H, off by 1-2 once smooth becomes RD-reachable. Fix needs threading
Neighbours::above_mode/left_mode through ~9 reconstruct() call sites plus new
chroma-side UV-mode neighbour tracking that does not exist yet -- both pieces,
not just the luma half, or chroma inherits the same silent bug. Reverted to
HEAD; attempt diff saved to scratchpad for the round that lands it. Directional-
chroma sibling refusal lives at a different, unrelated code path (inter-frame
intra-block reader) and was not attempted.wip(av1): lane-realworld cdef_idx + delta q/lf, uncommitted at the 75-turn capAhmet Kaan Gümüş · 7fc9065
wip(av1): lane-realworld cdef_idx + delta q/lf, uncommitted at the 75-turn cap Committed verbatim by the orchestrator so the work survives the cap; state unverified (suite not run on this tree by me).
style(av1): thread-local hit counters take line comments, not doc commentsAhmet Kaan Gümüş · 7895d2a
style(av1): thread-local hit counters take line comments, not doc comments The atomics->thread_local conversion (3cfbe37) left the 28 counter doc comments attached to a macro invocation, which rustdoc does not document: 28 unused_doc_comments warnings. Comments kept verbatim, /// -> //, and the five that still claimed 'across every call in the process' now say 'on the current thread' -- the counters stopped being process-global in that commit.