- Render preview directly from the FP16 conversion target into the selected
8-bit or 10-bit swapchain, removing the full-frame scene copy and the
intermediate BGRA8 preview pass without capture-frame decimation.
- Simplify neutral YUY2/Y210 shaders to one packed texture load per pixel;
preserve BT.709 conversion, 10-bit unpacking and odd-width chroma handling.
- Cache shader resource views per upload slot and update constant-buffer
contents only when source dimensions change.
- Allocate only preview resources and skip export-only shader compilation
for preview; retain the full BGRA8/RGB10A2/NV12 buffer conversion path.
- Unbind render targets before swapchain resize/release and serialize preview
configuration and resource changes with GPU rendering.
- Bound startup Present retries and retry presentation without redrawing;
retain actual skipped-frame counts when presentation remains busy.
- Add preview delivery counters for presented, replaced, busy, failed,
cancelled and pending frames, including busy source and affected frame ID.
- Fix an uncounted pending-frame replacement and drain pending preview work
at Stop and before a new run to keep per-run accounting separate.
- Track application audio delivery, dropped duration, read/write stalls and
frame-ID anomalies while retaining the original 10-block audio queue.
- Stop the channel on audio write failure or two seconds of zero-write
progress; distinguish cancelled data from runtime drops.
- Keep the existing compact UI; aggregate delivery issue logs at most once
per five seconds and emit a stop summary with accounting errors only.
- Document diagnostic interpretation, GPU changes and validation boundaries.
Validation:
- User testing reported approximately 15% lower GPU utilization after the
optimization. Baseline/final readings and relative versus percentage-point
interpretation were not supplied; no independent benchmark was performed.
- Static source checks and git diff --check passed. No application or shader
build was performed by the agent; 10-bit startup resolution and long-run
zero-loss behavior have not been confirmed.
- Rebuild the preview DLL with its matching APP; the SDK GPU buffer converter
also shares the modified shader source. Capture APIs and driver are unchanged.
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.
Use driver-managed video start/stop IOCTLs and request completed frames with MAXULONG instead of querying the done index. Add 300-frame timing statistics, lock format changes during GVFG streaming, and clear stale preview frames to black on signal loss. Document that this SDK revision requires the new PCIE S2MM driver.
- 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
- defer DMA capture until the first frame reader is waiting
- deliver FIFO frames in sequence order and overwrite the oldest unread frame
when the three-slot FIFO is full
- report known frame loss through GVFG_EVENT_FRAME_LOSS and runtime statistics
- replace the enum-only event API with the extensible gvfg_event_t structure
- expose per-handle public error details
- add preview GPU resource preparation before capture starts
- move GPU preview timing from periodic logs to the status display
- remove the redundant stream descriptor channel field
- reorganize customer and internal documentation
- add a complete customer API reference
Define a preview-owned frame descriptor with explicit row stride, remove the runtime dependency on gvfg.dll, and update CaptureDemo and the Qt sample to use the standalone API.
- treat FPGA v210 format marker as Y210 payload
- calculate Y210 DMA frame size as width * height * 4
- route CaptureDemo preview frames through the Y210 path
- normalize FPGA Y0/V/Y1/U data to standard Y0/U/Y1/V
- apply the same chroma correction to preview and frame conversion
- reallocate capture buffers using the detected pixel format
- 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()
- 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
- 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
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.