feat: align GVFG output with YUY2
- expose YUY2 across the public API, preview helper, backend, and GPU conversion paths while translating the legacy FPGA format value internally - correct YUY2 chroma byte interpretation and update customer/internal documentation - centralize the Standalone SDK version and expose it through gvfg_get_version - show the SDK version in the sample and enable preview-window controls only after the first valid frame - close and disable external preview windows when capture stops
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
if (NOT DEFINED GVFG_SDK_VERSION)
|
||||
set(GVFG_SDK_VERSION "0.1.0" CACHE STRING "GVFG SDK version")
|
||||
endif()
|
||||
|
||||
project(gvfg VERSION ${GVFG_SDK_VERSION} LANGUAGES CXX)
|
||||
# Inherit the version from the standalone root project. The root project()
|
||||
# declaration is the single source of truth for the public SDK version.
|
||||
set(_GVFG_VERSION "${PROJECT_VERSION}")
|
||||
project(gvfg VERSION ${_GVFG_VERSION} LANGUAGES CXX)
|
||||
|
||||
add_library(gvfg SHARED
|
||||
include/gvfg_capture.h
|
||||
@@ -38,7 +37,7 @@ target_include_directories(gvfg
|
||||
|
||||
target_compile_definitions(gvfg PRIVATE
|
||||
GVFG_BUILD
|
||||
GVFG_SDK_VERSION="${GVFG_SDK_VERSION}"
|
||||
GVFG_VERSION_STRING="${PROJECT_VERSION}"
|
||||
)
|
||||
|
||||
target_compile_definitions(gvfg PRIVATE
|
||||
|
||||
Reference in New Issue
Block a user