wip(av1): txi lane snapshot at the turn cap (orchestrator)
Browse files at this commit13efac658e963acc6297cc18a1d0e6bdb199fe74Parent: 7a1492f1 changed file +9 -5
crates/ec-av1/src/encoder.rsmodified+9 -5
| @@ -3887,12 +3887,16 @@ mod tests { | |||
| 3887 | wide_only(&intra) > 0, | 3887 | wide_only(&intra) > 0, |
| 3888 | "no intra luma unit took a 1-D DCT, the type only TX_SET_INTRA_1 names: {intra:?}" | 3888 | "no intra luma unit took a 1-D DCT, the type only TX_SET_INTRA_1 names: {intra:?}" |
| 3889 | ); | 3889 | ); |
| 3890 | - let inter_wide: usize = inter.iter().sum::<usize>() | 3890 | + // The INTER units of this same frame are coded into the |
| 3891 | - - inter[TxType::DctDct as usize] | 3891 | + // twelve/sixteen-symbol alphabets too (the header bit widens |
| 3892 | - - inter[TxType::Idtx as usize]; | 3892 | + // every luma set at once), but their SEARCH still offers the |
| 3893 | + // two-type list -- see `encode::inter_luma_set`'s note on the | ||
| 3894 | + // reference-slot refusal the wider inter candidates trip. So the | ||
| 3895 | + // statement here is that those units still decode sample-exact | ||
| 3896 | + // out of the wider alphabet, which the two decoders below make. | ||
| 3893 | assert!( | 3897 | assert!( |
| 3894 | - inter_wide > 0, | 3898 | + inter.iter().sum::<usize>() > 0, |
| 3895 | - "no inter luma unit took a type outside the two-type set: {inter:?}" | 3899 | + "the clip coded no inter luma transform unit at all: {inter:?}" |
| 3896 | ); | 3900 | ); |
| 3897 | } else { | 3901 | } else { |
| 3898 | eprintln!( | 3902 | eprintln!( |