ID3D11VideoDeviceVtbl

Struct ID3D11VideoDeviceVtbl 

Source
#[repr(C)]
pub struct ID3D11VideoDeviceVtbl {
Show 18 fields pub parent: IUnknownVtbl, pub CreateVideoDecoder: unsafe extern "system" fn(This: *mut ID3D11VideoDevice, pVideoDesc: *const D3D11_VIDEO_DECODER_DESC, pConfig: *const D3D11_VIDEO_DECODER_CONFIG, ppDecoder: *mut *mut ID3D11VideoDecoder) -> HRESULT, pub CreateVideoProcessor: unsafe extern "system" fn(This: *mut ID3D11VideoDevice, pEnum: *mut ID3D11VideoProcessorEnumerator, RateConversionIndex: UINT, ppVideoProcessor: *mut *mut ID3D11VideoProcessor) -> HRESULT, pub CreateAuthenticatedChannel: unsafe extern "system" fn(This: *mut ID3D11VideoDevice, ChannelType: D3D11_AUTHENTICATED_CHANNEL_TYPE, ppAuthenticatedChannel: *mut *mut ID3D11AuthenticatedChannel) -> HRESULT, pub CreateCryptoSession: unsafe extern "system" fn(This: *mut ID3D11VideoDevice, pCryptoType: *const GUID, pDecoderProfile: *const GUID, pKeyExchangeType: *const GUID, ppCryptoSession: *mut *mut ID3D11CryptoSession) -> HRESULT, pub CreateVideoDecoderOutputView: unsafe extern "system" fn(This: *mut ID3D11VideoDevice, pResource: *mut ID3D11Resource, pDesc: *const D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC, ppVDOVView: *mut *mut ID3D11VideoDecoderOutputView) -> HRESULT, pub CreateVideoProcessorInputView: unsafe extern "system" fn(This: *mut ID3D11VideoDevice, pResource: *mut ID3D11Resource, pEnum: *mut ID3D11VideoProcessorEnumerator, pDesc: *const D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC, ppVPIView: *mut *mut ID3D11VideoProcessorInputView) -> HRESULT, pub CreateVideoProcessorOutputView: unsafe extern "system" fn(This: *mut ID3D11VideoDevice, pResource: *mut ID3D11Resource, pEnum: *mut ID3D11VideoProcessorEnumerator, pDesc: *const D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC, ppVPOView: *mut *mut ID3D11VideoProcessorOutputView) -> HRESULT, pub CreateVideoProcessorEnumerator: unsafe extern "system" fn(This: *mut ID3D11VideoDevice, pDesc: *const D3D11_VIDEO_PROCESSOR_CONTENT_DESC, ppEnum: *mut *mut ID3D11VideoProcessorEnumerator) -> HRESULT, pub GetVideoDecoderProfileCount: unsafe extern "system" fn(This: *mut ID3D11VideoDevice) -> UINT, pub GetVideoDecoderProfile: unsafe extern "system" fn(This: *mut ID3D11VideoDevice, Index: UINT, pDecoderProfile: *mut GUID) -> HRESULT, pub CheckVideoDecoderFormat: unsafe extern "system" fn(This: *mut ID3D11VideoDevice, pDecoderProfile: *const GUID, Format: DXGI_FORMAT, pSupported: *mut BOOL) -> HRESULT, pub GetVideoDecoderConfigCount: unsafe extern "system" fn(This: *mut ID3D11VideoDevice, pDesc: *const D3D11_VIDEO_DECODER_DESC, pCount: *mut UINT) -> HRESULT, pub GetVideoDecoderConfig: unsafe extern "system" fn(This: *mut ID3D11VideoDevice, pDesc: *const D3D11_VIDEO_DECODER_DESC, Index: UINT, pConfig: *mut D3D11_VIDEO_DECODER_CONFIG) -> HRESULT, pub GetContentProtectionCaps: unsafe extern "system" fn(This: *mut ID3D11VideoDevice, pCryptoType: *const GUID, pDecoderProfile: *const GUID, pCaps: *mut D3D11_VIDEO_CONTENT_PROTECTION_CAPS) -> HRESULT, pub CheckCryptoKeyExchange: unsafe extern "system" fn(This: *mut ID3D11VideoDevice, pCryptoType: *const GUID, pDecoderProfile: *const GUID, Index: UINT, pKeyExchangeType: *mut GUID) -> HRESULT, pub SetPrivateData: unsafe extern "system" fn(This: *mut ID3D11VideoDevice, guid: REFGUID, DataSize: UINT, pData: *const c_void) -> HRESULT, pub SetPrivateDataInterface: unsafe extern "system" fn(This: *mut ID3D11VideoDevice, guid: REFGUID, pData: *const IUnknown) -> HRESULT,
}

