Example #1
0
 public int GetDecoderBuffer(ID3D11VideoDecoder *pDecoder, D3D11_VIDEO_DECODER_BUFFER_TYPE Type, [NativeTypeName("UINT *")] uint *pBufferSize, void **ppBuffer)
 {
     return(((delegate * unmanaged <ID3D11VideoContext1 *, ID3D11VideoDecoder *, D3D11_VIDEO_DECODER_BUFFER_TYPE, uint *, void **, int>)(lpVtbl[7]))((ID3D11VideoContext1 *)Unsafe.AsPointer(ref this), pDecoder, Type, pBufferSize, ppBuffer));
 }
Example #2
0
 public int DecoderEnableDownsampling(ID3D11VideoDecoder *pDecoder, DXGI_COLOR_SPACE_TYPE InputColorSpace, [NativeTypeName("const D3D11_VIDEO_SAMPLE_DESC *")] D3D11_VIDEO_SAMPLE_DESC *pOutputDesc, [NativeTypeName("UINT")] uint ReferenceFrameCount)
 {
     return(((delegate * unmanaged <ID3D11VideoContext1 *, ID3D11VideoDecoder *, DXGI_COLOR_SPACE_TYPE, D3D11_VIDEO_SAMPLE_DESC *, uint, int>)(lpVtbl[68]))((ID3D11VideoContext1 *)Unsafe.AsPointer(ref this), pDecoder, InputColorSpace, pOutputDesc, ReferenceFrameCount));
 }
Example #3
0
 public int DecoderUpdateDownsampling(ID3D11VideoDecoder *pDecoder, [NativeTypeName("const D3D11_VIDEO_SAMPLE_DESC *")] D3D11_VIDEO_SAMPLE_DESC *pOutputDesc)
 {
     return(((delegate * unmanaged <ID3D11VideoContext1 *, ID3D11VideoDecoder *, D3D11_VIDEO_SAMPLE_DESC *, int>)(lpVtbl[69]))((ID3D11VideoContext1 *)Unsafe.AsPointer(ref this), pDecoder, pOutputDesc));
 }
Example #4
0
 public int DecoderExtension(ID3D11VideoDecoder *pDecoder, [NativeTypeName("const D3D11_VIDEO_DECODER_EXTENSION *")] D3D11_VIDEO_DECODER_EXTENSION *pExtensionData)
 {
     return(((delegate * unmanaged <ID3D11VideoContext1 *, ID3D11VideoDecoder *, D3D11_VIDEO_DECODER_EXTENSION *, int>)(lpVtbl[12]))((ID3D11VideoContext1 *)Unsafe.AsPointer(ref this), pDecoder, pExtensionData));
 }
Example #5
0
 public int SubmitDecoderBuffers1(ID3D11VideoDecoder *pDecoder, [NativeTypeName("UINT")] uint NumBuffers, [NativeTypeName("const D3D11_VIDEO_DECODER_BUFFER_DESC1 *")] D3D11_VIDEO_DECODER_BUFFER_DESC1 *pBufferDesc)
 {
     return(((delegate * unmanaged <ID3D11VideoContext1 *, ID3D11VideoDecoder *, uint, D3D11_VIDEO_DECODER_BUFFER_DESC1 *, int>)(lpVtbl[65]))((ID3D11VideoContext1 *)Unsafe.AsPointer(ref this), pDecoder, NumBuffers, pBufferDesc));
 }
Example #6
0
 public int DecoderEndFrame([NativeTypeName("ID3D11VideoDecoder *")] ID3D11VideoDecoder *pDecoder)
 {
     return(((delegate * stdcall <ID3D11VideoContext *, ID3D11VideoDecoder *, int>)(lpVtbl[10]))((ID3D11VideoContext *)Unsafe.AsPointer(ref this), pDecoder));
 }
