Split GVFG customer API and preview helper

Refactor GVFG into a pull-based customer API with internal debug diagnostics in gvfg_debug.h. Move preview rendering into the separate gvfg_preview helper DLL and update the Qt sample to link it explicitly. Clean legacy callback/preview docs and removed SDK-internal render/log helper sources from the core GVFG DLL.
This commit is contained in:
Mark.lin
2026-06-15 17:06:12 +08:00
parent 97971e6242
commit d2657a69cb
29 changed files with 1066 additions and 1029 deletions
+1 -2
View File
@@ -8,12 +8,12 @@ project(gvfg VERSION ${GVFG_SDK_VERSION} LANGUAGES CXX)
add_library(gvfg SHARED
include/gvfg_capture.h
include/gvfg_debug.h
src/backend/xdma/xdma_backend_types.h
src/backend/xdma/xdma_capture_session.cpp
src/backend/xdma/xdma_capture_session.h
src/backend/xdma/xdma_public.h
src/gvfg_capture.cpp
src/gvfg_log_bridge.cpp
)
set_target_properties(gvfg PROPERTIES
@@ -27,7 +27,6 @@ target_include_directories(gvfg
${CMAKE_CURRENT_SOURCE_DIR}/include
PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/src/backend/xdma
${CMAKE_CURRENT_SOURCE_DIR}/src/internal
)
target_compile_definitions(gvfg PRIVATE