public int GetVideoProcessorFilterRange(D3D11_VIDEO_PROCESSOR_FILTER Filter, ref D3D11_VIDEO_PROCESSOR_FILTER_RANGE pRange)
 {
     if (m_GetVideoProcessorFilterRangeFunc == null)
     {
         var fp = GetFunctionPointer(12);
         m_GetVideoProcessorFilterRangeFunc = (GetVideoProcessorFilterRangeFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetVideoProcessorFilterRangeFunc));
     }
     return(m_GetVideoProcessorFilterRangeFunc(m_ptr, Filter, ref pRange));
 }
Exemplo n.º 2
0
 public void VideoProcessorGetStreamFilter([NativeTypeName("ID3D11VideoProcessor *")] ID3D11VideoProcessor *pVideoProcessor, [NativeTypeName("UINT")] uint StreamIndex, D3D11_VIDEO_PROCESSOR_FILTER Filter, [NativeTypeName("BOOL *")] int *pEnabled, [NativeTypeName("int *")] int *pLevel)
 {
     ((delegate * unmanaged <ID3D11VideoContext2 *, ID3D11VideoProcessor *, uint, D3D11_VIDEO_PROCESSOR_FILTER, int *, int *, void>)(lpVtbl[51]))((ID3D11VideoContext2 *)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, pEnabled, pLevel);
 }
 public void VideoProcessorSetStreamFilter([NativeTypeName("ID3D11VideoProcessor *")] ID3D11VideoProcessor *pVideoProcessor, [NativeTypeName("UINT")] uint StreamIndex, D3D11_VIDEO_PROCESSOR_FILTER Filter, [NativeTypeName("BOOL")] int Enable, int Level)
 {
     ((delegate * stdcall <ID3D11VideoContext3 *, ID3D11VideoProcessor *, uint, D3D11_VIDEO_PROCESSOR_FILTER, int, int, void>)(lpVtbl[38]))((ID3D11VideoContext3 *)Unsafe.AsPointer(ref this), pVideoProcessor, StreamIndex, Filter, Enable, Level);
 }
Exemplo n.º 4
0
 public HRESULT GetVideoProcessorFilterRange(D3D11_VIDEO_PROCESSOR_FILTER Filter, D3D11_VIDEO_PROCESSOR_FILTER_RANGE *pRange)
 {
     return(((delegate * unmanaged <ID3D11VideoProcessorEnumerator *, D3D11_VIDEO_PROCESSOR_FILTER, D3D11_VIDEO_PROCESSOR_FILTER_RANGE *, int>)(lpVtbl[12]))((ID3D11VideoProcessorEnumerator *)Unsafe.AsPointer(ref this), Filter, pRange));
 }
 public int GetVideoProcessorFilterRange(D3D11_VIDEO_PROCESSOR_FILTER Filter, [NativeTypeName("D3D11_VIDEO_PROCESSOR_FILTER_RANGE *")] D3D11_VIDEO_PROCESSOR_FILTER_RANGE *pRange)
 {
     return(((delegate * stdcall <ID3D11VideoProcessorEnumerator1 *, D3D11_VIDEO_PROCESSOR_FILTER, D3D11_VIDEO_PROCESSOR_FILTER_RANGE *, int>)(lpVtbl[12]))((ID3D11VideoProcessorEnumerator1 *)Unsafe.AsPointer(ref this), Filter, pRange));
 }
Exemplo n.º 6
0
 public void VideoProcessorGetStreamFilter(IntPtr pVideoProcessor, uint StreamIndex, D3D11_VIDEO_PROCESSOR_FILTER Filter, ref int pEnabled, ref int pLevel)
 {
     if (m_VideoProcessorGetStreamFilterFunc == null)
     {
         var fp = GetFunctionPointer(51);
         m_VideoProcessorGetStreamFilterFunc = (VideoProcessorGetStreamFilterFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(VideoProcessorGetStreamFilterFunc));
     }
     m_VideoProcessorGetStreamFilterFunc(m_ptr, pVideoProcessor, StreamIndex, Filter, ref pEnabled, ref pLevel);
 }