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:
@@ -1,6 +1,11 @@
|
||||
# GVFG SDK 與 Demo 建置說明
|
||||
|
||||
SDK version 由 `GVFG_SDK/CMakeLists.txt` 決定,目前為 2.1.1。
|
||||
SDK version 由 `GVFG_SDK/CMakeLists.txt` 決定,目前為 3.0.0。
|
||||
|
||||
修改共用類別的成員配置或公開 API 後,先完整重建 SDK,再清理並重建使用它的 APP。
|
||||
連結成功不代表 object 使用相同的類別大小;標頭相依追蹤失效時,舊 object 可能造成
|
||||
heap corruption。SDK 3.0.0 的 OSD 與 Playback 統計介面含不相容變更,部署時必須配套
|
||||
使用同版 header、import library 與 DLL,不可只替換單一檔案。
|
||||
Sample version 由自己的 CMake 決定;目前 checkout 是內部分支,與 customer master 不必相同。
|
||||
|
||||
SDK Debug 在原有等待流程實際收到格式事件時,透過 `OutputDebugStringA()`
|
||||
@@ -112,6 +117,6 @@ package_release.bat "C:\path\to\gvfg_qt_preview.exe" "C:\Qt\6.10.2\msvc2022_64\b
|
||||
| 找不到 Playback symbol | 標頭、匯入庫、DLL 不配套,或誤連內部靜態 backend |
|
||||
| Sample 沒找到預建 SDK | 確認來源選擇、bin/lib 位置、MSVC/MinGW 匯入庫檔名 |
|
||||
| 視窗關閉後音訊停止 | 確認沒有停止 video producer 卻保留 audio-video 模式;隱藏預覽仍需影像時間軸 |
|
||||
| 狀態顯示 running 但無輸出 | 檢查 start/submit 回傳、last_error、buffering 與啟用串流資料 |
|
||||
| 已 start 但無輸出 | 檢查 start/submit 回傳與啟用串流資料;詳細狀態使用 Debug DLL 與私有 playback_debug.h 查詢 |
|
||||
|
||||
本次文件變更只驗證文件/來源、範例與安裝規則;不因文件改版宣稱新增硬體測試。
|
||||
|
||||
Reference in New Issue
Block a user