Commit Graph
73 Commits
Author SHA1 Message Date
Mark.lin 5a143a4743 Mark standard v210 demo test state 2026-07-16 16:27:34 +08:00
Mark.lin 7844b8a9cd Track CaptureDemo source and driver 2026-07-16 11:32:23 +08:00
Mark.lin 1719053b3d Add standard v210 preview support 2026-07-16 11:05:37 +08:00
Mark.lin 9639a797aa Rename backend to PCIES2MM and handle events 2026-07-13 16:56:03 +08:00
Mark.lin 3e02a374e0 Switch capture backend to PcieS2mm demo driver 2026-07-08 09:43:18 +08:00
Mark.lin 7234619dcb Expose preview adapter info from GVFG helper
- Add adapter_name and adapter_index to gvfg_preview_info_t
- Capture the actual D3D11 adapter used by gvfg_preview.dll
- Report adapter name and DXGI index through gvfg_preview_get_info()
2026-07-07 17:29:03 +08:00
Mark.lin f21c0b651f refactor(qt-preview): clarify debug status output
- Reformat debug status into readable Input/App/Capture/Flow/Buffer sections
- Collapse duplicated frame counters into flow and buffer summaries
- Replace low-level names like held_slot and wait_timeout with clearer labels
- Include backend last-error details when available
- Prefix each line of multiline log snapshots consistently
2026-07-02 09:59:20 +08:00
Mark.lin 1161d97de6 Add optional callback capture mode
- Add frame and event callback types to the public capture API
- Add callback mode setup/start/stop APIs alongside the existing pull API
- Enforce mutual exclusion between pull mode and callback mode per handle
- Run callback frame delivery on an SDK-owned worker thread
- Auto-release callback frames after the frame callback returns
- Dispatch callback events through a separate SDK-owned event worker
- Document callback mode threading, lifetime, and mode exclusivity
2026-06-26 15:40:15 +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 42502ef701 Validate released frames and simplify CMake 2026-06-17 17:09:29 +08:00
Mark.lin fd0272b623 Add frame layout API and split conversion helper
- Add gvfg_get_frame_layout() and gvfg_frame_layout_t for per-plane
  frame metadata without extending gvfg_frame_t
- Update gvfg_preview to consume gvfg_get_frame_layout() before
  falling back to width-derived stride
- Add optional gvfg_convert helper DLL for explicit snapshot/export
  conversion outside the core capture API
- Support YUY2/Y210 conversion to BGRA8, RGB48, and RGBA64 helper
  frames
- Add SAL annotations to public capture, preview, convert, and debug
  headers
- Update Traditional Chinese API/package documentation for core,
  preview, and convert helper split
2026-06-16 16:59:39 +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 c21f6981ea docs: add GVFG project architecture map 2026-06-11 15:48:40 +08:00
Mark.lin 6120a6b74f Refine GVFG customer API surface 2026-06-11 10:25:50 +08:00
Mark.lin 8a13e8b0e8 Use XDMA ring slots for frame delivery 2026-06-10 15:06:34 +08:00
Mark.lin 7918b79480 Simplify XDMA types and add fullscreen preview 2026-06-09 17:41:06 +08:00
Mark.lin 739d1fcf32 Deliver native callback frames 2026-06-09 16:05:27 +08:00
Mark.lin 31ace3693f Refine signal status API layout 2026-06-09 15:02:05 +08:00
Mark.lin aeef7860dd Remove legacy signal status fields 2026-06-09 14:19: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