The pricer half of the class sweep
Browse files at this commitd96f9b4dc7a14349c4411ff358abdabc6a652838Parent: fd6f585- docs
- the pricer half of the class sweep
1 changed file +9 -1
- lanes/txw.report.md +9 -1
lanes/txw.report.mdmodified+9 -1
| @@ -39,7 +39,15 @@ writer site that codes coefficients: | |||
| 39 | 39 | ||
| 40 | * `tile::write_coeffs` -- the one coefficient writer (luma and chroma, all | 40 | * `tile::write_coeffs` -- the one coefficient writer (luma and chroma, all |
| 41 | four square sides, both the tile writer and the pricer through | 41 | four square sides, both the tile writer and the pricer through |
| 42 | - `coeff_bits_typed`): FIXED. | 42 | + `coeff_bits_typed`): FIXED. Every other pricer funnels through it, so the |
| 43 | + class reaches them with the fix: `coeff_bits_typed` (the search's price), | ||
| 44 | + `coeff_bits` and `predicted_coeff_bits`/`predicted_coeff_bits_sb` (the | ||
| 45 | + `#[cfg(test)]` pricers, `DCT_DCT` only by construction -- `TxClass::TwoD`) | ||
| 46 | + and `luma_32_coeff_bits` (32x32, which codes no `tx_type` symbol at all). | ||
| 47 | +* `tile::rdoq` -- prices every candidate through `coeff_bits_typed`, so its | ||
| 48 | + DECISIONS were already class-correct, but it spends its budget from the | ||
| 49 | + TAIL of the scan backwards and read the 2D zigzag's tail on a 1-D unit: | ||
| 50 | + now walks `class_scan_of` (commit "RDOQ walked the 2D zigzag's tail"). | ||
| 43 | * `tile::write_dc_coeffs` -- the fixed-CDF 32x32 luma DC path; 32x32 codes no | 51 | * `tile::write_dc_coeffs` -- the fixed-CDF 32x32 luma DC path; 32x32 codes no |
| 44 | `tx_type` symbol and is always `DCT_DCT`, so 2D is correct there. | 52 | `tx_type` symbol and is always `DCT_DCT`, so 2D is correct there. |
| 45 | * `tile::write_block_planes` chroma -- codes chroma as `DCT_DCT` while an | 53 | * `tile::write_block_planes` chroma -- codes chroma as `DCT_DCT` while an |