Restore GVFG features missing from GigabyteLib
Compared with a04bd61:
- Restore the existing gvfg_set_channel_video_format API and the Qt sample YUY2/Y210 output-format controls with the original dual-channel Y210 restriction.
- Restore gvfg_debug_read_register, gvfg_debug_write_register, and the original gvfg_debug_get_channel_backend_stats names and fields so the established internal API remains compatible.
- Implement the three missing operations through a small in-process driver extension using the existing register read/write requests; capture, audio, events, signal queries, copy, and zero-copy paths continue to use GvfgSdk.lib.
- Mark every fallback as a GIGABYTELIB GAP and add a focused gap report requesting official format-selection and diagnostic register APIs from the GigabyteLib owner.
- Remove empty legacy backend and giga_ioctl directories without restoring giga_ioctl.dll or a second capture backend.
Validation: git diff --cached --check passed. MSVC x64 Release and Debug gvfg.dll builds passed, the Release Qt sample rebuilt and linked successfully, dumpbin confirmed all original 32 exports are present, and the Release package contains gvfg.dll without giga_ioctl.dll or private GigabyteLib files. The actual register operations, output-format switching, capture, audio, zero-copy, hot-plug, dual-channel behavior, shutdown, MinGW, and hardware behavior were not runtime-tested.
This commit is contained in:
@@ -63,6 +63,18 @@
|
||||
</property>
|
||||
<layout class="QGridLayout" name="channel0GridLayout">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="channel0FormatLabel">
|
||||
<property name="text"><string>Output format:</string></property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QComboBox" name="ch0OutputFormatCombo">
|
||||
<property name="toolTip"><string>GigabyteLib extension: requested CH0 output format</string></property>
|
||||
<item><property name="text"><string>YUY2 (8-bit 4:2:2)</string></property></item>
|
||||
<item><property name="text"><string>Y210 (10-bit 4:2:2)</string></property></item>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="2">
|
||||
<widget class="QCheckBox" name="ch0ZeroCopyCheckBox">
|
||||
<property name="toolTip">
|
||||
<string>Must be selected before opening CH0</string>
|
||||
@@ -75,7 +87,7 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<item row="0" column="3">
|
||||
<widget class="QCheckBox" name="ch0AudioCheckBox">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
@@ -91,7 +103,7 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0" colspan="2">
|
||||
<item row="1" column="0" colspan="4">
|
||||
<layout class="QHBoxLayout" name="channel0ButtonLayout">
|
||||
<item>
|
||||
<widget class="QPushButton" name="ch0StartButton">
|
||||
@@ -133,6 +145,19 @@
|
||||
</property>
|
||||
<layout class="QGridLayout" name="channel1GridLayout">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="channel1FormatLabel">
|
||||
<property name="text"><string>Output format:</string></property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QComboBox" name="ch1OutputFormatCombo">
|
||||
<property name="enabled"><bool>false</bool></property>
|
||||
<property name="toolTip"><string>GigabyteLib extension: requested CH1 output format</string></property>
|
||||
<item><property name="text"><string>YUY2 (8-bit 4:2:2)</string></property></item>
|
||||
<item><property name="text"><string>Y210 (10-bit 4:2:2)</string></property></item>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="2">
|
||||
<widget class="QCheckBox" name="ch1ZeroCopyCheckBox">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
@@ -145,7 +170,7 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<item row="1" column="0" colspan="3">
|
||||
<layout class="QHBoxLayout" name="channel1ButtonLayout">
|
||||
<item>
|
||||
<widget class="QPushButton" name="ch1StartButton">
|
||||
|
||||
Reference in New Issue
Block a user