windows::Win32::Media::MediaFoundation

Trait IMFVideoSampleAllocator_Impl

pub trait IMFVideoSampleAllocator_Impl: IUnknownImpl {
    // Required methods
    fn SetDirectXManager(&self, pmanager: Ref<'_, IUnknown>) -> Result<()>;
    fn UninitializeSampleAllocator(&self) -> Result<()>;
    fn InitializeSampleAllocator(
        &self,
        crequestedframes: u32,
        pmediatype: Ref<'_, IMFMediaType>,
    ) -> Result<()>;
    fn AllocateSample(&self) -> Result<IMFSample>;
}

Required Methods§

fn SetDirectXManager(&self, pmanager: Ref<'_, IUnknown>) -> Result<()>

fn UninitializeSampleAllocator(&self) -> Result<()>

fn InitializeSampleAllocator( &self, crequestedframes: u32, pmediatype: Ref<'_, IMFMediaType>, ) -> Result<()>

fn AllocateSample(&self) -> Result<IMFSample>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§