Move capture safeguards into the SDK
Compared with 0fc22a1:
- normalize public pixel-format values and keep release diagnostics backend-neutral
- enforce the cross-channel Y210 constraint in the SDK and simplify the customer-facing contract
This commit is contained in:
@@ -37,8 +37,8 @@ typedef struct gvfg_preview_handle_t *gvfg_preview_handle;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
GVFG_PREVIEW_PIXFMT_YUY2 = 1,
|
||||
GVFG_PREVIEW_PIXFMT_Y210 = 2,
|
||||
GVFG_PREVIEW_PIXFMT_YUY2 = 3,
|
||||
GVFG_PREVIEW_PIXFMT_GRAY16 = 4,
|
||||
|
||||
/* Four interleaved 16-bit UNORM components per pixel: R, G, B, A. */
|
||||
|
||||
Reference in New Issue
Block a user