diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-08-02 18:36:50 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-08-02 18:36:50 +0200 |
commit | a786dd45a4ebc6b91936b5e46d0ef0a9befc05af (patch) | |
tree | ced50966eaaf373f8733547046baf2bdc558662d /sdk/dx8sdk/Include/vpnotify.h | |
parent | Merge branch 'master' of https://github.com/GTAmodding/re3 into erorcun (diff) | |
download | re3-a786dd45a4ebc6b91936b5e46d0ef0a9befc05af.tar re3-a786dd45a4ebc6b91936b5e46d0ef0a9befc05af.tar.gz re3-a786dd45a4ebc6b91936b5e46d0ef0a9befc05af.tar.bz2 re3-a786dd45a4ebc6b91936b5e46d0ef0a9befc05af.tar.lz re3-a786dd45a4ebc6b91936b5e46d0ef0a9befc05af.tar.xz re3-a786dd45a4ebc6b91936b5e46d0ef0a9befc05af.tar.zst re3-a786dd45a4ebc6b91936b5e46d0ef0a9befc05af.zip |
Diffstat (limited to 'sdk/dx8sdk/Include/vpnotify.h')
-rw-r--r-- | sdk/dx8sdk/Include/vpnotify.h | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/sdk/dx8sdk/Include/vpnotify.h b/sdk/dx8sdk/Include/vpnotify.h new file mode 100644 index 00000000..2e1d1b6b --- /dev/null +++ b/sdk/dx8sdk/Include/vpnotify.h @@ -0,0 +1,92 @@ +//------------------------------------------------------------------------------ +// File: VPNotify.h +// +// Desc: +// +// Copyright (c) 1997-2001, Microsoft Corporation. All rights reserved. +//------------------------------------------------------------------------------ + + +#ifndef __IVPNotify__ +#define __IVPNotify__ + +#ifdef __cplusplus +extern "C" { +#endif + +// interface IVPBaseNotify +DECLARE_INTERFACE_(IVPBaseNotify, IUnknown) +{ +public: + // this function initializes the reconnection to the decoder. + STDMETHOD (RenegotiateVPParameters)(THIS_ + ) PURE; + +}; + +// interface IVPNotify +DECLARE_INTERFACE_(IVPNotify, IVPBaseNotify) +{ +public: + // function to set the mode (bob, weave etc) + STDMETHOD (SetDeinterlaceMode)(THIS_ + IN AMVP_MODE mode + ) PURE; + + // function to get the mode (bob, weave etc) + STDMETHOD (GetDeinterlaceMode)(THIS_ + OUT AMVP_MODE *pMode + ) PURE; +}; + +// interface IVPNotify +DECLARE_INTERFACE_(IVPNotify2, IVPNotify) +{ +public: +// function to set the mode (bob, weave etc) + STDMETHOD (SetVPSyncMaster)(THIS_ + IN BOOL bVPSyncMaster + ) PURE; + + // function to get the mode (bob, weave etc) + STDMETHOD (GetVPSyncMaster)(THIS_ + OUT BOOL *pbVPSyncMaster + ) PURE; + + /* + // this function sets the directdraw surface that the mixer is supposed to use. + STDMETHOD (SetDirectDrawSurface)(THIS_ + IN LPDIRECTDRAWSURFACE pDirectDrawSurface + ) PURE; + + // this function gets the directdraw surface that the mixer is using + STDMETHOD (GetDirectDrawSurface)(THIS_ + OUT LPDIRECTDRAWSURFACE *ppDirectDrawSurface + ) PURE; + + // this functions sets the color-controls, if the chip supports it. + STDMETHOD (SetVPColorControls)(THIS_ + IN LPDDCOLORCONTROL pColorControl + ) PURE; + + // this functions also returns the capability of the hardware in the dwFlags + // value of the struct. + STDMETHOD (GetVPColorControls)(THIS_ + OUT LPDDCOLORCONTROL *ppColorControl + ) PURE; + */ +}; + + +// interface IVPVBINotify +DECLARE_INTERFACE_(IVPVBINotify, IVPBaseNotify) +{ +public: +}; + +#ifdef __cplusplus +} +#endif + + +#endif // __IVPNotify__ |