 |
AJA NTV2 SDK
17.6.0.2675
NTV2 SDK 17.6.0.2675
|
Go to the documentation of this file.
14 #define ABSOL(x) (x < 0 ? -x : x)
15 #define NEGAT(x) (x > 0 ? -x : x)
63 __in_opt LPCTSTR
pName,
64 __inout_opt LPUNKNOWN pUnk,
65 __inout HRESULT *phr);
84 STDMETHODIMP
get_Left(__out
long *pLeft);
86 STDMETHODIMP
get_Width(__out
long *pWidth);
88 STDMETHODIMP
get_Top(__out
long *pTop);
92 STDMETHODIMP
get_Owner(__out OAHWND *Owner);
103 STDMETHODIMP
NotifyOwnerMessage(OAHWND hwnd,
long uMsg,LONG_PTR wParam,LONG_PTR lParam);
107 STDMETHODIMP
GetWindowPosition(__out
long *pLeft,__out
long *pTop,__out
long *pWidth,__out
long *pHeight);
108 STDMETHODIMP
GetRestorePosition(__out
long *pLeft,__out
long *pTop,__out
long *pWidth,__out
long *pHeight);
135 virtual HRESULT
GetStaticImage(__inout
long *pBufferSize,__out_bcount_part(*pBufferSize, *pBufferSize)
long *pDIBImage) PURE;
149 __out LONG *pBufferSize,
150 __in RECT *pSourceRect);
152 HRESULT
CopyImage(IMediaSample *pMediaSample,
153 __in VIDEOINFOHEADER *pVideoInfo,
154 __inout LONG *pBufferSize,
155 __out_bcount_part(*pBufferSize, *pBufferSize) BYTE *pVideoImage,
156 __in RECT *pSourceRect);
180 __in_opt LPCTSTR
pName,
181 __inout_opt LPUNKNOWN pUnk,
182 __inout HRESULT *phr);
210 STDMETHODIMP
GetVideoSize(__out
long *pWidth,__out
long *pHeight);
212 STDMETHODIMP
GetSourcePosition(__out
long *pLeft,__out
long *pTop,__out
long *pWidth,__out
long *pHeight);
213 STDMETHODIMP
GetVideoPaletteEntries(
long StartIndex,
long Entries,__out
long *pRetrieved,__out_ecount_part(Entries, *pRetrieved)
long *pPalette);
217 STDMETHODIMP
GetDestinationPosition(__out
long *pLeft,__out
long *pTop,__out
long *pWidth,__out
long *pHeight);
220 STDMETHODIMP
GetCurrentImage(__inout
long *pBufferSize,__out_bcount_part(*pBufferSize, *pBufferSize)
long *pVideoImage);
223 #endif // __WINCTRL__
STDMETHODIMP GetMaxIdealImageSize(__out long *pWidth, __out long *pHeight)
STDMETHODIMP put_Owner(OAHWND Owner)
STDMETHODIMP get_Top(__out long *pTop)
STDMETHODIMP get_DestinationLeft(__out long *pDestinationLeft)
STDMETHODIMP get_VideoHeight(__out long *pVideoHeight)
STDMETHODIMP get_BitErrorRate(__out long *pBitErrorRate)
STDMETHODIMP get_Visible(__out long *pVisible)
STDMETHODIMP put_WindowState(long WindowState)
virtual HRESULT OnUpdateRectangles()
STDMETHODIMP put_BorderColor(long Color)
STDMETHODIMP put_Left(long Left)
STDMETHODIMP put_Width(long Width)
STDMETHODIMP SetDefaultDestinationPosition()
virtual HRESULT CheckSourceRect(__in RECT *pSourceRect)
STDMETHODIMP get_VideoWidth(__out long *pVideoWidth)
STDMETHODIMP get_WindowState(__out long *pWindowState)
STDMETHODIMP get_BitRate(__out long *pBitRate)
STDMETHODIMP get_Left(__out long *pLeft)
STDMETHODIMP SetDefaultSourcePosition()
virtual HRESULT CheckTargetRect(__in RECT *pTargetRect)
virtual HRESULT SetSourceRect(RECT *pSourceRect) PURE
virtual HRESULT SetTargetRect(RECT *pTargetRect) PURE
COLORREF GetBorderColour()
STDMETHODIMP put_Caption(__in BSTR strCaption)
void SetControlVideoPin(__inout CBasePin *pPin)
STDMETHODIMP get_SourceHeight(__out long *pSourceHeight)
STDMETHODIMP HideCursor(long HideCursor)
HRESULT CopyImage(IMediaSample *pMediaSample, __in VIDEOINFOHEADER *pVideoInfo, __inout LONG *pBufferSize, __out_bcount_part(*pBufferSize, *pBufferSize) BYTE *pVideoImage, __in RECT *pSourceRect)
STDMETHODIMP SetDestinationPosition(long Left, long Top, long Width, long Height)
CBaseControlWindow(__inout CBaseFilter *pFilter, __in CCritSec *pInterfaceLock, __in_opt LPCTSTR pName, __inout_opt LPUNKNOWN pUnk, __inout HRESULT *phr)
STDMETHODIMP get_DestinationTop(__out long *pDestinationTop)
HRESULT DoSetWindowStyle(long Style, long WindowLong)
STDMETHODIMP get_BackgroundPalette(__out long *pBackgroundPalette)
STDMETHODIMP get_AvgTimePerFrame(__out REFTIME *pAvgTimePerFrame)
virtual HRESULT SetDefaultSourceRect() PURE
virtual HRESULT GetTargetRect(RECT *pTargetRect) PURE
void SetControlWindowPin(CBasePin *pPin)
STDMETHODIMP put_Top(long Top)
STDMETHODIMP put_DestinationLeft(long DestinationLeft)
HRESULT DoGetWindowStyle(__out long *pStyle, long WindowLong)
STDMETHODIMP put_DestinationHeight(long DestinationHeight)
STDMETHODIMP get_MessageDrain(__out OAHWND *Drain)
STDMETHODIMP IsUsingDefaultSource()
STDMETHODIMP get_SourceTop(__out long *pSourceTop)
STDMETHODIMP GetDestinationPosition(__out long *pLeft, __out long *pTop, __out long *pWidth, __out long *pHeight)
STDMETHODIMP get_BorderColor(__out long *Color)
virtual HRESULT SetDefaultTargetRect() PURE
STDMETHODIMP put_Visible(long Visible)
STDMETHODIMP put_FullScreenMode(long FullScreenMode)
virtual HRESULT GetStaticImage(__inout long *pBufferSize, __out_bcount_part(*pBufferSize, *pBufferSize) long *pDIBImage) PURE
CBaseControlVideo(__inout CBaseFilter *pFilter, __in CCritSec *pInterfaceLock, __in_opt LPCTSTR pName, __inout_opt LPUNKNOWN pUnk, __inout HRESULT *phr)
STDMETHODIMP get_Owner(__out OAHWND *Owner)
virtual HRESULT GetSourceRect(RECT *pSourceRect) PURE
STDMETHODIMP GetRestorePosition(__out long *pLeft, __out long *pTop, __out long *pWidth, __out long *pHeight)
STDMETHODIMP GetWindowPosition(__out long *pLeft, __out long *pTop, __out long *pWidth, __out long *pHeight)
STDMETHODIMP put_BackgroundPalette(long BackgroundPalette)
STDMETHODIMP SetWindowPosition(long Left, long Top, long Width, long Height)
STDMETHODIMP put_WindowStyle(long WindowStyle)
STDMETHODIMP put_DestinationTop(long DestinationTop)
STDMETHODIMP GetVideoSize(__out long *pWidth, __out long *pHeight)
STDMETHODIMP GetSourcePosition(__out long *pLeft, __out long *pTop, __out long *pWidth, __out long *pHeight)
STDMETHODIMP put_SourceLeft(long SourceLeft)
virtual HRESULT IsDefaultSourceRect() PURE
STDMETHODIMP GetCurrentImage(__inout long *pBufferSize, __out_bcount_part(*pBufferSize, *pBufferSize) long *pVideoImage)
STDMETHODIMP put_MessageDrain(OAHWND Drain)
STDMETHODIMP IsUsingDefaultDestination()
STDMETHODIMP GetVideoPaletteEntries(long StartIndex, long Entries, __out long *pRetrieved, __out_ecount_part(Entries, *pRetrieved) long *pPalette)
STDMETHODIMP get_Width(__out long *pWidth)
BOOL PossiblyEatMessage(UINT uMsg, WPARAM wParam, LPARAM lParam)
STDMETHODIMP put_SourceTop(long SourceTop)
STDMETHODIMP put_DestinationWidth(long DestinationWidth)
STDMETHODIMP put_Height(long Height)
STDMETHODIMP put_SourceHeight(long SourceHeight)
STDMETHODIMP get_FullScreenMode(__out long *FullScreenMode)
STDMETHODIMP SetSourcePosition(long Left, long Top, long Width, long Height)
virtual HRESULT IsDefaultTargetRect() PURE
STDMETHODIMP put_WindowStyleEx(long WindowStyleEx)
STDMETHODIMP get_WindowStyleEx(__out long *pWindowStyleEx)
STDMETHODIMP put_AutoShow(long AutoShow)
STDMETHODIMP get_Height(__out long *pHeight)
STDMETHODIMP put_SourceWidth(long SourceWidth)
BOOL WINAPI PossiblyEatMessage(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
STDMETHODIMP get_SourceWidth(__out long *pSourceWidth)
HRESULT GetImageSize(__in VIDEOINFOHEADER *pVideoInfo, __out LONG *pBufferSize, __in RECT *pSourceRect)
STDMETHODIMP get_DestinationWidth(__out long *pDestinationWidth)
STDMETHODIMP SetWindowForeground(long Focus)
virtual __out VIDEOINFOHEADER * GetVideoFormat() PURE
STDMETHODIMP NotifyOwnerMessage(OAHWND hwnd, long uMsg, LONG_PTR wParam, LONG_PTR lParam)
CCritSec * m_pInterfaceLock
STDMETHODIMP get_Caption(__out BSTR *pstrCaption)
STDMETHODIMP get_SourceLeft(__out long *pSourceLeft)
STDMETHODIMP GetMinIdealImageSize(__out long *pWidth, __out long *pHeight)
STDMETHODIMP get_WindowStyle(__out long *pWindowStyle)
STDMETHODIMP get_DestinationHeight(__out long *pDestinationHeight)
CCritSec * m_pInterfaceLock
STDMETHODIMP get_AutoShow(__out long *AutoShow)
virtual HRESULT OnVideoSizeChange()