Re-take the encoder's own stream pins at 8381 / 33016
Browse files at this commit4e28683581d1fdeb22c624627a7b1bdc2d61b460Parent: b6c0331- test
- re-take the encoder's own stream pins at 8381 / 33016
1 changed file +7 -6
crates/ec-av1/src/encode.rsmodified+7 -6
| @@ -16299,13 +16299,14 @@ mod tests { | |||
| 16299 | // pays the `comp_mode = 0` symbol the writer codes ahead of it, so | 16299 | // pays the `comp_mode = 0` symbol the writer codes ahead of it, so |
| 16300 | // single and compound are priced against the same syntax -- 8311 -> | 16300 | // single and compound are priced against the same syntax -- 8311 -> |
| 16301 | // 8325 bytes at q=150 and 33087 -> 33014 at q=60. Re-taken again in | 16301 | // 8325 bytes at q=150 and 33087 -> 33014 at q=60. Re-taken again in |
| 16302 | - // the same lane: a key frame's `tx_depth` symbol is priced off the | 16302 | + // Re-taken on lane-txd: the `tx_depth` symbol is priced at the |
| 16303 | - // row the writer codes it against (the transform sides its above/left | 16303 | + // writer's own row on BOTH frame types (a key frame off the deblock |
| 16304 | - // neighbours published) instead of row 0, so every intra block's | 16304 | + // grid, an inter frame's intra block off the TXFM_CONTEXT bands the |
| 16305 | - // depth-versus-split margin moved -- 8325 bytes at q=150 (the same | 16305 | + // encoder now publishes), so every intra block's depth-versus-split |
| 16306 | - // size, different depths) and 33014 at q=60, both hashes new. | 16306 | + // margin moved -- 8325 -> 8381 bytes at q=150 and 33014 -> 33016 at |
| 16307 | + // q=60. | ||
| 16307 | let pins: [(u8, usize, u64); 2] = | 16308 | let pins: [(u8, usize, u64); 2] = |
| 16308 | - [(150, 8325, 0x774a_4716_1cc1_b0ed), (60, 33014, 0xa19b_4fa6_cde1_1180)]; | 16309 | + [(150, 8381, 0x36ac_5783_4a20_499a), (60, 33016, 0xfcd0_be7a_3600_34ce)]; |
| 16309 | let coded: Vec<(u8, usize, u64)> = pins | 16310 | let coded: Vec<(u8, usize, u64)> = pins |
| 16310 | .iter() | 16311 | .iter() |
| 16311 | .map(|&(q, _, _)| { | 16312 | .map(|&(q, _, _)| { |