예제 #1
0
 public int DecoderUpdateDownsampling([NativeTypeName("ID3D11VideoDecoder *")] ID3D11VideoDecoder *pDecoder, [NativeTypeName("const D3D11_VIDEO_SAMPLE_DESC *")] D3D11_VIDEO_SAMPLE_DESC *pOutputDesc)
 {
     return(((delegate * unmanaged <ID3D11VideoContext2 *, ID3D11VideoDecoder *, D3D11_VIDEO_SAMPLE_DESC *, int>)(lpVtbl[69]))((ID3D11VideoContext2 *)Unsafe.AsPointer(ref this), pDecoder, pOutputDesc));
 }
 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));
 }
예제 #3
0
 public int DecoderEnableDownsampling([NativeTypeName("ID3D11VideoDecoder *")] 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 <ID3D11VideoContext2 *, ID3D11VideoDecoder *, DXGI_COLOR_SPACE_TYPE, D3D11_VIDEO_SAMPLE_DESC *, uint, int>)(lpVtbl[68]))((ID3D11VideoContext2 *)Unsafe.AsPointer(ref this), pDecoder, InputColorSpace, pOutputDesc, ReferenceFrameCount));
 }
 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));
 }