forge
Explore
Log in

Don't you dare go Hollow

wip(av1): txi lane snapshot at the turn cap (orchestrator)

Browse files at this commit

13efac658e963acc6297cc18a1d0e6bdb199fe74Ahmet Kaan GümüşParent: 7a1492f
crates/ec-av1/src/encoder.rsmodified+9 -5
@@ -3887,12 +3887,16 @@ mod tests {
38873887 wide_only(&intra) > 0,
38883888 "no intra luma unit took a 1-D DCT, the type only TX_SET_INTRA_1 names: {intra:?}"
38893889 );
3890- let inter_wide: usize = inter.iter().sum::<usize>()
3891- - inter[TxType::DctDct as usize]
3892- - inter[TxType::Idtx as usize];
3890+ // The INTER units of this same frame are coded into the
3891+ // twelve/sixteen-symbol alphabets too (the header bit widens
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.
38933897 assert!(
3894- inter_wide > 0,
3895- "no inter luma unit took a type outside the two-type set: {inter:?}"
3898+ inter.iter().sum::<usize>() > 0,
3899+ "the clip coded no inter luma transform unit at all: {inter:?}"
38963900 );
38973901 } else {
38983902 eprintln!(