feat: align GVFG output with YUY2

- expose YUY2 across the public API, preview helper, backend, and GPU conversion paths while translating the legacy FPGA format value internally
- correct YUY2 chroma byte interpretation and update customer/internal documentation
- centralize the Standalone SDK version and expose it through gvfg_get_version
- show the SDK version in the sample and enable preview-window controls only after the first valid frame
- close and disable external preview windows when capture stops
This commit is contained in:
Mark.lin
2026-08-13 16:14:16 +08:00
parent a5b86e5872
commit 17fb9bfabd
20 changed files with 302 additions and 63 deletions
+1
View File
@@ -70,6 +70,7 @@ private:
gvfg_preview_handle previewHandle_ = nullptr;
std::atomic<bool> captureRunning_{false};
std::atomic<bool> captureStop_{false};
std::atomic<bool> frameAvailable_{false};
std::thread captureThread_;
uint64_t previewFailureCount_ = 0;
std::atomic<double> previewCallAverageMs_{0.0};