Example #7
0
 public int SubmitDecoderBuffers([NativeTypeName("ID3D11VideoDecoder *")] ID3D11VideoDecoder *pDecoder, [NativeTypeName("UINT")] uint NumBuffers, [NativeTypeName("const D3D11_VIDEO_DECODER_BUFFER_DESC *")] D3D11_VIDEO_DECODER_BUFFER_DESC *pBufferDesc)
 {
     return(((delegate * stdcall <ID3D11VideoContext *, ID3D11VideoDecoder *, uint, D3D11_VIDEO_DECODER_BUFFER_DESC *, int>)(lpVtbl[11]))((ID3D11VideoContext *)Unsafe.AsPointer(ref this), pDecoder, NumBuffers, pBufferDesc));
 }
Example #8
0
 public int DecoderBeginFrame([NativeTypeName("ID3D11VideoDecoder *")] ID3D11VideoDecoder *pDecoder, [NativeTypeName("ID3D11VideoDecoderOutputView *")] ID3D11VideoDecoderOutputView *pView, [NativeTypeName("UINT")] uint ContentKeySize, [NativeTypeName("const void *")] void *pContentKey)
 {
     return(((delegate * stdcall <ID3D11VideoContext *, ID3D11VideoDecoder *, ID3D11VideoDecoderOutputView *, uint, void *, int>)(lpVtbl[9]))((ID3D11VideoContext *)Unsafe.AsPointer(ref this), pDecoder, pView, ContentKeySize, pContentKey));
 }
Example #9
0
 public int ReleaseDecoderBuffer([NativeTypeName("ID3D11VideoDecoder *")] ID3D11VideoDecoder *pDecoder, D3D11_VIDEO_DECODER_BUFFER_TYPE Type)
 {
     return(((delegate * stdcall <ID3D11VideoContext *, ID3D11VideoDecoder *, D3D11_VIDEO_DECODER_BUFFER_TYPE, int>)(lpVtbl[8]))((ID3D11VideoContext *)Unsafe.AsPointer(ref this), pDecoder, Type));
 }
Example #10
0
 public int DecoderBeginFrame1([NativeTypeName("ID3D11VideoDecoder *")] ID3D11VideoDecoder *pDecoder, [NativeTypeName("ID3D11VideoDecoderOutputView *")] ID3D11VideoDecoderOutputView *pView, [NativeTypeName("UINT")] uint ContentKeySize, [NativeTypeName("const void *")] void *pContentKey, [NativeTypeName("UINT")] uint NumComponentHistograms, [NativeTypeName("const UINT *")] uint *pHistogramOffsets, [NativeTypeName("ID3D11Buffer *const *")] ID3D11Buffer **ppHistogramBuffers)
 {
     return(((delegate * unmanaged <ID3D11VideoContext3 *, ID3D11VideoDecoder *, ID3D11VideoDecoderOutputView *, uint, void *, uint, uint *, ID3D11Buffer **, int>)(lpVtbl[83]))((ID3D11VideoContext3 *)Unsafe.AsPointer(ref this), pDecoder, pView, ContentKeySize, pContentKey, NumComponentHistograms, pHistogramOffsets, ppHistogramBuffers));
 }
Example #11
0
 public int DecoderEndFrame(ID3D11VideoDecoder *pDecoder)
 {
     return(((delegate * unmanaged <ID3D11VideoContext3 *, ID3D11VideoDecoder *, int>)(lpVtbl[10]))((ID3D11VideoContext3 *)Unsafe.AsPointer(ref this), pDecoder));
 }
Example #12
0
 public int ReleaseDecoderBuffer(ID3D11VideoDecoder *pDecoder, D3D11_VIDEO_DECODER_BUFFER_TYPE Type)
 {
     return(((delegate * unmanaged <ID3D11VideoContext3 *, ID3D11VideoDecoder *, D3D11_VIDEO_DECODER_BUFFER_TYPE, int>)(lpVtbl[8]))((ID3D11VideoContext3 *)Unsafe.AsPointer(ref this), pDecoder, Type));
 }