Add HDMI audio input queries and split OSD into a helper in GVFG SDK 3.2
- Expose HDMI audio input information through the capture API and refresh the bundled Gigabyte library. - Move OSD rendering into gvfg_osd.dll, connect channel OSD through the capture frame processor, and remove the experimental in-place zero-copy OSD path. - Update playback integration, the customer API documentation, and the internal build guide. Validation: git diff --cached --check passed. The MSVC Release SDK build passed. Capture hardware and runtime behavior were not tested.
This commit is contained in:
@@ -103,55 +103,6 @@ typedef struct
|
||||
uint64_t acquisition_begin_ns;
|
||||
} gvfg_debug_frame_read_timing_t;
|
||||
|
||||
enum
|
||||
{
|
||||
GVFG_DEBUG_OSD_EXPERIMENT_ENABLED = 1u,
|
||||
GVFG_DEBUG_OSD_EXPERIMENT_USED = 2u,
|
||||
GVFG_DEBUG_OSD_EXPERIMENT_REJECTED = 4u
|
||||
};
|
||||
|
||||
typedef enum
|
||||
{
|
||||
GVFG_DEBUG_OSD_PAGE_OK = 0,
|
||||
GVFG_DEBUG_OSD_PAGE_NO_POINTER,
|
||||
GVFG_DEBUG_OSD_PAGE_INVALID_RANGE,
|
||||
GVFG_DEBUG_OSD_PAGE_QUERY_FAILED,
|
||||
GVFG_DEBUG_OSD_PAGE_NOT_COMMITTED,
|
||||
GVFG_DEBUG_OSD_PAGE_GUARD_OR_NOACCESS,
|
||||
GVFG_DEBUG_OSD_PAGE_NOT_READWRITE,
|
||||
GVFG_DEBUG_OSD_PAGE_INVALID_REGION
|
||||
} gvfg_debug_osd_page_reason_t;
|
||||
|
||||
/* Separate diagnostic type: existing timing/flags ABI remains unchanged.
|
||||
* Native Windows values; win32_error is meaningful only for QUERY_FAILED.
|
||||
* Does not expose addresses or imply DMA safety. */
|
||||
typedef struct
|
||||
{
|
||||
uint32_t reason;
|
||||
uint32_t protect;
|
||||
uint32_t state;
|
||||
uint32_t type;
|
||||
uint32_t win32_error;
|
||||
uint32_t query_bytes;
|
||||
} gvfg_debug_osd_page_check_t;
|
||||
|
||||
/* Query before releasing the matching successfully delivered frame. */
|
||||
GVFG_DEBUG_API gvfg_status_t gvfg_debug_get_channel_osd_page_check(
|
||||
GVFG_PARAM_IN gvfg_handle handle,
|
||||
GVFG_PARAM_IN int channel_index,
|
||||
GVFG_PARAM_IN uint64_t frame_id,
|
||||
GVFG_PARAM_OUT gvfg_debug_osd_page_check_t *out_check);
|
||||
|
||||
/* frame_id=0 queries build configuration only. Otherwise the frame must still
|
||||
* be held and its ID must match. Never implies a DMA ownership guarantee.
|
||||
* Separate query preserves all existing timing struct layouts/read ABIs.
|
||||
*/
|
||||
GVFG_DEBUG_API gvfg_status_t gvfg_debug_get_channel_osd_experiment_flags(
|
||||
GVFG_PARAM_IN gvfg_handle handle,
|
||||
GVFG_PARAM_IN int channel_index,
|
||||
GVFG_PARAM_IN uint64_t frame_id,
|
||||
GVFG_PARAM_OUT uint32_t *out_flags);
|
||||
|
||||
GVFG_DEBUG_API gvfg_status_t gvfg_debug_read_channel_frame_profiled(
|
||||
GVFG_PARAM_IN gvfg_handle handle,
|
||||
GVFG_PARAM_IN int channel_index,
|
||||
|
||||
Reference in New Issue
Block a user