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
+6 -1
View File
@@ -65,7 +65,12 @@ namespace
? QString::fromLatin1(gvfg_pixel_format_name(signal.pixel_format))
: QStringLiteral("--");
const QString bit = signal.bit_depth > 0 ? QString::number(signal.bit_depth) : QStringLiteral("--");
return QStringLiteral("%1 %2 %3-bit").arg(resolution, format, bit);
const QString interfaceName = signal.video_interface == GVFG_INPUT_INTERFACE_SDI
? QStringLiteral("SDI")
: signal.video_interface == GVFG_INPUT_INTERFACE_HDMI
? QStringLiteral("HDMI")
: QStringLiteral("--");
return QStringLiteral("%1 %2 %3-bit %4").arg(resolution, format, bit, interfaceName);
}
QString eventTypeText(gvfg_event_type_t type)