#ifndef __dxgitype_h__
#define __dxgitype_h__
#include "dxgicommon.h"
#include "dxgiformat.h"
#define _FACDXGI 0x87a
#define MAKE_DXGI_HRESULT(code) MAKE_HRESULT(1, _FACDXGI, code)
#define MAKE_DXGI_STATUS(code) MAKE_HRESULT(0, _FACDXGI, code)
#define DXGI_CPU_ACCESS_NONE ( 0 )
#define DXGI_CPU_ACCESS_DYNAMIC ( 1 )
#define DXGI_CPU_ACCESS_READ_WRITE ( 2 )
#define DXGI_CPU_ACCESS_SCRATCH ( 3 )
#define DXGI_CPU_ACCESS_FIELD 15
typedef
struct
{
float
;
float
;
float
;
}
;
#ifndef D3DCOLORVALUE_DEFINED
typedef
struct
{
float
;
float
;
float
;
float
;
}
;
#define D3DCOLORVALUE_DEFINED
#endif
typedef
;
typedef
struct
{
;
;
[
1025
];
}
;
typedef
struct
DXGI_GAMMA_CONTROL_CAPABILITIES
{
;
float
;
float
;
;
float
[
1025
];
}
DXGI_GAMMA_CONTROL_CAPABILITIES
;
typedef
enum
{
DXGI_MODE_SCANLINE_ORDER_UNSPECIFIED
=
0
,
DXGI_MODE_SCANLINE_ORDER_PROGRESSIVE
=
1
,
DXGI_MODE_SCANLINE_ORDER_UPPER_FIELD_FIRST
=
2
,
DXGI_MODE_SCANLINE_ORDER_LOWER_FIELD_FIRST
=
3
}
;
typedef
enum
{
DXGI_MODE_SCALING_UNSPECIFIED
=
0
,
DXGI_MODE_SCALING_CENTERED
=
1
,
DXGI_MODE_SCALING_STRETCHED
=
2
}
;
typedef
enum
{
DXGI_MODE_ROTATION_UNSPECIFIED
=
0
,
DXGI_MODE_ROTATION_IDENTITY
=
1
,
DXGI_MODE_ROTATION_ROTATE90
=
2
,
DXGI_MODE_ROTATION_ROTATE180
=
3
,
DXGI_MODE_ROTATION_ROTATE270
=
4
}
;
typedef
struct
{
;
;
;
;
;
;
}
;
typedef
struct
DXGI_JPEG_DC_HUFFMAN_TABLE
{
[
12
];
[
12
];
}
DXGI_JPEG_DC_HUFFMAN_TABLE
;
typedef
struct
DXGI_JPEG_AC_HUFFMAN_TABLE
{
[
16
];
[
162
];
}
DXGI_JPEG_AC_HUFFMAN_TABLE
;
typedef
struct
DXGI_JPEG_QUANTIZATION_TABLE
{
[
64
];
}
DXGI_JPEG_QUANTIZATION_TABLE
;
#endif // __dxgitype_h__