Commits
Commits on
00c1b3ff2d80d84fef71bb6208110dedbbd95fc4Filtered to crates/ec-h264-syntax/src/nal.rsClear filter2026-08-14
feat(h264-syntax): write emulation prevention into an RBSPAhmet Kaan Gümüş · 46b6e85
feat(h264-syntax): write emulation prevention into an RBSP escape_rbsp is the inverse of unescape_rbsp, and the encoder needs it to frame every NAL unit it emits. Same shape as the h265 syntax crate's.
feat(h264-syntax): NAL, SPS/PPS incl VUI+HRD, slice headersAhmet Kaan Gümüş · f07dac7
feat(h264-syntax): NAL, SPS/PPS incl VUI+HRD, slice headers Clean-room from Rec. ITU-T H.264 (V15, 08/2024) alone. Annex B scan and emulation-prevention removal reuse a caller buffer (no per-NAL alloc); SPS/PPS carry decode-ready derived geometry (MB counts, crop, bit depth) so a decoder feeds flat per-picture arrays without re-deriving anything. Slice headers parse all five slice types including P/B reference-list modification, prediction weights and dec_ref_pic_marking, ready for the inter slices that arrive with S18c. Scaling lists resolve fall-back rules A/B at parse time.