Record PCI location paths during GVFG device enumeration

- Read Windows PCI location paths for capture devices.
- Remove per-query HDMI video debug output and simplify frame descriptor transfer.
- Document repository workflow and validation in AGENTS.md.

Validation: git diff --cached --check passed. Build and runtime tests were not run for this commit.
This commit is contained in:
2026-11-30 14:43:52 +08:00
parent a47ab190bc
commit b47f27bd39
5 changed files with 65 additions and 24 deletions
+1 -12
View File
@@ -157,7 +157,6 @@ struct gvfg_channel_session_t
return stOpen;
}
currentIndex = index;
syncSessionEventCallback();
selectedChannel = static_cast<uint32_t>(channelIndex);
resetRuntimeCounters();
@@ -254,7 +253,6 @@ struct gvfg_channel_session_t
session->close();
session.reset();
}
currentIndex = -1;
}
gvfg_status_t getSignalStatus(gvfg_signal_status_t &out)
@@ -503,15 +501,7 @@ struct gvfg_channel_session_t
updateRuntimeFps(now_ns());
out.data = frame.data;
out.data_size = static_cast<uint64_t>(frame.data_size);
out.width = static_cast<int>(frame.width);
out.height = static_cast<int>(frame.height);
out.row_stride_bytes = frame.row_stride_bytes;
out.pixel_format = frame.pixel_format;
out.bit_depth = static_cast<int>(frame.bit_depth);
out.frame_id = frame.frame_id;
out.timestamp_ns = frame.timestamp_ns;
out = frame;
if (timing)
timing->frame_id = out.frame_id;
noteDeliveredFrame(out.width, out.height, out.bit_depth, out.pixel_format);
@@ -824,7 +814,6 @@ struct gvfg_channel_session_t
ChannelErrorState &errorState;
std::unique_ptr<gvfg::internal::GigabyteCaptureSession> session;
int currentIndex = -1;
uint32_t selectedChannel = GVFG_CHANNEL_0;
bool zeroCopyRequested = false;
bool audioEnabled = false;