dxgicommon.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. //
  2. // Copyright (C) Microsoft. All rights reserved.
  3. //
  4. #ifndef __dxgicommon_h__
  5. #define __dxgicommon_h__
  6. typedef struct DXGI_RATIONAL
  7. {
  8. UINT Numerator;
  9. UINT Denominator;
  10. } DXGI_RATIONAL;
  11. // The following values are used with DXGI_SAMPLE_DESC::Quality:
  12. #define DXGI_STANDARD_MULTISAMPLE_QUALITY_PATTERN 0xffffffff
  13. #define DXGI_CENTER_MULTISAMPLE_QUALITY_PATTERN 0xfffffffe
  14. typedef struct DXGI_SAMPLE_DESC
  15. {
  16. UINT Count;
  17. UINT Quality;
  18. } DXGI_SAMPLE_DESC;
  19. typedef enum DXGI_COLOR_SPACE_TYPE
  20. {
  21. DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709 = 0,
  22. DXGI_COLOR_SPACE_RGB_FULL_G10_NONE_P709 = 1,
  23. DXGI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P709 = 2,
  24. DXGI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P2020 = 3,
  25. DXGI_COLOR_SPACE_RESERVED = 4,
  26. DXGI_COLOR_SPACE_YCBCR_FULL_G22_NONE_P709_X601 = 5,
  27. DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P601 = 6,
  28. DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P601 = 7,
  29. DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P709 = 8,
  30. DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P709 = 9,
  31. DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P2020 = 10,
  32. DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P2020 = 11,
  33. DXGI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020 = 12,
  34. DXGI_COLOR_SPACE_YCBCR_STUDIO_G2084_LEFT_P2020 = 13,
  35. DXGI_COLOR_SPACE_RGB_STUDIO_G2084_NONE_P2020 = 14,
  36. DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_TOPLEFT_P2020 = 15,
  37. DXGI_COLOR_SPACE_YCBCR_STUDIO_G2084_TOPLEFT_P2020 = 16,
  38. DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P2020 = 17,
  39. DXGI_COLOR_SPACE_YCBCR_STUDIO_GHLG_TOPLEFT_P2020 = 18,
  40. DXGI_COLOR_SPACE_YCBCR_FULL_GHLG_TOPLEFT_P2020 = 19,
  41. DXGI_COLOR_SPACE_CUSTOM = 0xFFFFFFFF
  42. } DXGI_COLOR_SPACE_TYPE;
  43. #endif // __dxgicommon_h__