forge
Explore
Log in

Don't you dare go Hollow

The GOP round-trip tests decode the key frame under its own screen flag

Browse files at this commit

625e01eccd31dfb1692501023107752d3b3fd22aAhmet Kaan GümüşParent: 17922e6
  • fix
    • the GOP round-trip tests decode the key frame under its own screen flag
Show full message
fix(av1): the GOP round-trip tests decode the key frame under its own screen flag

Three decode::tests GOP tests handed `decode_key_frame_tile_lr` a hard-coded
`allow_screen_content_tools = false` while decoding an encoder-written tile
whose detector had fired (stale-header class, same shape as the
`reference_select` instance): frame 0's luma came back wrong.
crates/ec-av1/src/decode.rsmodified+6 -2
@@ -37476,7 +37476,9 @@ mod tests {
3747637476 &key.loop_filter,
3747737477 key.tx_select,
3747837478 true,
37479- false,
37479+ // This key frame's own `allow_screen_content_tools`: its intra
37480+ // blocks carry the palette syntax under it (stale-header class).
37481+ key.screen,
3748037482 false,
3748137483 &key.loop_restoration, fctx,
3748237484 )
@@ -37814,7 +37816,9 @@ mod tests {
3781437816 &key.loop_filter,
3781537817 key.tx_select,
3781637818 true,
37817- false,
37819+ // This key frame's own `allow_screen_content_tools`: its intra
37820+ // blocks carry the palette syntax under it (stale-header class).
37821+ key.screen,
3781837822 false,
3781937823 &key.loop_restoration, fctx,
3782037824 )