Update GigabyteLib to the vfg100 0914-b package

Compared with f5311e9:

- replace the vendored headers and x64 static library with supervisor package version 1.0.2

- record the corrected source location and SHA-256 checksum

- route YUY2 and Y210 selection through the now-linked GvfgSetVideoColorDepth API

- remove the output-format register fallback and the SDK-owned dual-Y210 restriction

- retain only diagnostic register read and write in the isolated driver extension

- document the undeclared GvfgGetAVStats binary symbol as an upstream header and ABI gap
This commit is contained in:
Mark.lin
2026-09-14 15:25:06 +08:00
parent f5311e9834
commit 7082ebed35
13 changed files with 43 additions and 49 deletions
@@ -193,12 +193,11 @@ gvfg_status_t GigabyteCaptureSession::set_video_format(gvfg_pixel_format_t forma
if (openStatus != GVFG_OK)
return openStatus;
constexpr uint32_t kVideoOutputFormatRegister = 0x080;
if (!gigabyte_write_register(device_handle_, kVideoOutputFormatRegister,
format == GVFG_PIXFMT_Y210 ? 1u : 0u))
return reject(GVFG_EIO,
"GigabyteLib gap: driver extension failed to set the output format register");
return GVFG_OK;
const ULONG colorDepth = format == GVFG_PIXFMT_Y210
? GVFG_VIDEO_COLOR_DEPTH_10_BITS
: GVFG_VIDEO_COLOR_DEPTH_8_BITS;
return from_vendor(GvfgSetVideoColorDepth(context_, channel_, colorDepth),
"GvfgSetVideoColorDepth");
}
gvfg_status_t GigabyteCaptureSession::refresh_video_info() const
@@ -5,9 +5,8 @@
namespace gvfg::internal
{
// GIGABYTELIB GAP: GvfgSdk.lib 1.0.0 does not expose register access or
// output-format selection. Keep these driver extensions isolated here so
// they can be deleted when equivalent Gvfg* APIs are supplied.
// GIGABYTELIB GAP: GvfgSdk.lib 1.0.2 has no declared register-access API.
// Keep this driver extension isolated until matching Gvfg* APIs are supplied.
bool gigabyte_read_register(HANDLE device, uint32_t offset, uint32_t &value);
bool gigabyte_write_register(HANDLE device, uint32_t offset, uint32_t value);
}