#[repr(C)]pub struct IDirectXVideoDecoder {
pub lpVtbl: *const IDirectXVideoDecoderVtbl,
}
Fields§
§lpVtbl: *const IDirectXVideoDecoderVtbl
Implementations§
Source§impl IDirectXVideoDecoder
impl IDirectXVideoDecoder
pub unsafe fn GetVideoDecoderService( &self, ppService: *mut *mut IDirectXVideoDecoderService, ) -> HRESULT
pub unsafe fn GetCreationParameters( &self, pDeviceGuid: *mut GUID, pVideoDesc: *mut DXVA2_VideoDesc, pConfig: *mut DXVA2_ConfigPictureDecode, pDecoderRenderTargets: *mut *mut *mut IDirect3DSurface9, pNumSurfaces: *mut UINT, ) -> HRESULT
pub unsafe fn GetBuffer( &self, BufferType: UINT, ppBuffer: *mut *mut c_void, pBufferSize: *mut UINT, ) -> HRESULT
pub unsafe fn ReleaseBuffer(&self, BufferType: UINT) -> HRESULT
pub unsafe fn BeginFrame( &self, pRenderTarget: *mut IDirect3DSurface9, pvPVPData: *mut c_void, ) -> HRESULT
pub unsafe fn EndFrame(&self, pHandleComplete: *mut HANDLE) -> HRESULT
pub unsafe fn Execute( &self, pExecuteParams: *const DXVA2_DecodeExecuteParams, ) -> HRESULT
Trait Implementations§
Source§impl Deref for IDirectXVideoDecoder
impl Deref for IDirectXVideoDecoder
Auto Trait Implementations§
impl Freeze for IDirectXVideoDecoder
impl RefUnwindSafe for IDirectXVideoDecoder
impl !Send for IDirectXVideoDecoder
impl !Sync for IDirectXVideoDecoder
impl Unpin for IDirectXVideoDecoder
impl UnwindSafe for IDirectXVideoDecoder
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