Fix: restore all deltacast-bridge fixes (buffer packing YUV422_8, SDI interface, F_SETPIPE_SZ, deinterlacing bypass)

This commit is contained in:
Zac Gaetano 2026-06-02 16:43:45 -04:00
parent 0aa010dacc
commit 87fd3164c6

View file

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