Separate public runtime data from debug diagnostics
Compared with 90af75c:
- keep only application-facing capture FPS and delivered-frame count in gvfg_runtime_info_t
- move GigabyteLib frame-acquire timing exclusively to the internal debug statistics
- remove duplicated runtime, zero-copy, and last-frame fields from the debug structure
- remove synthetic backend DMA, interrupt, sequence, and capture counters not supplied by GigabyteLib
- retain uniquely useful wait, event, audio, frame-hold, and timing diagnostics plus register access
- update the Qt sample and documentation for the clarified ownership boundary
This commit is contained in:
@@ -17,40 +17,15 @@ extern "C" {
|
||||
|
||||
typedef struct
|
||||
{
|
||||
int width; /* Width of the most recent frame returned by gvfg_read_channel_frame(). */
|
||||
int height; /* Height of the most recent frame returned by gvfg_read_channel_frame(). */
|
||||
int bit_depth; /* Bits per color channel of the frame buffer. */
|
||||
int pixel_format; /* gvfg_pixel_format_t value: YUY2 or Y210. */
|
||||
int valid; /* Non-zero after a frame is returned during the current running session. */
|
||||
} gvfg_debug_last_frame_info_t;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
int sdk_running;
|
||||
int running;
|
||||
int frame_held;
|
||||
uint32_t event_queue_depth;
|
||||
|
||||
double runtime_fps;
|
||||
uint64_t frames_returned;
|
||||
gvfg_debug_last_frame_info_t last_frame;
|
||||
|
||||
int backend_state;
|
||||
uint64_t backend_frames_captured;
|
||||
uint64_t backend_frames_delivered;
|
||||
uint64_t backend_dma_errors;
|
||||
uint64_t backend_interrupt_count;
|
||||
uint64_t backend_wait_timeouts;
|
||||
|
||||
int backend_running;
|
||||
int backend_capture_active;
|
||||
uint64_t backend_latest_sequence;
|
||||
uint64_t backend_delivered_sequence;
|
||||
uint64_t frame_wait_timeouts;
|
||||
uint64_t video_event_wakes;
|
||||
uint64_t audio_dma_event_wakes;
|
||||
uint64_t extra_audio_event_wakes;
|
||||
uint64_t audio_frames_from_driver;
|
||||
uint64_t audio_bytes_from_driver;
|
||||
|
||||
int get_frame_zero_copy;
|
||||
uint64_t get_frame_timing_samples;
|
||||
double get_frame_timing_average_us;
|
||||
double get_frame_timing_max300_us;
|
||||
|
||||
Reference in New Issue
Block a user