Refactor GVFG channel and driver access flow

- support only the new vfg100_0821c driver; legacy drivers and IOCTL contracts are intentionally unsupported
- use one SDK handle per physical device with independent CH0/CH1 sessions and selectable event masks
- expose Device Manager friendly names and remove redundant enumerated device indices
- align active capture IOCTLs with the new driver while omitting unsupported OPEN_VIDEO/CLOSE_VIDEO calls
- isolate IOCTL codes, request layouts, and DeviceIoControl calls in the new giga_ioctl DLL
- block reads of pure write-only registers while preserving dual-semantics interrupt status reads
- reduce duplicate signal register queries during open/start
- add zero-copy/copy driver GetFrame timing in microseconds and show it in the preview status
- update public/internal documentation for the revised lifecycle and channel APIs

Validation: static searches and git diff --check only; build intentionally not run.
This commit is contained in:
Mark.lin
2026-08-21 17:52:04 +08:00
parent f783e21476
commit 1574e90b49
21 changed files with 805 additions and 437 deletions
+1 -1
View File
@@ -11,7 +11,6 @@ add_library(gvfg SHARED
src/backend/pcies2mm/pcies2mm_capture_session.h
src/backend/pcies2mm/pcies2mm_device.cpp
src/backend/pcies2mm/pcies2mm_device.h
src/backend/pcies2mm/pcies2mm_ioctl.h
src/backend/pcies2mm/pcies2mm_reg.h
src/backend/pcies2mm/pcies2mm_video_format.cpp
src/backend/pcies2mm/pcies2mm_video_format.h
@@ -45,6 +44,7 @@ target_compile_definitions(gvfg PRIVATE
)
target_link_libraries(gvfg PRIVATE
giga_ioctl
setupapi
user32
dxgi