forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 03dc6e9978cbbbba112bf5c6ad925845ede8c744Filtered to shims/rusty_h264/src/lib.rsClear filter

2026-08-14

shim(rusty_h264): a whole Annex B stream decodes in one callAhmet Kaan Gümüş · e63caff
shim(rusty_h264): a whole Annex B stream decodes in one call

`Decoder::decode_stream` is the one piece of the incumbent's surface the
shim had missed, and edith's `tests/hw_encode.rs` is what asks for it: it
holds a hardware encoder's whole output in a `Vec` and decodes it back in
software, with no demuxer to hand over one access unit at a time.

The NAL loop `decode` already ran is now `feed`, shared by both: pictures
close where a picture boundary says they do, and `decode_stream` collects
after a `flush`, so the last picture -- and anything a reordering delay
still holds -- comes back with the rest.
feat(shims): rusty_h264 0.9.1 surface over ec-h264Ahmet Kaan Gümüş · f26a1d2
feat(shims): rusty_h264 0.9.1 surface over ec-h264

Decoder::decode over whole access units and the EncoderConfig/Encoder/
YuvFrame/Preset surface edith's export path calls, without the incumbent's
process-wide allocator and without its lookahead buffering: try_encode
returns the access unit of the picture it was handed, every time.