Add CH0 audio capture and customer runtime diagnostics
Extend the internal driver ABI and public GVFG API for combined CH0 video/audio capture, PCM format discovery, blocking copy-out reads, extra-frame wake events, and coordinated teardown of video and audio readers. Update the Qt sample with optional CH0 audio playback on a dedicated thread, customer-visible copy/zero-copy timing telemetry, mutually exclusive CH0/CH1 Y210 selection, and a refresh-safe temporary hide for the unsupported CH1 panel. Harden Win32 error text conversion, document the new stream and ownership contracts, and package giga_ioctl plus the VC143 runtime in customer Debug/Release bundles. Validation: git diff --check passed before commit. No build, package execution, runtime, audio-device, or capture-hardware test was run.
This commit is contained in:
@@ -58,23 +58,87 @@
|
||||
<layout class="QHBoxLayout" name="channelPanelsLayout" stretch="1,1">
|
||||
<item>
|
||||
<widget class="QGroupBox" name="channel0GroupBox">
|
||||
<property name="title"><string>CH0</string></property>
|
||||
<property name="title">
|
||||
<string>CH0</string>
|
||||
</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>Requested CH0 capture 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>
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="channel0FormatLabel">
|
||||
<property name="text">
|
||||
<string>Output format:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="2"><widget class="QCheckBox" name="ch0ZeroCopyCheckBox"><property name="toolTip"><string>Must be selected before opening CH0</string></property><property name="text"><string>Zero-copy</string></property></widget></item>
|
||||
<item row="1" column="0" colspan="3">
|
||||
<item row="0" column="1">
|
||||
<widget class="QComboBox" name="ch0OutputFormatCombo">
|
||||
<property name="toolTip">
|
||||
<string>Requested CH0 capture 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>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Zero-copy</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="3">
|
||||
<widget class="QCheckBox" name="ch0AudioCheckBox">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Capture and play CH0 PCM audio together with video</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Audio</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0" colspan="4">
|
||||
<layout class="QHBoxLayout" name="channel0ButtonLayout">
|
||||
<item><widget class="QPushButton" name="ch0StartButton"><property name="text"><string>Start</string></property></widget></item>
|
||||
<item><widget class="QPushButton" name="ch0StopButton"><property name="text"><string>Stop</string></property></widget></item>
|
||||
<item><widget class="QPushButton" name="ch0PreviewButton"><property name="text"><string>Open view</string></property></widget></item>
|
||||
<item><widget class="QPushButton" name="ch0FullscreenButton"><property name="text"><string>Fullscreen</string></property></widget></item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="ch0StartButton">
|
||||
<property name="text">
|
||||
<string>Start</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="ch0StopButton">
|
||||
<property name="text">
|
||||
<string>Stop</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="ch0PreviewButton">
|
||||
<property name="text">
|
||||
<string>Open view</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="ch0FullscreenButton">
|
||||
<property name="text">
|
||||
<string>Fullscreen</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
@@ -82,23 +146,92 @@
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QGroupBox" name="channel1GroupBox">
|
||||
<property name="title"><string>CH1</string></property>
|
||||
<property name="title">
|
||||
<string>CH1</string>
|
||||
</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="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="toolTip"><string>Requested CH1 capture 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>
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Requested CH1 capture 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>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Must be selected before opening CH1</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Zero-copy</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="2"><widget class="QCheckBox" name="ch1ZeroCopyCheckBox"><property name="toolTip"><string>Must be selected before opening CH1</string></property><property name="text"><string>Zero-copy</string></property></widget></item>
|
||||
<item row="1" column="0" colspan="3">
|
||||
<layout class="QHBoxLayout" name="channel1ButtonLayout">
|
||||
<item><widget class="QPushButton" name="ch1StartButton"><property name="text"><string>Start</string></property></widget></item>
|
||||
<item><widget class="QPushButton" name="ch1StopButton"><property name="text"><string>Stop</string></property></widget></item>
|
||||
<item><widget class="QPushButton" name="ch1PreviewButton"><property name="text"><string>Open view</string></property></widget></item>
|
||||
<item><widget class="QPushButton" name="ch1FullscreenButton"><property name="text"><string>Fullscreen</string></property></widget></item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="ch1StartButton">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Start</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="ch1StopButton">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Stop</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="ch1PreviewButton">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Open view</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="ch1FullscreenButton">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Fullscreen</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
|
||||
Reference in New Issue
Block a user