Add dual-slot font-selectable OSD and privatize playback diagnostics for SDK 3.0.0
- replace the single-overlay API with two independently configured OSD slots per channel, simplify NUL-terminated text/font settings, and add explicit visibility controls that preserve cached glyphs separately from Clear - enumerate installed Windows font families as an SDK-owned UTF-8 list without callbacks or caller-side free, refresh installed fonts on demand, and use the selected family consistently for measurement and rendering with invalid/missing-font rejection - retain per-slot YUV and A8 mask caches, blend slot 1 over slot 0 in one GPU dispatch/readback, preserve hidden surfaces, and skip oversized slots independently while capture and the other slot continue - move detailed playback core statistics to a private Debug-only header/export, remove the public legacy statistics query and compatibility layouts, and retain public preview/delivery statistics - bump the SDK major version to 3.0.0 for the breaking OSD and playback API changes and document matching header, import-library and runtime deployment requirements - refresh the capture/playback guides, internal build notes and API reference, document all 51 public Capture/Playback functions, add checked OSD usage examples, and regenerate the branded 23-page PDF Validation: git diff --cached --check and public API documentation coverage checks passed. The regenerated PDF passed text/content checks and visual review of its rendered pages, including the OSD types, API contracts and examples. Earlier session SDK Release compilation and synthetic YUY2/Y210 blending checks passed; no new build, hardware capture, FPGA upload or long-duration runtime validation was performed during this commit pass.
This commit is contained in:
@@ -51,8 +51,8 @@ Playback 的錯誤型別是 gvfg_playback_status_t:OK=0、EINVAL=-1、ESTATE=-
|
||||
EOUTPUT=-3、EQUEUE_FULL=-4、EDISCONTINUITY=-5。
|
||||
例如 Capture 的 -4 是 EIO,Playback 的 -4 是 queue full;這正是不能混用 strerror 的原因。
|
||||
|
||||
submit 是接受/複製,不是實體輸出完成。非同步 GPU/WASAPI 失敗會保存為 last_error,
|
||||
後續 submit 回報該錯誤;running 仍可能為 1。get_stats 回傳 OK 只是查詢成功。
|
||||
submit 是接受/複製,不是實體輸出完成。其他非同步輸出失敗會由後續 submit 回報;
|
||||
start 或 submit 成功不保證後續輸出一定正常。
|
||||
目前輸出錯誤沒有自動重建裝置的保證,由 caller 協調停止與重啟。
|
||||
|
||||
| 情況 | ownership 與後續處理 |
|
||||
|
||||
Reference in New Issue
Block a user