Commit Graph
15 Commits
Author SHA1 Message Date
Mark.lin f380a8a143 Simplify dual-channel capture and error handling
Compared with b5b045a:

- Model CH0 and CH1 as independent channel sessions sharing one device connection.

- Keep one outstanding frame per channel and tighten read/release ownership validation.

- Unify facade and PCIES2MM diagnostic details in a per-channel ChannelErrorState.

- Treat polling timeouts and stop wakeups as expected control flow instead of persistent faults.

- Report detailed errors only when an API operation actually fails.

- Remove obsolete preview timing/error diagnostics and the redundant debug error API.

- Refresh the public and internal API references, architecture diagrams, and learning guides.
2026-08-27 11:10:51 +08:00
Mark.lin 1574e90b49 Refactor GVFG channel and driver access flow
- support only the new vfg100_0821c driver; legacy drivers and IOCTL contracts are intentionally unsupported
- use one SDK handle per physical device with independent CH0/CH1 sessions and selectable event masks
- expose Device Manager friendly names and remove redundant enumerated device indices
- align active capture IOCTLs with the new driver while omitting unsupported OPEN_VIDEO/CLOSE_VIDEO calls
- isolate IOCTL codes, request layouts, and DeviceIoControl calls in the new giga_ioctl DLL
- block reads of pure write-only registers while preserving dual-semantics interrupt status reads
- reduce duplicate signal register queries during open/start
- add zero-copy/copy driver GetFrame timing in microseconds and show it in the preview status
- update public/internal documentation for the revised lifecycle and channel APIs

Validation: static searches and git diff --check only; build intentionally not run.
2026-08-21 17:52:04 +08:00
Mark.lin 17fb9bfabd feat: align GVFG output with YUY2
- expose YUY2 across the public API, preview helper, backend, and GPU conversion paths while translating the legacy FPGA format value internally
- correct YUY2 chroma byte interpretation and update customer/internal documentation
- centralize the Standalone SDK version and expose it through gvfg_get_version
- show the SDK version in the sample and enable preview-window controls only after the first valid frame
- close and disable external preview windows when capture stops
2026-08-13 16:14:16 +08:00
Mark.lin 3309f822ec Integrate GPU conversion and update capture pipeline 2026-08-06 10:03:32 +08:00
Mark.lin 300cbdfd9b Update Y210 preview and debug tooling 2026-08-04 18:12:05 +08:00
Mark.lin 5662d74df9 feat: separate customer and internal diagnostics 2026-07-27 14:49:57 +08:00
Mark.lin 2b2eeb7302 refactor: simplify PCIES2MM capture backend 2026-07-23 08:54:43 +08:00
Mark.lin 9639a797aa Rename backend to PCIES2MM and handle events 2026-07-13 16:56:03 +08:00
Mark.lin 92b5fb1464 Add backend diagnostics for capture stalls
- add rotating XDMA backend and Qt preview logs
- expose IRQ, DMA, ring, and delivery debug state
- record IRQ wait heartbeats and register state
- make XDMA tracing configurable through CMake
- prevent preview status queries from blocking rendering
- recover from D3D swapchain and Present failures
- add debug API struct size validation
- avoid stale MainWindow object-size stack corruption
2026-06-18 10:24:34 +08:00
Mark.lin d2657a69cb Split GVFG customer API and preview helper
Refactor GVFG into a pull-based customer API with internal debug diagnostics in gvfg_debug.h. Move preview rendering into the separate gvfg_preview helper DLL and update the Qt sample to link it explicitly. Clean legacy callback/preview docs and removed SDK-internal render/log helper sources from the core GVFG DLL.
2026-06-15 17:06:12 +08:00
Mark.lin 97971e6242 Refactor SDK to pure pull-based capture API
- Remove customer-facing SDK preview APIs and preview structs
- Strip D3D preview/render pipeline from gvfg.dll
- Keep gvfg.dll focused on capture, frame ownership, runtime status, and events
- Move Qt preview rendering into sample-owned private renderer
- Update Qt preview sample to render frames after gvfg_read_frame()
- Refresh customer API docs around read_frame/release_frame/poll_event flow
- Update architecture notes to mark preview as app/internal-tool code
2026-06-15 14:03:21 +08:00
Mark.lin 7918b79480 Simplify XDMA types and add fullscreen preview 2026-06-09 17:41:06 +08:00
Mark.lin 71d4cf6a9b Remove unused GVFG internal code 2026-06-09 11:34:01 +08:00
Mark.lin f5c91f7eda Remove gcapture dependency from GVFG standalone 2026-06-09 10:25:48 +08:00
Mark.lin 53378c6495 Initial standalone GVFG SDK 2026-06-09 10:02:10 +08:00