public int GetVideoProcessorRateConversionCaps(uint TypeIndex, ref D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS pCaps)
 {
     if (m_GetVideoProcessorRateConversionCapsFunc == null)
     {
         var fp = GetFunctionPointer(10);
         m_GetVideoProcessorRateConversionCapsFunc = (GetVideoProcessorRateConversionCapsFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetVideoProcessorRateConversionCapsFunc));
     }
     return(m_GetVideoProcessorRateConversionCapsFunc(m_ptr, TypeIndex, ref pCaps));
 }
Exemplo n.º 2
0
 public void GetRateConversionCaps(ref D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS pCaps)
 {
     if (m_GetRateConversionCapsFunc == null)
     {
         var fp = GetFunctionPointer(8);
         m_GetRateConversionCapsFunc = (GetRateConversionCapsFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetRateConversionCapsFunc));
     }
     m_GetRateConversionCapsFunc(m_ptr, ref pCaps);
 }