NVIDIA Corporation
Quadro FX 4800/5800 and Quadro CX SDI User’s Guide
– Version 1.0
65
C
HAPTER
5
API Control
// R16FP:G16FP:B16FP:Z24
#define NVGVOPBUFFERFORMAT_R16FPG16FPB16FPA16FP 0x00000040
// R16FP:G16FP:B16FP:A16FP
#define NVGVOPBUFFERFORMAT_R16FPG16FPB16FPA16FPZ24 0x00000080
// R16FP:G16FP:B16FP:A16FP:Z24
Data Format Details Structure
struct NVGVODATAFORMATDETAIL
{
WORD cbSize; // Caller sets to
sizeof(NVGVODATAFORMATDETAIL)
NVGVODATAFORMAT dataFormat; // Data format enumerated value
DWORD dwCaps; // Data format capabilities
(NVGVOCAPS_* mask)
struct
{
DWORD dwPbufferFormats; // Supported p-buffer formats
(NVGVOPBUFFERFORMAT_* mask)
DWORD dwPbufferCount; // Number of p-buffers
char szValueName[NVVALUENAME_MAXLEN];
// Data format input name, in the form:
// <name>
// "R8:G8:B8:A8"
} in;
struct
{
char szValueName[NVVALUENAME_MAXLEN];
// Data format output name, in the form:
// <name>\t<format>
// "YCrCbA\t(4:2:2:4)"
} out;
};
Device Configuration Defines
These
are
dwFields
masks
indicating
NVGVOCONFIG
fields
to
use
for
NvGvoGet/Set/
Test/CreateDefaultConfig()
.
#define NVGVOCONFIG_SIGNALFORMAT 0x00000001 // dwFields: signalFormat
#define NVGVOCONFIG_DATAFORMAT 0x00000002 // dwFields: dataFormat
#define NVGVOCONFIG_OUTPUTREGION 0x00000004 // dwFields: outputRegion