Split GVFG customer API and preview helper
Refactor GVFG into a pull-based customer API with internal debug diagnostics in gvfg_debug.h. Move preview rendering into the separate gvfg_preview helper DLL and update the Qt sample to link it explicitly. Clean legacy callback/preview docs and removed SDK-internal render/log helper sources from the core GVFG DLL.
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <gvfg_capture.h>
|
||||
|
||||
#include "sample_preview_renderer.h"
|
||||
#include <gvfg_preview.h>
|
||||
|
||||
#include <QString>
|
||||
#include <QWidget>
|
||||
@@ -57,7 +56,7 @@ private:
|
||||
std::array<gvfg_device_info_t, GVFG_MAX_DEVICES> devices_{};
|
||||
int deviceCount_ = 0;
|
||||
gvfg_handle handle_ = nullptr;
|
||||
SamplePreviewRenderer previewRenderer_;
|
||||
gvfg_preview_handle previewHandle_ = nullptr;
|
||||
bool captureRunning_ = false;
|
||||
std::atomic<bool> captureStop_{false};
|
||||
std::thread captureThread_;
|
||||
|
||||
Reference in New Issue
Block a user