NVIDIA Corporation
Quadro FX 4500/5500 SDI User’s Guide – Version 2.0 61
CHAPTER 5
API Control
P-Buffer Format Defines #define NVGVOPBUFFERFORMAT_R8G8B8 0x00000001 // R8:G8:B8
#define NVGVOPBUFFERFORMAT_R8G8B8Z24 0x00000002 // R8:G8:B8:Z24
#define NVGVOPBUFFERFORMAT_R8G8B8A8 0x00000004 // R8:G8:B8:A8
#define NVGVOPBUFFERFORMAT_R8G8B8A8Z24 0x00000008 // R8:G8:B8:A8:Z24
#define NVGVOPBUFFERFORMAT_R16FPG16FPB16FP 0x00000010 // R16FP:G16FP:B16FP
#define NVGVOPBUFFERFORMAT_R16FPG16FPB16FPZ24 0x00000020
// R16FP:G16FP:B16FP:Z24
#define NVGVOPBUFFERFORMAT_R16FPG16FPB16FPA16FP 0x00000040
// R16FP:G16FP:B16FP:A16FP
#define NVGVOPBUFFERFORMAT_R16FPG16FPB16FPA16FPZ24 0x00000080
// R16FP:G16FP:B16FP:A16FP:Z24
Data Format Details Structuretypedef struct tagNVGVODATAFORMATDETAIL
{
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;
} NVGVODATAFORMATDETAIL;