Streamline GigabyteLib capture control and diagnostics
Compared with d652f15:
- set the SDK release version to 1.0.0 for the new GigabyteLib backend and its required matching driver
- preserve GigabyteLib result codes and event names through the public SDK instead of translating vendor semantics
- expose cached Lib signal, SDI string fields, ErrorCount, and separate video/audio event counters for direct diagnostics
- serialize GigabyteLib capture calls and recover an active stream internally after a video input plugin event
- keep the SDK frame lifetime fence while following the current zero-copy contract without a vendor release call
- separate Sample logging and presentation counters from capture control, and report Lib-owned fields with explicit source names
- remove the manual Open Device control so Start lazily opens the selected device and revalidates VideoSignalLock once per request
- keep format selection side-effect free until Start opens the channel, then apply the selected output depth through GigabyteLib
- update the public API, diagnostics, architecture, error-handling, and build documentation for the simplified ownership model
This commit is contained in:
@@ -35,7 +35,8 @@
|
||||
- 每條 channel 各自擁有 backend、event、capture thread、copy buffer 與 frame lifetime state。
|
||||
- 公開 API 已改為 channel-aware:open/start/read/release/poll/stop 都帶 `channel_index`。
|
||||
- copy mode 直接把 driver frame 寫入該 channel 的 `copy_buffer_`。
|
||||
- zero-copy mode 保存 driver-owned pointer,成功 read 必須配對一次 release。
|
||||
- zero-copy mode 保存 driver-owned pointer,成功 read 必須配對一次公開 release 以結束
|
||||
SDK pointer lifetime;目前不送逐 frame Lib/driver release。
|
||||
- `ChannelErrorState` 由 `gvfg_handle_t` 逐 channel 持有,facade/backend 共用同一份詳細錯誤。
|
||||
- `firstOpenChannel()` 與「第二條 channel 從第一條借 backend」的 ownership 已移除。
|
||||
- 重複的 `device_`、`opened_`、device path/name session 狀態已移除;`device_connection_` 是 device handle 的唯一來源。
|
||||
|
||||
Reference in New Issue
Block a user