Replace the legacy backend with GigabyteLib
Compared with 5f74655:
- Preserve the public gvfg C API while replacing the direct PCIE S2MM register, IOCTL, and giga_ioctl.dll implementation with a per-channel adapter around the supervisor-provided GvfgSdk.lib API.
- Route device open, event creation, video/audio capture, copy and zero-copy frame delivery, zero-copy release, signal metadata, and stream teardown through GigabyteLib while retaining the existing facade ownership and timeout contracts.
- Remove the obsolete giga_ioctl target and legacy register/video-format backend files, and stop requiring or packaging giga_ioctl.dll in the Qt sample and customer archives.
- Vendor the matched GigabyteLib 1.0.0 headers and static library with provenance and checksum documentation, and update build, architecture, frame-flow, and customer deployment documentation for the new boundary.
- Keep gvfg_set_channel_video_format source-compatible, but report GVFG_ENOTSUP when the connected native input format differs because the supplied GigabyteLib API does not expose output-format conversion. Direct debug register reads and writes are likewise unsupported by this backend.
Validation: git diff --cached --check passed. MSVC x64 Release and Debug gvfg.dll builds passed, the Release Qt sample linked successfully, dumpbin confirmed gvfg.dll has no giga_ioctl.dll dependency and retains all 32 public exports, and the Release package script produced an archive without giga_ioctl.dll or private GigabyteLib files. No runtime capture, audio, zero-copy, hot-plug, dual-channel, device shutdown, MinGW, or hardware validation was run.
This commit is contained in:
@@ -41,10 +41,6 @@ if not exist "%SDK_SOURCE_BIN%\gvfg.dll" (
|
||||
echo [package] ERROR: gvfg.dll not found.
|
||||
goto fail
|
||||
)
|
||||
if not exist "%SDK_SOURCE_BIN%\giga_ioctl.dll" (
|
||||
echo [package] ERROR: giga_ioctl.dll not found.
|
||||
goto fail
|
||||
)
|
||||
if not exist "%SDK_SOURCE_BIN%\gvfg_preview.dll" (
|
||||
echo [package] ERROR: gvfg_preview.dll not found.
|
||||
goto fail
|
||||
@@ -61,7 +57,6 @@ mkdir "%STAGE_DIR%" || goto fail
|
||||
echo [package] Copy application files...
|
||||
copy /Y "%SAMPLE_SOURCE_BIN%\gvfg_qt_preview.exe" "%STAGE_DIR%\" >nul || goto fail
|
||||
copy /Y "%SDK_SOURCE_BIN%\gvfg.dll" "%STAGE_DIR%\" >nul || goto fail
|
||||
copy /Y "%SDK_SOURCE_BIN%\giga_ioctl.dll" "%STAGE_DIR%\" >nul || goto fail
|
||||
copy /Y "%SDK_SOURCE_BIN%\gvfg_preview.dll" "%STAGE_DIR%\" >nul || goto fail
|
||||
|
||||
echo [package] Deploy Qt runtime...
|
||||
|
||||
Reference in New Issue
Block a user