forge
Explore
Log in

Don't you dare go Hollow

ec-av1: point two tile.rs docs at the renamed tx_size_context_txfm; correct the txbands report census clear count (review P3)

Browse files at this commit

d3010fbc072b2339183ef0d1f332052d1dbe56d0Ahmet Kaan GümüşParent: a4de849
crates/ec-av1/src/tile.rsmodified+2 -2
@@ -2874,7 +2874,7 @@ struct Neighbours {
2874 left_skip: Vec<bool>,2874 left_skip: Vec<bool>,
2875 /// The side, in pixels, of the transform last written in this 4x42875 /// The side, in pixels, of the transform last written in this 4x4
2876 /// mode-info column -- the deblock `tx_grid` a key frame's2876 /// mode-info column -- the deblock `tx_grid` a key frame's
2877- /// `get_tx_size_context` reads (decode.rs `tx_size_context`/`tx_px_at`),2877+ /// `get_tx_size_context` reads (decode.rs `tx_size_context_txfm`/`tx_px_at`),
2878 /// which is what picks the CDF row of a `TxMode::Select` block's2878 /// which is what picks the CDF row of a `TxMode::Select` block's
2879 /// `tx_depth` symbol.2879 /// `tx_depth` symbol.
2880 above_tx: Vec<u8>,2880 above_tx: Vec<u8>,
@@ -3274,7 +3274,7 @@ impl Neighbours {
3274 usize::from(has_above && above) + usize::from(has_left && left)3274 usize::from(has_above && above) + usize::from(has_left && left)
3275 }3275 }
3276 3276
3277- /// `get_tx_size_context` (decode.rs [`crate::decode::tx_size_context`]):3277+ /// `get_tx_size_context` (decode.rs [`crate::decode::tx_size_context_txfm`]):
3278 /// whether the transform above is at least as wide as this block's own3278 /// whether the transform above is at least as wide as this block's own
3279 /// largest transform, plus whether the one to the left is at least as3279 /// largest transform, plus whether the one to the left is at least as
3280 /// tall. A neighbour outside the tile contributes nothing.3280 /// tall. A neighbour outside the tile contributes nothing.
lanes/av1txbands.report.mdmodified+1 -1
@@ -154,7 +154,7 @@ would have disarmed the slot — which then stayed armed into the **next** block
154 chroma read, changing that block's scan and inverse transform.154 chroma read, changing that block's scan and inverse transform.
155 155
156 Three routes carry the arm-then-skip shape, and the census (every `intrabc_chroma_tx` write on the156 Three routes carry the arm-then-skip shape, and the census (every `intrabc_chroma_tx` write on the
157-production path: four arms, four clears, one reader) is:157+production path: four arms, six clears, one reader) is:
158 158
159 | route | arms? | clears? |159 | route | arms? | clears? |
160 |---|---|---|160 |---|---|---|