From 14cc73101b37a7c2305ff3763a29eaf28bd72eaa Mon Sep 17 00:00:00 2001 From: SusieeTheFemboy <96988330+SusieeTheLinuxUser@users.noreply.github.com> Date: Sun, 1 Nov 2026 16:46:05 +0100 Subject: [PATCH] H.264: cite temporal direct as 8.4.1.2.3 Co-Authored-By: Claude Opus 5.5 --- crates/h264/src/slicedec.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/h264/src/slicedec.rs b/crates/h264/src/slicedec.rs index 2ada5159..557a94d4 100644 --- a/crates/h264/src/slicedec.rs +++ b/crates/h264/src/slicedec.rs @@ -566,7 +566,7 @@ impl<'a> SliceDecoder<'a> { (refs, mvs, false) } - /// Temporal direct mvs (8.4.1.2.4) from the co-located mv and `DistScaleFactor` (clamped + /// Temporal direct mvs (8.4.1.2.3) from the co-located mv and `DistScaleFactor` (clamped /// to ±1024 in `SliceDecoder`): mvL0 = clip_mv((mvCol · dsf + 128) >> 8), mvL1 = /// clip_mv(mvL0 − mvCol), both clipped to the spec's motion-vector range −2^15..2^15−1. /// The i32 maths cannot overflow; a truncating `as i16` used to wrap mvL0 past the range,