tvout.h 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. /**
  2. * This file has no copyright assigned and is placed in the Public Domain.
  3. * This file is part of the mingw-w64 runtime package.
  4. * No warranty is given; refer to the file DISCLAIMER.PD within this package.
  5. */
  6. #ifndef __TVOUT__
  7. #define __TVOUT__
  8. #include <guiddef.h>
  9. typedef struct _VIDEOPARAMETERS {
  10. GUID Guid;
  11. ULONG dwOffset;
  12. ULONG dwCommand;
  13. ULONG dwFlags;
  14. ULONG dwMode;
  15. ULONG dwTVStandard;
  16. ULONG dwAvailableModes;
  17. ULONG dwAvailableTVStandard;
  18. ULONG dwFlickerFilter;
  19. ULONG dwOverScanX;
  20. ULONG dwOverScanY;
  21. ULONG dwMaxUnscaledX;
  22. ULONG dwMaxUnscaledY;
  23. ULONG dwPositionX;
  24. ULONG dwPositionY;
  25. ULONG dwBrightness;
  26. ULONG dwContrast;
  27. ULONG dwCPType;
  28. ULONG dwCPCommand;
  29. ULONG dwCPStandard;
  30. ULONG dwCPKey;
  31. ULONG bCP_APSTriggerBits;
  32. UCHAR bOEMCopyProtection[256];
  33. } VIDEOPARAMETERS,*PVIDEOPARAMETERS,*LPVIDEOPARAMETERS;
  34. #define VP_COMMAND_GET 0x0001
  35. #define VP_COMMAND_SET 0x0002
  36. #define VP_FLAGS_TV_MODE 0x0001
  37. #define VP_FLAGS_TV_STANDARD 0x0002
  38. #define VP_FLAGS_FLICKER 0x0004
  39. #define VP_FLAGS_OVERSCAN 0x0008
  40. #define VP_FLAGS_MAX_UNSCALED 0x0010
  41. #define VP_FLAGS_POSITION 0x0020
  42. #define VP_FLAGS_BRIGHTNESS 0x0040
  43. #define VP_FLAGS_CONTRAST 0x0080
  44. #define VP_FLAGS_COPYPROTECT 0x0100
  45. #define VP_MODE_WIN_GRAPHICS 0x0001
  46. #define VP_MODE_TV_PLAYBACK 0x0002
  47. #define VP_TV_STANDARD_NTSC_M 0x0001
  48. #define VP_TV_STANDARD_NTSC_M_J 0x0002
  49. #define VP_TV_STANDARD_PAL_B 0x0004
  50. #define VP_TV_STANDARD_PAL_D 0x0008
  51. #define VP_TV_STANDARD_PAL_H 0x0010
  52. #define VP_TV_STANDARD_PAL_I 0x0020
  53. #define VP_TV_STANDARD_PAL_M 0x0040
  54. #define VP_TV_STANDARD_PAL_N 0x0080
  55. #define VP_TV_STANDARD_SECAM_B 0x0100
  56. #define VP_TV_STANDARD_SECAM_D 0x0200
  57. #define VP_TV_STANDARD_SECAM_G 0x0400
  58. #define VP_TV_STANDARD_SECAM_H 0x0800
  59. #define VP_TV_STANDARD_SECAM_K 0x1000
  60. #define VP_TV_STANDARD_SECAM_K1 0x2000
  61. #define VP_TV_STANDARD_SECAM_L 0x4000
  62. #define VP_TV_STANDARD_WIN_VGA 0x8000
  63. #define VP_TV_STANDARD_NTSC_433 0x00010000
  64. #define VP_TV_STANDARD_PAL_G 0x00020000
  65. #define VP_TV_STANDARD_PAL_60 0x00040000
  66. #define VP_TV_STANDARD_SECAM_L1 0x00080000
  67. #define VP_CP_TYPE_APS_TRIGGER 0x0001
  68. #define VP_CP_TYPE_MACROVISION 0x0002
  69. #define VP_CP_CMD_ACTIVATE 0x0001
  70. #define VP_CP_CMD_DEACTIVATE 0x0002
  71. #define VP_CP_CMD_CHANGE 0x0004
  72. #endif