Add independent dual-channel preview controls

Compared with f380a8a:

- Let CH0 and CH1 open, start, stop, and preview independently while sharing one device connection.

- Give each channel its own capture worker, preview window, frame ownership, runtime status, and failure reporting.

- Expose channel-indexed zero-copy selection to match the driver IOCTL contract and keep output format selection independent per channel.

- Prevent immediate timeout responses from hot-looping and flooding the Qt event queue.

- Align the CH0 and CH1 controls in equal-width channel panels and update the public and internal documentation.

Validation: Qt uic parsing and git diff --check passed; no build or hardware validation was run.
This commit is contained in:
Mark.lin
2026-08-27 17:13:22 +08:00
parent f380a8a143
commit 226369df0e
11 changed files with 539 additions and 523 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ flowchart LR
| `channelErrors[2]` | 每條 channel 最近一次詳細錯誤 |
| `eventMasks[2]` | open 前設定的 channel event mask |
| `currentIndex` | 此 handle 已綁定的 device index;`-1` 表示尚未綁定 |
| `zeroCopyRequested` | open 前選擇的共用 delivery mode |
| `zeroCopyRequested[2]` | 各 channel open 前獨立選擇的 delivery mode |
### `gvfg_channel_session_t`:公開 API facade