Commit Graph

1 Commits

Author SHA1 Message Date
marfrit 678c072d75 iter8 Phase 4b: α-1 plan — per-profile SPS constraint_set_flags
Single-byte fix candidate. Add h264_constraint_set_flags(VAProfile)
helper to h264.c, mirror pattern of h264_profile_to_idc + level_idc
derivation. VAAPI doesn't forward this field; libva backend must derive
per profile.

Mapping per H.264 typical-stream conventions:
  Main → 0x02 (constraint_set1_flag, matches BBB + kdirect)
  ConstrainedBaseline → 0x42
  High / MultiviewHigh / StereoHigh → 0x00

LOC ~15 in h264.c only. Per-VAProfile-gated; no risk to VP9/VP8/HEVC/
MPEG-2. Phase 5b architect review required before Phase 6b implementation.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-13 12:25:23 +00:00