コード例 #1
0
 public int CreateVideoDecoder([NativeTypeName("const D3D11_VIDEO_DECODER_DESC *")] D3D11_VIDEO_DECODER_DESC *pVideoDesc, [NativeTypeName("const D3D11_VIDEO_DECODER_CONFIG *")] D3D11_VIDEO_DECODER_CONFIG *pConfig, [NativeTypeName("ID3D11VideoDecoder **")] ID3D11VideoDecoder **ppDecoder)
 {
     return(((delegate * unmanaged <ID3D11VideoDevice *, D3D11_VIDEO_DECODER_DESC *, D3D11_VIDEO_DECODER_CONFIG *, ID3D11VideoDecoder **, int>)(lpVtbl[3]))((ID3D11VideoDevice *)Unsafe.AsPointer(ref this), pVideoDesc, pConfig, ppDecoder));
 }
コード例 #2
0
 public int GetVideoDecoderConfig([NativeTypeName("const D3D11_VIDEO_DECODER_DESC *")] D3D11_VIDEO_DECODER_DESC *pDesc, [NativeTypeName("UINT")] uint Index, [NativeTypeName("D3D11_VIDEO_DECODER_CONFIG *")] D3D11_VIDEO_DECODER_CONFIG *pConfig)
 {
     return(((delegate * unmanaged <ID3D11VideoDevice *, D3D11_VIDEO_DECODER_DESC *, uint, D3D11_VIDEO_DECODER_CONFIG *, int>)(lpVtbl[15]))((ID3D11VideoDevice *)Unsafe.AsPointer(ref this), pDesc, Index, pConfig));
 }
コード例 #3
0
 public int RecommendVideoDecoderDownsampleParameters([NativeTypeName("const D3D11_VIDEO_DECODER_DESC *")] D3D11_VIDEO_DECODER_DESC *pInputDesc, DXGI_COLOR_SPACE_TYPE InputColorSpace, [NativeTypeName("const D3D11_VIDEO_DECODER_CONFIG *")] D3D11_VIDEO_DECODER_CONFIG *pInputConfig, [NativeTypeName("const DXGI_RATIONAL *")] DXGI_RATIONAL *pFrameRate, D3D11_VIDEO_SAMPLE_DESC *pRecommendedOutputDesc)
 {
     return(((delegate * unmanaged <ID3D11VideoDevice2 *, D3D11_VIDEO_DECODER_DESC *, DXGI_COLOR_SPACE_TYPE, D3D11_VIDEO_DECODER_CONFIG *, DXGI_RATIONAL *, D3D11_VIDEO_SAMPLE_DESC *, int>)(lpVtbl[23]))((ID3D11VideoDevice2 *)Unsafe.AsPointer(ref this), pInputDesc, InputColorSpace, pInputConfig, pFrameRate, pRecommendedOutputDesc));
 }
コード例 #4
0
 public int CheckVideoDecoderDownsampling([NativeTypeName("const D3D11_VIDEO_DECODER_DESC *")] D3D11_VIDEO_DECODER_DESC *pInputDesc, DXGI_COLOR_SPACE_TYPE InputColorSpace, [NativeTypeName("const D3D11_VIDEO_DECODER_CONFIG *")] D3D11_VIDEO_DECODER_CONFIG *pInputConfig, [NativeTypeName("const DXGI_RATIONAL *")] DXGI_RATIONAL *pFrameRate, [NativeTypeName("const D3D11_VIDEO_SAMPLE_DESC *")] D3D11_VIDEO_SAMPLE_DESC *pOutputDesc, [NativeTypeName("BOOL *")] int *pSupported, [NativeTypeName("BOOL *")] int *pRealTimeHint)
 {
     return(((delegate * unmanaged <ID3D11VideoDevice2 *, D3D11_VIDEO_DECODER_DESC *, DXGI_COLOR_SPACE_TYPE, D3D11_VIDEO_DECODER_CONFIG *, DXGI_RATIONAL *, D3D11_VIDEO_SAMPLE_DESC *, int *, int *, int>)(lpVtbl[22]))((ID3D11VideoDevice2 *)Unsafe.AsPointer(ref this), pInputDesc, InputColorSpace, pInputConfig, pFrameRate, pOutputDesc, pSupported, pRealTimeHint));
 }
コード例 #5
0
 public HRESULT GetCreationParameters(D3D11_VIDEO_DECODER_DESC *pVideoDesc, D3D11_VIDEO_DECODER_CONFIG *pConfig)
 {
     return(((delegate * unmanaged <ID3D11VideoDecoder *, D3D11_VIDEO_DECODER_DESC *, D3D11_VIDEO_DECODER_CONFIG *, int>)(lpVtbl[7]))((ID3D11VideoDecoder *)Unsafe.AsPointer(ref this), pVideoDesc, pConfig));
 }
コード例 #6
0
 public int GetCreationParameters([NativeTypeName("D3D11_VIDEO_DECODER_DESC *")] D3D11_VIDEO_DECODER_DESC *pVideoDesc, [NativeTypeName("D3D11_VIDEO_DECODER_CONFIG *")] D3D11_VIDEO_DECODER_CONFIG *pConfig)
 {
     return(((delegate * stdcall <ID3D11VideoDecoder *, D3D11_VIDEO_DECODER_DESC *, D3D11_VIDEO_DECODER_CONFIG *, int>)(lpVtbl[7]))((ID3D11VideoDecoder *)Unsafe.AsPointer(ref this), pVideoDesc, pConfig));
 }