Separate internal Sample diagnostics
Compared with 83be436:
- move private backend, DMA, delivery, startup, and frame timing diagnostics into a dedicated InternalDiagnostics module
- keep the capture controller independent from gvfg_debug.h and private backend baseline structures
- compile the diagnostics module and diagnostic signal path only for Debug builds
- keep Release builds free of diagnostic collection and aligned with the customer-facing capture flow
Validation: git diff --check passed. MSVC Release and Debug clean builds completed successfully, and the updated Sample behavior was tested on hardware.
This commit is contained in:
@@ -76,8 +76,10 @@ MainWindow::MainWindow(QWidget *parent)
|
||||
connect(controller_, &CaptureController::statusChanged, ui_->statusLabel, &QLabel::setText);
|
||||
connect(controller_, &CaptureController::sdiInfoChanged, ui_->sdiInfoLabel, &QLabel::setText);
|
||||
connect(controller_, &CaptureController::logMessage, log_, &SampleLog::append, Qt::QueuedConnection);
|
||||
#if GVFG_INTERNAL_DIAGNOSTICS
|
||||
connect(controller_, &CaptureController::diagnosticMessage, log_, &SampleLog::appendDiagnostic,
|
||||
Qt::QueuedConnection);
|
||||
#endif
|
||||
connect(log_, &SampleLog::lineReady, this, &MainWindow::appendLogLine);
|
||||
connect(controller_, &CaptureController::previewSourceSizeChanged, this,
|
||||
[this](int channel, int width, int height) {
|
||||
|
||||
Reference in New Issue
Block a user