Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

92 lines
2.1 KiB

  1. //------------------------------------------------------------------------------
  2. // File: VPNotify.h
  3. //
  4. // Desc:
  5. //
  6. // Copyright (c) 1997 - 2000, Microsoft Corporation. All rights reserved.
  7. //------------------------------------------------------------------------------
  8. #ifndef __IVPNotify__
  9. #define __IVPNotify__
  10. #ifdef __cplusplus
  11. extern "C" {
  12. #endif
  13. // interface IVPBaseNotify
  14. DECLARE_INTERFACE_(IVPBaseNotify, IUnknown)
  15. {
  16. public:
  17. // this function initializes the reconnection to the decoder.
  18. STDMETHOD (RenegotiateVPParameters)(THIS_
  19. ) PURE;
  20. };
  21. // interface IVPNotify
  22. DECLARE_INTERFACE_(IVPNotify, IVPBaseNotify)
  23. {
  24. public:
  25. // function to set the mode (bob, weave etc)
  26. STDMETHOD (SetDeinterlaceMode)(THIS_
  27. IN AMVP_MODE mode
  28. ) PURE;
  29. // function to get the mode (bob, weave etc)
  30. STDMETHOD (GetDeinterlaceMode)(THIS_
  31. OUT AMVP_MODE *pMode
  32. ) PURE;
  33. };
  34. // interface IVPNotify
  35. DECLARE_INTERFACE_(IVPNotify2, IVPNotify)
  36. {
  37. public:
  38. // function to set the mode (bob, weave etc)
  39. STDMETHOD (SetVPSyncMaster)(THIS_
  40. IN BOOL bVPSyncMaster
  41. ) PURE;
  42. // function to get the mode (bob, weave etc)
  43. STDMETHOD (GetVPSyncMaster)(THIS_
  44. OUT BOOL *pbVPSyncMaster
  45. ) PURE;
  46. /*
  47. // this function sets the directdraw surface that the mixer is supposed to use.
  48. STDMETHOD (SetDirectDrawSurface)(THIS_
  49. IN LPDIRECTDRAWSURFACE pDirectDrawSurface
  50. ) PURE;
  51. // this function gets the directdraw surface that the mixer is using
  52. STDMETHOD (GetDirectDrawSurface)(THIS_
  53. OUT LPDIRECTDRAWSURFACE *ppDirectDrawSurface
  54. ) PURE;
  55. // this functions sets the color-controls, if the chip supports it.
  56. STDMETHOD (SetVPColorControls)(THIS_
  57. IN LPDDCOLORCONTROL pColorControl
  58. ) PURE;
  59. // this functions also returns the capability of the hardware in the dwFlags
  60. // value of the struct.
  61. STDMETHOD (GetVPColorControls)(THIS_
  62. OUT LPDDCOLORCONTROL *ppColorControl
  63. ) PURE;
  64. */
  65. };
  66. // interface IVPVBINotify
  67. DECLARE_INTERFACE_(IVPVBINotify, IVPBaseNotify)
  68. {
  69. public:
  70. };
  71. #ifdef __cplusplus
  72. }
  73. #endif
  74. #endif // __IVPNotify__