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:
Mark.lin
2026-11-04 16:53:41 +08:00
parent d6935df9ae
commit 5ebe03a2bb
23 changed files with 262 additions and 156 deletions
+1
View File
@@ -11,6 +11,7 @@ EXPORTS
gvfg_get_osd_fonts
gvfg_set_channel_osd_visible
gvfg_measure_osd_text
gvfg_render_osd_bgra
gvfg_set_channel_osd
gvfg_clear_channel_osd
gvfg_set_channel_audio_enabled