
NVAPI VIO
Quadro SDI Output PG-03776-001_v06 | 86
// Signal format details
typedef struct _NVVIOSIGNALFORMATDETAIL
{
NVVIOSIGNALFORMAT signalFormat; // Signal format enumerated
value
NVVIOVIDEOMODE videoMode; // Video mode for signal format
}NVVIOSIGNALFORMATDETAIL;
// Buffer formats
#define NVVIOBUFFERFORMAT_R8G8B8 0x00000001 //
R8:G8:B8
#define NVVIOBUFFERFORMAT_R8G8B8Z24 0x00000002 //
R8:G8:B8:Z24
#define NVVIOBUFFERFORMAT_R8G8B8A8 0x00000004 //
R8:G8:B8:A8
#define NVVIOBUFFERFORMAT_R8G8B8A8Z24 0x00000008 //
R8:G8:B8:A8:Z24
#define NVVIOBUFFERFORMAT_R16FPG16FPB16FP 0x00000010 //
R16FP:G16FP:B16FP
#define NVVIOBUFFERFORMAT_R16FPG16FPB16FPZ24 0x00000020 //
R16FP:G16FP:B16FP:Z24
#define NVVIOBUFFERFORMAT_R16FPG16FPB16FPA16FP 0x00000040 //
R16FP:G16FP:B16FP:A16FP
#define NVVIOBUFFERFORMAT_R16FPG16FPB16FPA16FPZ24 0x00000080 //
R16FP:G16FP:B16FP:A16FP:Z24
// Data format details
typedef struct _NVVIODATAFORMATDETAIL
{
NVVIODATAFORMAT dataFormat; // Data format enumerated value
NvU32 vioCaps; // Data format capabilities
(NVVIOCAPS_* mask)
}NVVIODATAFORMATDETAIL;
// Colorspace conversion
typedef struct _NVVIOCOLORCONVERSION
{
NvU32 version; // Structure version
float colorMatrix[3][3]; // Output[n] =
float colorOffset[3]; // Input[0] * colorMatrix[n][0] +
float colorScale[3]; // Input[1] * colorMatrix[n][1] +
// Input[2] * colorMatrix[n][2] +
// OutputRange * colorOffset[n]
// where OutputRange is the
standard magnitude of
// Output[n][n] and colorMatrix
and colorOffset
// values are within the range -
1.0 to +1.0
NvU32 compositeSafe; // compositeSafe constrains
luminance range when using composite output
} NVVIOCOLORCONVERSION;
Comentarios a estos manuales