public virtual void GetDesc( out D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC pDesc ) { var fp = GetFunctionPointer(8); if (m_GetDescFunc == null) { m_GetDescFunc = (GetDescFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetDescFunc)); } m_GetDescFunc(m_ptr, out pDesc); }
public virtual int CreateVideoDecoderOutputView( ID3D11Resource pResource, ref D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC pDesc, out ID3D11VideoDecoderOutputView ppVDOVView ) { var fp = GetFunctionPointer(7); if (m_CreateVideoDecoderOutputViewFunc == null) { m_CreateVideoDecoderOutputViewFunc = (CreateVideoDecoderOutputViewFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(CreateVideoDecoderOutputViewFunc)); } ppVDOVView = new ID3D11VideoDecoderOutputView(); return(m_CreateVideoDecoderOutputViewFunc(m_ptr, pResource != null ? pResource.Ptr : IntPtr.Zero, ref pDesc, out ppVDOVView.PtrForNew)); }