windows::Media::Effects

Trait IBasicVideoEffect_Impl

pub trait IBasicVideoEffect_Impl: IMediaExtension_Impl {
    // Required methods
    fn IsReadOnly(&self) -> Result<bool>;
    fn SupportedMemoryTypes(&self) -> Result<MediaMemoryTypes>;
    fn TimeIndependent(&self) -> Result<bool>;
    fn SupportedEncodingProperties(
        &self,
    ) -> Result<IVectorView<VideoEncodingProperties>>;
    fn SetEncodingProperties(
        &self,
        encodingProperties: Ref<'_, VideoEncodingProperties>,
        device: Ref<'_, IDirect3DDevice>,
    ) -> Result<()>;
    fn ProcessFrame(
        &self,
        context: Ref<'_, ProcessVideoFrameContext>,
    ) -> Result<()>;
    fn Close(&self, reason: MediaEffectClosedReason) -> Result<()>;
    fn DiscardQueuedFrames(&self) -> Result<()>;
}

Required Methods§

fn IsReadOnly(&self) -> Result<bool>

fn SupportedMemoryTypes(&self) -> Result<MediaMemoryTypes>

fn TimeIndependent(&self) -> Result<bool>

fn SupportedEncodingProperties( &self, ) -> Result<IVectorView<VideoEncodingProperties>>

fn SetEncodingProperties( &self, encodingProperties: Ref<'_, VideoEncodingProperties>, device: Ref<'_, IDirect3DDevice>, ) -> Result<()>

fn ProcessFrame(&self, context: Ref<'_, ProcessVideoFrameContext>) -> Result<()>

fn Close(&self, reason: MediaEffectClosedReason) -> Result<()>

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

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§