// Restored critical fixes that were lost during git checkout origin/main: // 1. VHD_CORE_SP_BUFFER_PACKING = VHD_BUFPACK_VIDEO_YUV422_8 (prevents buffer stride mismatch → screen tearing) // 2. VHD_SDI_SP_INTERFACE read+write (ensures 3G Level-A for 60p, not 1.5G HD-SDI) // 3. F_SETPIPE_SZ on video (8MB) and audio (1MB) FIFOs (reduces context switches) // 4. Verbose logging for BufferPacking result and SDI Interface value // 5. Per-port telemetry: locked frames count + slots count + slots dropped