public int CreateVideoDecoderOutputView(IntPtr pResource, ref D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC pDesc, ref IntPtr ppVDOVView) { if (m_CreateVideoDecoderOutputViewFunc == null) { var fp = GetFunctionPointer(7); m_CreateVideoDecoderOutputViewFunc = (CreateVideoDecoderOutputViewFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(CreateVideoDecoderOutputViewFunc)); } return(m_CreateVideoDecoderOutputViewFunc(m_ptr, pResource, ref pDesc, ref ppVDOVView)); }
public void GetDesc(ref D3D11_VIDEO_DECODER_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); }