pub trait IMFVideoSampleAllocator_Impl: Sized {
// Required methods
fn SetDirectXManager(&self, pmanager: Option<&IUnknown>) -> Result<()>;
fn UninitializeSampleAllocator(&self) -> Result<()>;
fn InitializeSampleAllocator(
&self,
crequestedframes: u32,
pmediatype: Option<&IMFMediaType>,
) -> Result<()>;
fn AllocateSample(&self) -> Result<IMFSample>;
}
Required Methods§
fn SetDirectXManager(&self, pmanager: Option<&IUnknown>) -> Result<()>
fn UninitializeSampleAllocator(&self) -> Result<()>
fn InitializeSampleAllocator( &self, crequestedframes: u32, pmediatype: Option<&IMFMediaType>, ) -> Result<()>
fn AllocateSample(&self) -> Result<IMFSample>
Object Safety§
This trait is not object safe.