ec-av1: cite read_tx_mode's ONLY_4X4 return at decodeframe.c:141 (review P3)
Browse files at this commitdb6754467269123dee4ba4959b990cdab7214244Parent: 62c2fb51 changed file +2 -2
crates/ec-av1/src/decode.rsmodified+2 -2
| @@ -15155,7 +15155,7 @@ pub(crate) fn intra_sb128_hits() -> (usize, usize, [usize; 3]) { | |||
| 15155 | /// lane-lossless128: on a LOSSLESS frame every one of those sizes collapses to | 15155 | /// lane-lossless128: on a LOSSLESS frame every one of those sizes collapses to |
| 15156 | /// TX_4X4 -- `read_tx_mode` returns `ONLY_4X4` before the frame codes a tx-size | 15156 | /// TX_4X4 -- `read_tx_mode` returns `ONLY_4X4` before the frame codes a tx-size |
| 15157 | /// symbol and `read_tx_size` returns `TX_4X4` before it looks at anything | 15157 | /// symbol and `read_tx_size` returns `TX_4X4` before it looks at anything |
| 15158 | -/// (`decodeframe.c:140`, `:1183`) -- so the block is tiled into 4x4 luma units | 15158 | +/// (`decodeframe.c:141`, `:1183`) -- so the block is tiled into 4x4 luma units |
| 15159 | /// and (because a lossless frame forces `TX_4X4` on CHROMA too) 4x4 chroma | 15159 | /// and (because a lossless frame forces `TX_4X4` on CHROMA too) 4x4 chroma |
| 15160 | /// units, plane-major inside each 64x64 mu chunk exactly as | 15160 | /// units, plane-major inside each 64x64 mu chunk exactly as |
| 15161 | /// `decode_token_recon_block` codes them. Reading the 64-point geometry there | 15161 | /// `decode_token_recon_block` codes them. Reading the 64-point geometry there |
| @@ -15221,7 +15221,7 @@ fn decode_block_128rect( | |||
| 15221 | // not. `bsize_to_tx_size_cat(BLOCK_128X64)` is 3 (see this fn's doc). | 15221 | // not. `bsize_to_tx_size_cat(BLOCK_128X64)` is 3 (see this fn's doc). |
| 15222 | // lane-lossless128: a LOSSLESS frame codes no tx-size symbol at all -- | 15222 | // lane-lossless128: a LOSSLESS frame codes no tx-size symbol at all -- |
| 15223 | // libaom's `read_tx_mode` returns `ONLY_4X4` for a `coded_lossless` frame | 15223 | // libaom's `read_tx_mode` returns `ONLY_4X4` for a `coded_lossless` frame |
| 15224 | - // before the symbol is even considered (`decodeframe.c:140`) and | 15224 | + // before the symbol is even considered (`decodeframe.c:141`) and |
| 15225 | // `read_tx_size` returns `TX_4X4` before it looks at anything | 15225 | // `read_tx_size` returns `TX_4X4` before it looks at anything |
| 15226 | // (`decodeframe.c:1183`). So `tx_select` is off, every plane is walked as | 15226 | // (`decodeframe.c:1183`). So `tx_select` is off, every plane is walked as |
| 15227 | // TX_4X4 transform units, and no `tx_size_cat3` symbol may be consumed. | 15227 | // TX_4X4 transform units, and no `tx_size_cat3` symbol may be consumed. |