forge
Explore
Log in

Don't you dare go Hollow

diag(av1): sbpart r10's EC_SBPART_DUMP64 trace; scratch probe stripped

Browse files at this commit

b615bdc0cbabe1664d7195656f824e039ecec35aAhmet Kaan GümüşParent: 2a9daf1
r10 hit its cap without committing. Keeping the env-gated dump in
decode_block_rect64 (reusable); removed its throwaway transform test, which was
hand-verification scaffolding and had served its purpose. Its scratch fixtures
moved to fixtures/sbpart/ (gitignored) so the repro survives.

Its finding is in the r11 charter: the defect is NOT in decode_block_rect64.
crates/ec-av1/src/decode.rsmodified+14 -0
@@ -3515,6 +3515,20 @@ fn decode_block_rect64(
35153515 filter_intra,
35163516 smooth_neighbor,
35173517 );
3518+ if std::env::var_os("EC_SBPART_DUMP64").is_some() {
3519+ let leftcol: Vec<u16> = if px > 0 {
3520+ (py..py + bh).map(|row| y.data[row * y.width + px - 1]).collect()
3521+ } else {
3522+ vec![]
3523+ };
3524+ eprintln!(
3525+ "DUMP64 mi_r={mi_r} mi_c={mi_c} px={px} py={py} bw={bw} bh={bh} mode={mode} \
3526+ skip={skip} eob_nonzero={} row0={:?} leftcol={:?}",
3527+ luma_corner.iter().any(|&v| v != 0),
3528+ &y.data[py * y.width + px..][..bw],
3529+ leftcol,
3530+ );
3531+ }
35183532 // CHROMA: a real, untruncated chroma_w x chroma_h transform -- no
35193533 // corner crop needed (see doc comment).
35203534 let ac = alpha.map(|_| cfl_ac_q3_rect(y, px, py, bw, bh));