Update SDK 3.2 documentation and add English and Traditional Chinese versions

- Check the README, customer guides, API reference, and internal notes against the
  SDK 3.2.0 headers, export lists, and CMake rules. Fix stale versions, the OSD move to
  gvfg_osd.dll, the OSD example header, and missing APIs (HDMI audio info, the HDMI and
  chip structs, gvfg_render_osd_frame_bgra, gvfg_playback_enable_audio_reconnect).
- Document present_image returning EOUTPUT when nothing was presented, opt-in audio
  reconnect for EAUDIO, and whole-macropixel YUY2 row sizes.
- Make English the primary *.md for the README and customer documents, keep Traditional
  Chinese as *.zh-TW.md, and install both language versions.
- Update the GigabyteLib README version and checksum to 1.0.5 and redraw the
  architecture diagram for the Capture, OSD, and Playback DLLs.

Validation: git diff --cached --check passed. All relative links and anchors in the
changed Markdown files resolve, and the drawio XML parses with valid edges and
non-overlapping boxes. No build, cmake --install, or PDF regeneration was run, and the
diagram was not opened in draw.io.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-01 16:03:38 +08:00
co-authored by Claude Opus 5.5
parent 02c7004e8c
commit 784aa5c579
21 changed files with 3277 additions and 1044 deletions
+5 -4
View File
@@ -53,7 +53,7 @@ EOUTPUT=-3、EQUEUE_FULL=-4(保留值,目前 API 不回傳)、EDISCONTINUI
submit 是接受/複製,不是實體輸出完成。其他非同步輸出失敗會由後續 submit 回報;
start 或 submit 成功不保證後續輸出一定正常。
影音模式遇到音訊輸出故障時,停用該 handle 的監聽音效,影像繼續播放;後續音訊 submit 回傳 EAUDIO。影音 start 也可能在音效開啟失敗時成功,應檢查後續音訊 submit。此停用狀態跨 stop/start/reset 保留,需先協調 producer,再銷毀並重建 Playback handle 才會重試音效;獨立擷取與錄音可繼續。純音訊模式的輸出故障回報 EOUTPUT。
影音模式遇到音訊輸出故障時,停用該 handle 的監聽音效,影像繼續播放;後續音訊 submit 回傳 EAUDIO。影音 start 也可能在音效開啟失敗時成功,應檢查後續音訊 submit。預設此停用狀態跨 stop/start/reset 保留,需先協調 producer,再銷毀並重建 Playback handle 才會重試音效;若 start 前呼叫過 `gvfg_playback_enable_audio_reconnect()`,影音模式會約每秒重試預設輸出,恢復後音訊 submit 再回傳 OK。獨立擷取與錄音可繼續。純音訊模式的輸出故障回報 EOUTPUT。
| 情況 | ownership 與後續處理 |
|---|---|
@@ -63,7 +63,8 @@ start 或 submit 成功不保證後續輸出一定正常。
| Playback queue 壓力 | 自動進入獨立播放並略過過時資料;不因 queue 滿而停止擷取,單筆超出配置容量則是 EINVAL |
| Playback timestamp 不連續 | 協調 producer 後 reset;音訊格式改變用新 config stop/start |
| 過期預覽或 GPU busy 略過 | 不當成 Capture failure;公開 skipped_presents 僅涵蓋預覽端略過數,不包含同步核心提前捨棄的所有影格 |
| Playback EAUDIO | 提示一次監聽音效停用;繼續影像與獨立擷取/錄音,需重建 Playback handle 才重試音效 |
| Playback EAUDIO | 提示一次監聽音效停用;繼續影像與獨立擷取/錄音。已啟用 audio reconnect 時持續提交 PCM 等待恢復,否則需重建 Playback handle 才重試音效 |
| Playback present_image EOUTPUT | 單張影像未被 Present 接受(例如 GPU busy 或逾時);可稍後重試 |
| Playback EOUTPUT | 檢查裝置/視窗與輸出路徑,明確決定重啟,不無限重試 |
## 4. 生命週期與 Demo
@@ -74,5 +75,5 @@ reset/stop 是取消待播資料,不是錯誤重試或無損 drain。
Customer Demo 只顯示 API 名稱與必要公開錯誤;queue/PTS/driver counters 屬於另行選用的診斷。
內部分支的 Debug diagnostics 與 Release Demo 分開,不能把內部輸出當成公開 API 契約。
完整欄位與狀態限制見 [API Reference](GVFG_Customer_doc/GVFG_CUSTOMER_API_REFERENCE.md),
操作流程見 [Playback 手冊](GVFG_PLAYBACK_API.md)。
完整欄位與狀態限制見 [API Reference](GVFG_Customer_doc/GVFG_CUSTOMER_API_REFERENCE.zh-TW.md),
操作流程見 [Playback 手冊](GVFG_PLAYBACK_API.zh-TW.md)。