Improve capture startup, frame loss reporting, and preview diagnostics
- defer DMA capture until the first frame reader is waiting - deliver FIFO frames in sequence order and overwrite the oldest unread frame when the three-slot FIFO is full - report known frame loss through GVFG_EVENT_FRAME_LOSS and runtime statistics - replace the enum-only event API with the extensible gvfg_event_t structure - expose per-handle public error details - add preview GPU resource preparation before capture starts - move GPU preview timing from periodic logs to the status display - remove the redundant stream descriptor channel field - reorganize customer and internal documentation - add a complete customer API reference
This commit is contained in:
@@ -93,6 +93,13 @@ GVFG_PREVIEW_API gvfg_preview_status_t gvfg_preview_attach_window(
|
||||
gvfg_preview_handle handle,
|
||||
void *native_window_handle);
|
||||
|
||||
/* Pre-create GPU resources before the first captured frame is held. */
|
||||
GVFG_PREVIEW_API gvfg_preview_status_t gvfg_preview_prepare(
|
||||
gvfg_preview_handle handle,
|
||||
int width,
|
||||
int height,
|
||||
int bit_depth);
|
||||
|
||||
/*
|
||||
* Synchronously render one frame.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user