public int CreateVideoProcessorOutputView(IntPtr pResource, IntPtr pEnum, ref D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC pDesc, ref IntPtr ppVPOView)
 {
     if (m_CreateVideoProcessorOutputViewFunc == null)
     {
         var fp = GetFunctionPointer(9);
         m_CreateVideoProcessorOutputViewFunc = (CreateVideoProcessorOutputViewFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(CreateVideoProcessorOutputViewFunc));
     }
     return(m_CreateVideoProcessorOutputViewFunc(m_ptr, pResource, pEnum, ref pDesc, ref ppVPOView));
 }
Exemple #2
0
 public void GetDesc(ref D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC pDesc)
 {
     if (m_GetDescFunc == null)
     {
         var fp = GetFunctionPointer(8);
         m_GetDescFunc = (GetDescFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetDescFunc));
     }
     m_GetDescFunc(m_ptr, ref pDesc);
 }