public HRESULT ProcessInput([NativeTypeName("DWORD")] uint dwInputStreamID, IMFSample *pSample, [NativeTypeName("DWORD")] uint dwFlags)
 {
     return(((delegate * unmanaged <IMFTransform *, uint, IMFSample *, uint, int>)(lpVtbl[24]))((IMFTransform *)Unsafe.AsPointer(ref this), dwInputStreamID, pSample, dwFlags));
 }
 public int OnReadSample([NativeTypeName("HRESULT")] int hrStatus, [NativeTypeName("DWORD")] uint dwStreamIndex, [NativeTypeName("DWORD")] uint dwStreamFlags, [NativeTypeName("LONGLONG")] long llTimestamp, IMFSample *pSample)
 {
     return(((delegate * unmanaged <IMFSourceReaderCallback2 *, int, uint, uint, long, IMFSample *, int>)(lpVtbl[3]))((IMFSourceReaderCallback2 *)Unsafe.AsPointer(ref this), hrStatus, dwStreamIndex, dwStreamFlags, llTimestamp, pSample));
 }
Exemplo n.º 3
0
 public int ProcessSample([NativeTypeName("IMFSample *")] IMFSample *pSample)
 {
     return(((delegate * unmanaged <IMFStreamSink *, IMFSample *, int>)(lpVtbl[10]))((IMFStreamSink *)Unsafe.AsPointer(ref this), pSample));
 }
 public int NotifyPrune([NativeTypeName("IMFSample *")] IMFSample *__MIDL__IMFVideoSampleAllocatorNotifyEx0000)
 {
     return(((delegate * unmanaged <IMFVideoSampleAllocatorNotifyEx *, IMFSample *, int>)(lpVtbl[4]))((IMFVideoSampleAllocatorNotifyEx *)Unsafe.AsPointer(ref this), __MIDL__IMFVideoSampleAllocatorNotifyEx0000));
 }
 public int WriteSample([NativeTypeName("DWORD")] uint dwStreamIndex, IMFSample *pSample)
 {
     return(((delegate * unmanaged <IMFSinkWriter *, uint, IMFSample *, int>)(lpVtbl[6]))((IMFSinkWriter *)Unsafe.AsPointer(ref this), dwStreamIndex, pSample));
 }
 public HRESULT NotifyPrune(IMFSample *__MIDL__IMFVideoSampleAllocatorNotifyEx0000)
 {
     return(((delegate * unmanaged <IMFVideoSampleAllocatorNotifyEx *, IMFSample *, int>)(lpVtbl[4]))((IMFVideoSampleAllocatorNotifyEx *)Unsafe.AsPointer(ref this), __MIDL__IMFVideoSampleAllocatorNotifyEx0000));
 }
Exemplo n.º 7
0
 public int OnSample(IMFSample *pSample)
 {
     return(((delegate * unmanaged <IMFCaptureEngineOnSampleCallback2 *, IMFSample *, int>)(lpVtbl[3]))((IMFCaptureEngineOnSampleCallback2 *)Unsafe.AsPointer(ref this), pSample));
 }
Exemplo n.º 8
0
 public int SetSample([NativeTypeName("IMFSample *")] IMFSample *value)
 {
     return(((delegate * unmanaged <IMFMediaStreamSourceSampleRequest *, IMFSample *, int>)(lpVtbl[3]))((IMFMediaStreamSourceSampleRequest *)Unsafe.AsPointer(ref this), value));
 }
Exemplo n.º 9
0
 public int CreateFromMFSample(IMFSample *data, [NativeTypeName("const GUID &")] Guid *subtype, [NativeTypeName("UINT32")] uint width, [NativeTypeName("UINT32")] uint height, [NativeTypeName("BOOL")] int forceReadOnly, [NativeTypeName("const MFVideoArea *")] MFVideoArea *minDisplayAperture, IMFDXGIDeviceManager *device, [NativeTypeName("const IID &")] Guid *riid, [NativeTypeName("LPVOID *")] void **ppv)
 {
     return(((delegate * unmanaged <IVideoFrameNativeFactory *, IMFSample *, Guid *, uint, uint, int, MFVideoArea *, IMFDXGIDeviceManager *, Guid *, void **, int>)(lpVtbl[6]))((IVideoFrameNativeFactory *)Unsafe.AsPointer(ref this), data, subtype, width, height, forceReadOnly, minDisplayAperture, device, riid, ppv));
 }
Exemplo n.º 10
0
 public int NotifyProcessInput([NativeTypeName("IMFTopologyNode *")] IMFTopologyNode *pNode, [NativeTypeName("long")] int lInputIndex, [NativeTypeName("IMFSample *")] IMFSample *pSample)
 {
     return(((delegate * unmanaged <IMFQualityManager *, IMFTopologyNode *, int, IMFSample *, int>)(lpVtbl[5]))((IMFQualityManager *)Unsafe.AsPointer(ref this), pNode, lInputIndex, pSample));
 }
 public HRESULT NotifyProcessOutput(IMFTopologyNode *pNode, [NativeTypeName("long")] int lOutputIndex, IMFSample *pSample)
 {
     return(((delegate * unmanaged <IMFQualityManager *, IMFTopologyNode *, int, IMFSample *, int>)(lpVtbl[6]))((IMFQualityManager *)Unsafe.AsPointer(ref this), pNode, lOutputIndex, pSample));
 }
Exemplo n.º 12
0
 public int BeginWriteSample([NativeTypeName("IMFSample *")] IMFSample *pSample, [NativeTypeName("IMFAsyncCallback *")] IMFAsyncCallback *pCallback, [NativeTypeName("IUnknown *")] IUnknown *punkState)
 {
     return(((delegate * unmanaged <IMFSampleOutputStream *, IMFSample *, IMFAsyncCallback *, IUnknown *, int>)(lpVtbl[3]))((IMFSampleOutputStream *)Unsafe.AsPointer(ref this), pSample, pCallback, punkState));
 }
 public HRESULT CreateFromMFSample(IMFSample *data, BOOL forceReadOnly, [NativeTypeName("const IID &")] Guid *riid, [NativeTypeName("LPVOID *")] void **ppv)
 {
     return(((delegate * unmanaged <IAudioFrameNativeFactory *, IMFSample *, BOOL, Guid *, void **, int>)(lpVtbl[6]))((IAudioFrameNativeFactory *)Unsafe.AsPointer(ref this), data, forceReadOnly, riid, ppv));
 }
 public HRESULT SetSample(IMFSample *value)
 {
     return(((delegate * unmanaged <IMFMediaStreamSourceSampleRequest *, IMFSample *, int>)(lpVtbl[3]))((IMFMediaStreamSourceSampleRequest *)Unsafe.AsPointer(ref this), value));
 }
 public HRESULT ProcessSample(IMFSample *pSample)
 {
     return(((delegate * unmanaged <IMFStreamSink *, IMFSample *, int>)(lpVtbl[10]))((IMFStreamSink *)Unsafe.AsPointer(ref this), pSample));
 }
 public HRESULT BeginWriteSample(IMFSample *pSample, IMFAsyncCallback *pCallback, IUnknown *punkState)
 {
     return(((delegate * unmanaged <IMFSampleOutputStream *, IMFSample *, IMFAsyncCallback *, IUnknown *, int>)(lpVtbl[3]))((IMFSampleOutputStream *)Unsafe.AsPointer(ref this), pSample, pCallback, punkState));
 }