#[repr(C)]pub struct ID3D11VideoDevice1 {
pub lpVtbl: *const ID3D11VideoDevice1Vtbl,
}
Fields§
§lpVtbl: *const ID3D11VideoDevice1Vtbl
Implementations§
Source§impl ID3D11VideoDevice1
impl ID3D11VideoDevice1
pub unsafe fn GetCryptoSessionPrivateDataSize( &self, pCryptoType: *const GUID, pDecoderProfile: *const GUID, pKeyExchangeType: *const GUID, pPrivateInputSize: *mut UINT, pPrivateOutputSize: *mut UINT, ) -> HRESULT
pub unsafe fn GetVideoDecoderCaps( &self, pDecoderProfile: *const GUID, SampleWidth: UINT, SampleHeight: UINT, pFrameRate: *const DXGI_RATIONAL, BitRate: UINT, pCryptoType: *const GUID, pDecoderCaps: *mut UINT, ) -> HRESULT
pub unsafe fn CheckVideoDecoderDownsampling( &self, pInputDesc: *const D3D11_VIDEO_DECODER_DESC, InputColorSpace: DXGI_COLOR_SPACE_TYPE, pInputConfig: *const D3D11_VIDEO_DECODER_CONFIG, pFrameRate: *const DXGI_RATIONAL, pOutputDesc: *const D3D11_VIDEO_SAMPLE_DESC, pSupported: *mut BOOL, pRealTimeHint: *mut BOOL, ) -> HRESULT
pub unsafe fn RecommendVideoDecoderDownsampleParameters( &self, pInputDesc: *const D3D11_VIDEO_DECODER_DESC, InputColorSpace: DXGI_COLOR_SPACE_TYPE, pInputConfig: *const D3D11_VIDEO_DECODER_CONFIG, pRecommendedOutputDesc: *mut D3D11_VIDEO_SAMPLE_DESC, ) -> HRESULT
Methods from Deref<Target = ID3D11VideoDevice>§
pub unsafe fn CreateVideoDecoder( &self, pVideoDesc: *const D3D11_VIDEO_DECODER_DESC, pConfig: *const D3D11_VIDEO_DECODER_CONFIG, ppDecoder: *mut *mut ID3D11VideoDecoder, ) -> HRESULT
pub unsafe fn CreateVideoProcessor( &self, pEnum: *mut ID3D11VideoProcessorEnumerator, RateConversionIndex: UINT, ppVideoProcessor: *mut *mut ID3D11VideoProcessor, ) -> HRESULT
pub unsafe fn CreateAuthenticatedChannel( &self, ChannelType: D3D11_AUTHENTICATED_CHANNEL_TYPE, ppAuthenticatedChannel: *mut *mut ID3D11AuthenticatedChannel, ) -> HRESULT
pub unsafe fn CreateCryptoSession( &self, pCryptoType: *const GUID, pDecoderProfile: *const GUID, pKeyExchangeType: *const GUID, ppCryptoSession: *mut *mut ID3D11CryptoSession, ) -> HRESULT
pub unsafe fn CreateVideoDecoderOutputView( &self, pResource: *mut ID3D11Resource, pDesc: *const D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC, ppVDOVView: *mut *mut ID3D11VideoDecoderOutputView, ) -> HRESULT
pub unsafe fn CreateVideoProcessorInputView( &self, pResource: *mut ID3D11Resource, pEnum: *mut ID3D11VideoProcessorEnumerator, pDesc: *const D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC, ppVPIView: *mut *mut ID3D11VideoProcessorInputView, ) -> HRESULT
pub unsafe fn CreateVideoProcessorOutputView( &self, pResource: *mut ID3D11Resource, pEnum: *mut ID3D11VideoProcessorEnumerator, pDesc: *const D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC, ppVPOView: *mut *mut ID3D11VideoProcessorOutputView, ) -> HRESULT
pub unsafe fn CreateVideoProcessorEnumerator( &self, pDesc: *const D3D11_VIDEO_PROCESSOR_CONTENT_DESC, ppEnum: *mut *mut ID3D11VideoProcessorEnumerator, ) -> HRESULT
pub unsafe fn GetVideoDecoderProfileCount(&self) -> UINT
pub unsafe fn GetVideoDecoderProfile( &self, Index: UINT, pDecoderProfile: *mut GUID, ) -> HRESULT
pub unsafe fn CheckVideoDecoderFormat( &self, pDecoderProfile: *const GUID, Format: DXGI_FORMAT, pSupported: *mut BOOL, ) -> HRESULT
pub unsafe fn GetVideoDecoderConfigCount( &self, pDesc: *const D3D11_VIDEO_DECODER_DESC, pCount: *mut UINT, ) -> HRESULT
pub unsafe fn GetVideoDecoderConfig( &self, pDesc: *const D3D11_VIDEO_DECODER_DESC, Index: UINT, pConfig: *mut D3D11_VIDEO_DECODER_CONFIG, ) -> HRESULT
pub unsafe fn GetContentProtectionCaps( &self, pCryptoType: *const GUID, pDecoderProfile: *const GUID, pCaps: *mut D3D11_VIDEO_CONTENT_PROTECTION_CAPS, ) -> HRESULT
pub unsafe fn CheckCryptoKeyExchange( &self, pCryptoType: *const GUID, pDecoderProfile: *const GUID, Index: UINT, pKeyExchangeType: *mut GUID, ) -> HRESULT
pub unsafe fn SetPrivateData( &self, guid: REFGUID, DataSize: UINT, pData: *const c_void, ) -> HRESULT
pub unsafe fn SetPrivateDataInterface( &self, guid: REFGUID, pData: *const IUnknown, ) -> HRESULT
Trait Implementations§
Source§impl Deref for ID3D11VideoDevice1
impl Deref for ID3D11VideoDevice1
Source§type Target = ID3D11VideoDevice
type Target = ID3D11VideoDevice
The resulting type after dereferencing.
Source§fn deref(&self) -> &ID3D11VideoDevice
fn deref(&self) -> &ID3D11VideoDevice
Dereferences the value.
Auto Trait Implementations§
impl Freeze for ID3D11VideoDevice1
impl RefUnwindSafe for ID3D11VideoDevice1
impl !Send for ID3D11VideoDevice1
impl !Sync for ID3D11VideoDevice1
impl Unpin for ID3D11VideoDevice1
impl UnwindSafe for ID3D11VideoDevice1
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more