dxgicommon.idl 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /*
  2. * Copyright 2017 Ihsan Akmal
  3. *
  4. * This library is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU Lesser General Public
  6. * License as published by the Free Software Foundation; either
  7. * version 2.1 of the License, or (at your option) any later version.
  8. *
  9. * This library is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  12. * Lesser General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU Lesser General Public
  15. * License along with this library; if not, write to the Free Software
  16. * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  17. */
  18. cpp_quote("#if 0")
  19. typedef unsigned int UINT;
  20. cpp_quote("#endif")
  21. const UINT DXGI_STANDARD_MULTISAMPLE_QUALITY_PATTERN = 0xffffffff;
  22. const UINT DXGI_CENTER_MULTISAMPLE_QUALITY_PATTERN = 0xfffffffe;
  23. typedef enum DXGI_COLOR_SPACE_TYPE
  24. {
  25. DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709 = 0x00,
  26. DXGI_COLOR_SPACE_RGB_FULL_G10_NONE_P709 = 0x01,
  27. DXGI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P709 = 0x02,
  28. DXGI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P2020 = 0x03,
  29. DXGI_COLOR_SPACE_RESERVED = 0x04,
  30. DXGI_COLOR_SPACE_YCBCR_FULL_G22_NONE_P709_X601 = 0x05,
  31. DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P601 = 0x06,
  32. DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P601 = 0x07,
  33. DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P709 = 0x08,
  34. DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P709 = 0x09,
  35. DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P2020 = 0x0a,
  36. DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P2020 = 0x0b,
  37. DXGI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020 = 0x0c,
  38. DXGI_COLOR_SPACE_YCBCR_STUDIO_G2084_LEFT_P2020 = 0x0d,
  39. DXGI_COLOR_SPACE_RGB_STUDIO_G2084_NONE_P2020 = 0x0e,
  40. DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_TOPLEFT_P2020 = 0x0f,
  41. DXGI_COLOR_SPACE_YCBCR_STUDIO_G2084_TOPLEFT_P2020 = 0x10,
  42. DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P2020 = 0x11,
  43. DXGI_COLOR_SPACE_YCBCR_STUDIO_GHLG_TOPLEFT_P2020 = 0x12,
  44. DXGI_COLOR_SPACE_YCBCR_FULL_GHLG_TOPLEFT_P2020 = 0x13,
  45. DXGI_COLOR_SPACE_CUSTOM = 0xffffffff,
  46. } DXGI_COLOR_SPACE_TYPE;
  47. typedef struct DXGI_SAMPLE_DESC
  48. {
  49. UINT Count;
  50. UINT Quality;
  51. } DXGI_SAMPLE_DESC;
  52. typedef struct DXGI_RATIONAL
  53. {
  54. UINT Numerator;
  55. UINT Denominator;
  56. } DXGI_RATIONAL;