A var-tx inter block published its parent's side into the partition-context bands
Browse files at this commitaabeeaf8825577a1ee548bd484a92039e8db4e03Parent: 1ca3c6e- fix
- a var-tx inter block published its parent's side into the partition-context bands
1 changed file +7 -3
crates/ec-av1/src/decode.rsmodified+7 -3
| @@ -20850,9 +20850,13 @@ fn decode_inter_block( | |||
| 20850 | if vartx_leaves.is_some() { | 20850 | if vartx_leaves.is_some() { |
| 20851 | // Plane 0 is already correct per transform unit | 20851 | // Plane 0 is already correct per transform unit |
| 20852 | // ([`Neighbours::record_mi_luma`] above); this writes everything else | 20852 | // ([`Neighbours::record_mi_luma`] above); this writes everything else |
| 20853 | - // [`Neighbours::record_rect`] would (a var-tx block is always square, | 20853 | + // [`Neighbours::record_rect`] would. |
| 20854 | - // so `write_w == write_h == side`). | 20854 | + // lane-mergefix r3 (class `tx-grid-published-block-side`): a var-tx |
| 20855 | - neighbours.record_split_luma_rect_mi(at, side, side, mode_for_tx, uv_predict_mode, [&u_grid, &v_grid]); | 20855 | + // block is NOT always square -- a superblock-level PARTITION_VERT |
| 20856 | + // inter strip is 32x64 with `side == 64`, and publishing `side, side` | ||
| 20857 | + // stamped the PARENT's 64 into `above_side_mi`/`left_side_mi`, so the | ||
| 20858 | + // next superblock's partition ctx read 0 where libaom read 1. | ||
| 20859 | + neighbours.record_split_luma_rect_mi(at, write_w, write_h, mode_for_tx, uv_predict_mode, [&u_grid, &v_grid]); | ||
| 20856 | } else { | 20860 | } else { |
| 20857 | neighbours.record_rect_mi( | 20861 | neighbours.record_rect_mi( |
| 20858 | at, | 20862 | at, |