Consolidate playback APIs and add standalone OSD bitmap rendering
- move public PCM, image and presentation types into gvfg_playback.h and remove the separate backend headers from source and installation - keep WASAPI and D3D backends private while preserving the existing public type names, fields and static backend integration - move detailed preview delivery counters into a private header and expose their playback query only through the Debug diagnostics API - retain public preview information and basic presentation statistics, mark EQUEUE_FULL as reserved, and document capacity limits as advanced settings with recommended defaults - refresh customer guides, API reference and error handling for the single-header interface, presentation counter limits and EAUDIO handle-recreation policy - add SDK-owned standalone premultiplied BGRA text rendering with transparent backgrounds, measured dimensions, thread-local snapshot lifetime and validated output bounds Validation: git diff --cached --check passed. Release gvfg_playback and Customer Sample builds, standalone C/C++ header checks, Debug playback syntax checks and Release export inspection passed earlier in this session. Final follow-up changes affect comments and documentation only. No runtime or hardware playback validation was performed. The existing Release gvfg target was also checked and was up to date. OSD rendering changes were source-reviewed; no new bitmap or hardware test was run in this commit pass. Capture debug exports are unchanged.
This commit is contained in:
@@ -23,8 +23,6 @@ bin/gvfg.dll
|
||||
|
||||
```text
|
||||
include/gvfg_playback.h
|
||||
include/gvfg_preview.h
|
||||
include/gvfg_audio_playback.h
|
||||
lib/gvfg_playback.lib
|
||||
bin/gvfg_playback.dll
|
||||
```
|
||||
@@ -308,7 +306,9 @@ if (status != GVFG_OK) return status;
|
||||
- `gvfg_channel_osd_config_t` 改用 NUL 結尾字串、移除 `text_length`,新增 `font_family`;
|
||||
量測函式改收同一份設定,沒有舊版相容入口。
|
||||
- 公開 Playback 移除 `gvfg_playback_stats_t` 與 `gvfg_playback_get_stats()`。
|
||||
改用目前公開的 preview/delivery 統計介面;舊查詢不再提供相容入口。
|
||||
一般顯示資訊與呈現統計改用 `gvfg_playback_get_preview_info()`、`gvfg_playback_get_preview_stats()`。
|
||||
- 公開 Playback 另移除 `gvfg_preview_delivery_stats_t` 與 `gvfg_playback_get_delivery_stats()`;
|
||||
詳細佇列與呈現流程計數移至內部 Debug API,不提供公開相容入口。
|
||||
- 字型清單不需要 capture handle。先選擇實際已安裝的字型,再量測/設定 OSD,
|
||||
並檢查每次 API 回傳值。單一組別的 Set 不提供兩組一起更新的交易保證。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user