Extend preview formats and refine SDK internals
Compared with 55dfed7:
- add GRAY16, RGBA16, and native DICOM YBR_FULL_422 formats to the shared preview API with format-specific upload layouts
- add GPU shaders and FP16 conversion paths for high-precision grayscale, RGBA, and full-range DICOM YBR_FULL_422 rendering
- propagate source bit depth through the DICOM YBR conversion parameters and refresh cached shader parameters when it changes
- remove unnecessary const and mutable qualifiers from Gigabyte capture session operations that open channels or refresh cached device state
- package the Release SDK runtime DLLs with the Debug Sample and document the runtime selection policy
Validation: git diff --check passed. The full SDK build, DICOM sample matrix, and hardware runtime behavior were not rerun for this commit.
This commit is contained in:
@@ -38,7 +38,15 @@ typedef struct gvfg_preview_handle_t *gvfg_preview_handle;
|
||||
typedef enum
|
||||
{
|
||||
GVFG_PREVIEW_PIXFMT_Y210 = 2,
|
||||
GVFG_PREVIEW_PIXFMT_YUY2 = 3
|
||||
GVFG_PREVIEW_PIXFMT_YUY2 = 3,
|
||||
GVFG_PREVIEW_PIXFMT_GRAY16 = 4,
|
||||
|
||||
/* Four interleaved 16-bit UNORM components per pixel: R, G, B, A. */
|
||||
GVFG_PREVIEW_PIXFMT_RGBA16 = 5,
|
||||
|
||||
/* DICOM native YBR_FULL_422: four 16-bit words per pixel pair,
|
||||
* ordered Y0, Y1, Cb, Cr. Values are right-aligned to bit_depth. */
|
||||
GVFG_PREVIEW_PIXFMT_DICOM_YBR_FULL_422 = 6
|
||||
} gvfg_preview_pixel_format_t;
|
||||
|
||||
typedef struct
|
||||
|
||||
Reference in New Issue
Block a user