Improve capture startup, frame loss reporting, and preview diagnostics

- 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
This commit is contained in:
Mark.lin
2026-08-12 17:30:56 +08:00
parent 08da3c9000
commit aad8419c2a
15 changed files with 1026 additions and 709 deletions
+2 -1
View File
@@ -12,7 +12,8 @@ import library、runtime DLL 來使用 GVFG,不要直接把 GVFG source 編進
- `samples/gvfg_qt_preview`:Qt preview sample;診斷功能由 build option 控制。
- `docs`:API 與整合說明。
客戶端 API 細節在 `docs/GVFG_CUSTOMER_API.md`。內部架構、package
客戶使用指南在 `docs/GVFG_CUSTOMER_API.md`,完整函式與結構參考在
`docs/GVFG_CUSTOMER_API_REFERENCE.md`。內部架構、package
切分、threading、frame ownership 說明在 `docs/GVFG_INTERNAL_NOTES.md`。
## Build