Commit Graph
7 Commits
Author SHA1 Message Date
iverson3yaandClaude Opus 5.5 8e1bc903ec Export gvfg_playback_enable_audio_reconnect from the playback DLL export list
The function is declared in gvfg_playback.h and documented as a public API, but
gvfg_playback.def did not list it. Add it to the export list so the import library
generated from the .def (including the MinGW import library) contains the symbol.

Validation: none run for this commit (no build).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 16:04:08 +08:00
iverson3yaandClaude Opus 5.5 784aa5c579 Update SDK 3.2 documentation and add English and Traditional Chinese versions
- Check the README, customer guides, API reference, and internal notes against the
  SDK 3.2.0 headers, export lists, and CMake rules. Fix stale versions, the OSD move to
  gvfg_osd.dll, the OSD example header, and missing APIs (HDMI audio info, the HDMI and
  chip structs, gvfg_render_osd_frame_bgra, gvfg_playback_enable_audio_reconnect).
- Document present_image returning EOUTPUT when nothing was presented, opt-in audio
  reconnect for EAUDIO, and whole-macropixel YUY2 row sizes.
- Make English the primary *.md for the README and customer documents, keep Traditional
  Chinese as *.zh-TW.md, and install both language versions.
- Update the GigabyteLib README version and checksum to 1.0.5 and redraw the
  architecture diagram for the Capture, OSD, and Playback DLLs.

Validation: git diff --cached --check passed. All relative links and anchors in the
changed Markdown files resolve, and the drawio XML parses with valid edges and
non-overlapping boxes. No build, cmake --install, or PDF regeneration was run, and the
diagram was not opened in draw.io.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 16:03:38 +08:00
iverson3yaandClaude Opus 5.5 02c7004e8c Confirm single-image presents and require whole YUY2 macropixels in preview rows
- gvfg_playback_present_image compares the preview's presented count before and after rendering, and returns GVFG_PLAYBACK_EOUTPUT when the image was not actually presented.
- Compute the minimum YUY2 row size from whole 4-byte macropixels, so an odd-width row that is 2 bytes short is rejected instead of read past its end.

Validation: git diff --cached --check passed. The MSVC Release SDK build with these changes and 1d89392 passed. On a GIGABYTE SDI VFG100 with a 1080p60 SDI signal, the Viewer capture journey (live preview, snapshot, stop, restart, recording) passed with that SDK. gvfg_playback_present_image and odd-width YUY2 frames were not exercised.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 16:50:43 +08:00
iverson3yaandClaude Opus 5.5 208fb6c811 Add a frame-hold verification skill and TLA+ model shared by Claude Code and Codex
- Add GVFG_SDK/sdk/gvfg/formal: a TLA+ model of one channel's frame-hold protocol (read, release, stop, start and signal-change recovery) and six TLC configs: the shipped code with the reader joined before stop/start and with it running across them, and four mutations that must fail.
- Add .agents/skills/verify-gvfg-frame-hold: check.ps1 runs every config against its expected result, prints counterexamples with -Trace, and reports when the covered code moves past the sync commit; f1-hardware-repro.ps1 stages a stop and start during a read on a real card.
- Add a Claude Code entry in .claude/skills that points to the shared copy, and notes on which steps must run outside the Codex Windows sandbox.

Validation: git diff --cached --check passed. check.ps1 met all six expectations and reported the model in step with 1d89392. f1-hardware-repro.ps1 reproduced the stuck channel against b47f27b and passed against 1d89392 on a GIGABYTE SDI VFG100. TLC needs Java 17+ and tla2tools 1.7.4; check.ps1 -Install fetches the jar into the git-ignored formal/tools. Not yet run from Codex.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 16:46:15 +08:00
iverson3yaandClaude Opus 5.5 1d89392cef Reject frames read across a stop and restart of a GVFG channel
- Record the channel's run generation when a read begins and refuse delivery if stop and start ran during the read. The frame belonged to the stopped stream and its backend hold had been reset, so the caller's release failed with GVFG_ESTATE and every later read stayed rejected until the next stop.
- Return GVFG_ESTATE with a specific last-error message in that case, and document it in the customer API reference.

Validation: git diff --cached --check passed. The MSVC Release SDK build passed. On a GIGABYTE SDI VFG100 with a 1080p60 SDI signal, a hardware reproduction that parks a read between capture and delivery left the channel stuck with the previous 3.2.0 code and with 3.1.0, and passed with this change. The Viewer capture journey (start, snapshot, stop, restart) passed on this SDK. A TLA+ model of the frame-hold protocol, kept outside this commit, passes with the reader running across stop and start. SDK version not bumped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 16:24:35 +08:00
iverson3ya b47f27bd39 Record PCI location paths during GVFG device enumeration
- Read Windows PCI location paths for capture devices.
- Remove per-query HDMI video debug output and simplify frame descriptor transfer.
- Document repository workflow and validation in AGENTS.md.

Validation: git diff --cached --check passed. Build and runtime tests were not run for this commit.
2026-11-30 14:43:52 +08:00
iverson3ya a47ab190bc Add HDMI audio input queries and split OSD into a helper in GVFG SDK 3.2
- Expose HDMI audio input information through the capture API and refresh the bundled Gigabyte library.
- Move OSD rendering into gvfg_osd.dll, connect channel OSD through the capture frame processor, and remove the experimental in-place zero-copy OSD path.
- Update playback integration, the customer API documentation, and the internal build guide.

Validation: git diff --cached --check passed. The MSVC Release SDK build passed. Capture hardware and runtime behavior were not tested.
2026-11-25 09:35:49 +08:00