wip(av1): warp r5b UNVERIFIED trial -- HORZ_B bottom-leaf coords to mi convention (r32*2+1)
Browse files at this commite7c9731f0831e1e6af5677ae060cf6848d76c1bfParent: a0632bb1 changed file +5 -5
crates/ec-av1/src/decode.rsmodified+5 -5
| @@ -7621,7 +7621,7 @@ pub(crate) fn decode_inter_frame_tile_with_cdfs( | ||
| 7621 | 7621 | // mi-granular `left_side_mi` rows of a last-block-in- |
| 7622 | 7622 | // tile strip leak 32-vs-16 only until the per-tile |
| 7623 | 7623 | // `Neighbours::new` reset. |
| 7624 | - let at32 = (r32 as usize, c32 as usize); | |
| 7624 | + let at32 = at; | |
| 7625 | 7625 | decode_inter_block( |
| 7626 | 7626 | &mut dec, |
| 7627 | 7627 | &mut cdfs, |
| @@ -7666,13 +7666,13 @@ pub(crate) fn decode_inter_frame_tile_with_cdfs( | ||
| 7666 | 7666 | allow_warped_motion, |
| 7667 | 7667 | true, |
| 7668 | 7668 | )?; |
| 7669 | - if (r32 + 1) as u32 * SUB_MI < mi_rows { | |
| 7669 | + if (r32 * 2 + 1) as u32 * SUB_MI < mi_rows { | |
| 7670 | 7670 | decode_inter_block( |
| 7671 | 7671 | &mut dec, |
| 7672 | 7672 | &mut cdfs, |
| 7673 | 7673 | &mut neighbours, |
| 7674 | 7674 | &mut grid, |
| 7675 | - (r32 as usize + 1, c32 as usize), | |
| 7675 | + (r32 as usize * 2 + 1, c32 as usize * 2), | |
| 7676 | 7676 | SUB, |
| 7677 | 7677 | mi_cols, |
| 7678 | 7678 | mi_rows, |
| @@ -7715,13 +7715,13 @@ pub(crate) fn decode_inter_frame_tile_with_cdfs( | ||
| 7715 | 7715 | allow_warped_motion, |
| 7716 | 7716 | false, |
| 7717 | 7717 | )?; |
| 7718 | - if (c32 + 1) as u32 * SUB_MI < mi_cols { | |
| 7718 | + if (c32 * 2 + 1) as u32 * SUB_MI < mi_cols { | |
| 7719 | 7719 | decode_inter_block( |
| 7720 | 7720 | &mut dec, |
| 7721 | 7721 | &mut cdfs, |
| 7722 | 7722 | &mut neighbours, |
| 7723 | 7723 | &mut grid, |
| 7724 | - (r32 as usize + 1, c32 as usize + 1), | |
| 7724 | + (r32 as usize * 2 + 1, c32 as usize * 2 + 1), | |
| 7725 | 7725 | SUB, |
| 7726 | 7726 | mi_cols, |
| 7727 | 7727 | mi_rows, |