public int ReleaseDecoderBuffer(IntPtr pDecoder, D3D11_VIDEO_DECODER_BUFFER_TYPE Type) { if (m_ReleaseDecoderBufferFunc == null) { var fp = GetFunctionPointer(8); m_ReleaseDecoderBufferFunc = (ReleaseDecoderBufferFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(ReleaseDecoderBufferFunc)); } return(m_ReleaseDecoderBufferFunc(m_ptr, pDecoder, Type)); }
public int GetDecoderBuffer(IntPtr pDecoder, D3D11_VIDEO_DECODER_BUFFER_TYPE Type, ref uint pBufferSize, ref IntPtr ppBuffer) { if (m_GetDecoderBufferFunc == null) { var fp = GetFunctionPointer(7); m_GetDecoderBufferFunc = (GetDecoderBufferFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetDecoderBufferFunc)); } return(m_GetDecoderBufferFunc(m_ptr, pDecoder, Type, ref pBufferSize, ref ppBuffer)); }
public int ReleaseDecoderBuffer([NativeTypeName("ID3D11VideoDecoder *")] ID3D11VideoDecoder *pDecoder, D3D11_VIDEO_DECODER_BUFFER_TYPE Type) { return(((delegate * unmanaged <ID3D11VideoContext2 *, ID3D11VideoDecoder *, D3D11_VIDEO_DECODER_BUFFER_TYPE, int>)(lpVtbl[8]))((ID3D11VideoContext2 *)Unsafe.AsPointer(ref this), pDecoder, Type)); }
public int GetDecoderBuffer([NativeTypeName("ID3D11VideoDecoder *")] ID3D11VideoDecoder *pDecoder, D3D11_VIDEO_DECODER_BUFFER_TYPE Type, [NativeTypeName("UINT *")] uint *pBufferSize, [NativeTypeName("void **")] void **ppBuffer) { return(((delegate * unmanaged <ID3D11VideoContext2 *, ID3D11VideoDecoder *, D3D11_VIDEO_DECODER_BUFFER_TYPE, uint *, void **, int>)(lpVtbl[7]))((ID3D11VideoContext2 *)Unsafe.AsPointer(ref this), pDecoder, Type, pBufferSize, ppBuffer)); }