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:
@@ -5,6 +5,7 @@ add_library(gvfg_playback SHARED
|
||||
include/gvfg_playback.h
|
||||
src/gvfg_playback.cpp
|
||||
src/playback_timing.h
|
||||
src/playback_debug.h
|
||||
src/signal_card.h
|
||||
src/signal_card.cpp
|
||||
src/signal_card.rc
|
||||
@@ -20,7 +21,8 @@ target_include_directories(gvfg_playback
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../gvfg_audio_playback/src
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../gvfg_preview/src
|
||||
)
|
||||
target_compile_definitions(gvfg_playback PRIVATE GVFG_PLAYBACK_BUILD)
|
||||
target_compile_definitions(gvfg_playback PRIVATE GVFG_PLAYBACK_BUILD
|
||||
GVFG_INTERNAL_DIAGNOSTICS=$<IF:$<CONFIG:Debug>,1,0>)
|
||||
target_link_libraries(gvfg_playback PRIVATE gvfg_audio_playback gvfg_preview user32 gdi32 comctl32)
|
||||
if(MSVC)
|
||||
target_compile_options(gvfg_playback PRIVATE /utf-8 /EHsc)
|
||||
|
||||
Reference in New Issue
Block a user