Fields§

§parent: IUnknownVtbl§CreateVideoDecoder: unsafe extern "system" fn(This: *mut ID3D11VideoDevice, pVideoDesc: *const D3D11_VIDEO_DECODER_DESC, pConfig: *const D3D11_VIDEO_DECODER_CONFIG, ppDecoder: *mut *mut ID3D11VideoDecoder) -> HRESULT§CreateVideoProcessor: unsafe extern "system" fn(This: *mut ID3D11VideoDevice, pEnum: *mut ID3D11VideoProcessorEnumerator, RateConversionIndex: UINT, ppVideoProcessor: *mut *mut ID3D11VideoProcessor) -> HRESULT§CreateAuthenticatedChannel: unsafe extern "system" fn(This: *mut ID3D11VideoDevice, ChannelType: D3D11_AUTHENTICATED_CHANNEL_TYPE, ppAuthenticatedChannel: *mut *mut ID3D11AuthenticatedChannel) -> HRESULT§CreateCryptoSession: unsafe extern "system" fn(This: *mut ID3D11VideoDevice, pCryptoType: *const GUID, pDecoderProfile: *const GUID, pKeyExchangeType: *const GUID, ppCryptoSession: *mut *mut ID3D11CryptoSession) -> HRESULT§CreateVideoDecoderOutputView: unsafe extern "system" fn(This: *mut ID3D11VideoDevice, pResource: *mut ID3D11Resource, pDesc: *const D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC, ppVDOVView: *mut *mut ID3D11VideoDecoderOutputView) -> HRESULT§CreateVideoProcessorInputView: unsafe extern "system" fn(This: *mut ID3D11VideoDevice, pResource: *mut ID3D11Resource, pEnum: *mut ID3D11VideoProcessorEnumerator, pDesc: *const D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC, ppVPIView: *mut *mut ID3D11VideoProcessorInputView) -> HRESULT§CreateVideoProcessorOutputView: unsafe extern "system" fn(This: *mut ID3D11VideoDevice, pResource: *mut ID3D11Resource, pEnum: *mut ID3D11VideoProcessorEnumerator, pDesc: *const D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC, ppVPOView: *mut *mut ID3D11VideoProcessorOutputView) -> HRESULT§CreateVideoProcessorEnumerator: unsafe extern "system" fn(This: *mut ID3D11VideoDevice, pDesc: *const D3D11_VIDEO_PROCESSOR_CONTENT_DESC, ppEnum: *mut *mut ID3D11VideoProcessorEnumerator) -> HRESULT§GetVideoDecoderProfileCount: unsafe extern "system" fn(This: *mut ID3D11VideoDevice) -> UINT§GetVideoDecoderProfile: unsafe extern "system" fn(This: *mut ID3D11VideoDevice, Index: UINT, pDecoderProfile: *mut GUID) -> HRESULT§CheckVideoDecoderFormat: unsafe extern "system" fn(This: *mut ID3D11VideoDevice, pDecoderProfile: *const GUID, Format: DXGI_FORMAT, pSupported: *mut BOOL) -> HRESULT§GetVideoDecoderConfigCount: unsafe extern "system" fn(This: *mut ID3D11VideoDevice, pDesc: *const D3D11_VIDEO_DECODER_DESC, pCount: *mut UINT) -> HRESULT§GetVideoDecoderConfig: unsafe extern "system" fn(This: *mut ID3D11VideoDevice, pDesc: *const D3D11_VIDEO_DECODER_DESC, Index: UINT, pConfig: *mut D3D11_VIDEO_DECODER_CONFIG) -> HRESULT§GetContentProtectionCaps: unsafe extern "system" fn(This: *mut ID3D11VideoDevice, pCryptoType: *const GUID, pDecoderProfile: *const GUID, pCaps: *mut D3D11_VIDEO_CONTENT_PROTECTION_CAPS) -> HRESULT§CheckCryptoKeyExchange: unsafe extern "system" fn(This: *mut ID3D11VideoDevice, pCryptoType: *const GUID, pDecoderProfile: *const GUID, Index: UINT, pKeyExchangeType: *mut GUID) -> HRESULT§SetPrivateData: unsafe extern "system" fn(This: *mut ID3D11VideoDevice, guid: REFGUID, DataSize: UINT, pData: *const c_void) -> HRESULT§SetPrivateDataInterface: unsafe extern "system" fn(This: *mut ID3D11VideoDevice, guid: REFGUID, pData: *const IUnknown) -> HRESULT

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.