Commits
Commits on
5c8eff8ca5a0d547bfb22a690b3f7afb373da607Filtered to crates/ec-h265-syntax/src/md5.rsClear filter2026-08-14
feat(h265): full-depth quadtree search, VA-API check, parse-side fuzzAhmet Kaan Gümüş · b19a281
feat(h265): full-depth quadtree search, VA-API check, parse-side fuzz The search goes down to 8x8 by default because on real pictures that is both better and no slower: measured on a 1080p camera frame at QP 22, -27% bits and +1.5 dB against stopping at 16x16, at the same wall time. The 16x16 floor stays available as a setting. Two defects the earlier tests could not see, both found by pointing the encoder at real footage: - stopping the search early skipped split_cu_flag entirely, while the sequence still allowed a split. Every picture decoded to noise. The flag is written now whatever the search decides. - a fuzzed SPS could name a 45-bit POC field and take ec-core's bit reader past its documented contract. Picture size, POC width and long-term set count are validated where they are parsed. Also: VA-API decode of the encoder's own output is a test (radeonsi, real GPU), progress counters are one per cache line - twelve workers polling eight counters per line spend their time invalidating each other - and waits back off to a sleep instead of spinning on a core someone needs.
feat(h265-syntax): NAL framing, parameter sets, slice headers and SEIAhmet Kaan Gümüş · 0d07f18
feat(h265-syntax): NAL framing, parameter sets, slice headers and SEI Writers and parsers for the same structures, so a round trip is a test rather than an article of faith. Sized by what a stateless hardware decoder asks for: every field of VAPictureParameterBufferHEVC and VASliceParameterBufferHEVC is a field here or a named method on one. The conformance window is first class - 1920x1080 codes as 1920x1088 and crops - and the slice header hands back where the data starts, escape bytes counted, which is what slice_data_byte_offset means.