Use all GigabyteLib frame metadata

Compared with 13aad44:

- size video buffers from GVFG_VIDEO_INFO.cbBufSize instead of recalculating them in the SDK

- expose the GigabyteLib video interface through channel signal status and display it in the Qt sample

- use GVFG_VIDEO_INFO.FrameCount and GVFG_AUDIO_INFO.FrameCount as the public frame identifiers

- expose all four formatted ST 352 payload descriptions returned by GvfgStringifySdiVideoInputInfo

- remove the redundant SDK-owned video and audio frame counters and the local frame-size helper

- update the customer and frame-flow documentation to identify the GigabyteLib metadata source
This commit is contained in:
Mark.lin
2026-09-14 14:51:47 +08:00
parent 13aad44361
commit a8fe1739f8
8 changed files with 79 additions and 33 deletions
+2 -2
View File
@@ -166,7 +166,7 @@ Audio 採用相同的 pull 與 ownership 模型:
- `width`、`height`:影像尺寸。
- `row_stride_bytes`:相鄰兩列起點的 byte 距離。
- `pixel_format`、`bit_depth`:原生 payload 格式。
- `frame_id`:同一次 start/stop session 中單調遞增的識別值。
- `frame_id`:GigabyteLib `GVFG_VIDEO_INFO.FrameCount`。
- `timestamp_ns`:SDK monotonic delivery timestamp,與 audio 使用相同 clock domain。
### PCM audio
@@ -179,7 +179,7 @@ Audio 採用相同的 pull 與 ownership 模型:
- `data`、`data_size`:SDK-owned PCM 與本次有效 byte 數。
- `sample_rate`、`channels`、`bits_per_sample`:此 frame 的 PCM 格式。
- `frame_id`:同一次 start/stop session 中單調遞增的 audio frame ID。
- `frame_id`:GigabyteLib `GVFG_AUDIO_INFO.FrameCount`。
- `timestamp_ns`:SDK monotonic delivery timestamp,與 video 使用相同 clock domain。
`timestamp_ns` 用於比較同一 process/session 內的 video/audio delivery timing;它