Re-pin the encoder's own streams for the 64x64 root
Browse files at this commitbe3d4bca421c486f4cd99e71050496b3f9989850Parent: 5bcc6a5- test
- re-pin the encoder's own streams for the 64x64 root
1 changed file +7 -1
crates/ec-av1/src/encode.rsmodified+7 -1
| @@ -13348,8 +13348,14 @@ mod tests { | |||
| 13348 | // the blocks that take one code a filter-intra mode, a different | 13348 | // the blocks that take one code a filter-intra mode, a different |
| 13349 | // prediction and different coefficients -- 7321 -> 7373 at q=150 and | 13349 | // prediction and different coefficients -- 7321 -> 7373 at q=150 and |
| 13350 | // 27285 -> 27074 at q=60. `EC_AV1_FILTER_INTRA=0` restores these. | 13350 | // 27285 -> 27074 at q=60. `EC_AV1_FILTER_INTRA=0` restores these. |
| 13351 | + // Re-taken on lane-b64: the inter search offers the whole superblock | ||
| 13352 | + // as one 64x64 `PARTITION_NONE` block coded skip ([`B64_ROOT`]), and | ||
| 13353 | + // every superblock that takes one codes a single partition symbol, | ||
| 13354 | + // one mode/mv chain and no residual where four quadrants used to -- | ||
| 13355 | + // 8076 -> 7291 at q=150 and 27585 -> 27466 at q=60. `EC_AV1_B64=0` | ||
| 13356 | + // restores these. | ||
| 13351 | let pins: [(u8, usize, u64); 2] = | 13357 | let pins: [(u8, usize, u64); 2] = |
| 13352 | - [(150, 8076, 0x8171_4818_e223_ab21), (60, 27585, 0xdbe7_eecd_6d64_c4f5)]; | 13358 | + [(150, 7291, 0xa411_97e8_8a80_2a1b), (60, 27466, 0xdc87_26a3_c625_46ce)]; |
| 13353 | for (q, bytes, hash) in pins { | 13359 | for (q, bytes, hash) in pins { |
| 13354 | let encoded = encode_sequence(&source, q, 0.5).unwrap(); | 13360 | let encoded = encode_sequence(&source, q, 0.5).unwrap(); |
| 13355 | assert_eq!( | 13361 | assert_eq!( |