public int GetVideoProcessorContentDesc(ref D3D11_VIDEO_PROCESSOR_CONTENT_DESC pContentDesc)
 {
     if (m_GetVideoProcessorContentDescFunc == null)
     {
         var fp = GetFunctionPointer(7);
         m_GetVideoProcessorContentDescFunc = (GetVideoProcessorContentDescFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetVideoProcessorContentDescFunc));
     }
     return(m_GetVideoProcessorContentDescFunc(m_ptr, ref pContentDesc));
 }
Ejemplo n.º 2
0
 public int CreateVideoProcessorEnumerator(ref D3D11_VIDEO_PROCESSOR_CONTENT_DESC pDesc, ref IntPtr ppEnum)
 {
     if (m_CreateVideoProcessorEnumeratorFunc == null)
     {
         var fp = GetFunctionPointer(10);
         m_CreateVideoProcessorEnumeratorFunc = (CreateVideoProcessorEnumeratorFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(CreateVideoProcessorEnumeratorFunc));
     }
     return(m_CreateVideoProcessorEnumeratorFunc(m_ptr, ref pDesc, ref ppEnum));
 }
Ejemplo n.º 3
0
 public void GetContentDesc(ref D3D11_VIDEO_PROCESSOR_CONTENT_DESC pDesc)
 {
     if (m_GetContentDescFunc == null)
     {
         var fp = GetFunctionPointer(7);
         m_GetContentDescFunc = (GetContentDescFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetContentDescFunc));
     }
     m_GetContentDescFunc(m_ptr, ref pDesc);
 }