windows::Win32::Media::MediaFoundation

Trait ID3D12VideoEncoder_Impl

pub trait ID3D12VideoEncoder_Impl: ID3D12Pageable_Impl {
    // Required methods
    fn GetNodeMask(&self) -> u32;
    fn GetEncoderFlags(&self) -> D3D12_VIDEO_ENCODER_FLAGS;
    fn GetCodec(&self) -> D3D12_VIDEO_ENCODER_CODEC;
    fn GetCodecProfile(
        &self,
        dstprofile: &D3D12_VIDEO_ENCODER_PROFILE_DESC,
    ) -> Result<()>;
    fn GetCodecConfiguration(
        &self,
        dstcodecconfig: &D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION,
    ) -> Result<()>;
    fn GetInputFormat(&self) -> DXGI_FORMAT;
    fn GetMaxMotionEstimationPrecision(
        &self,
    ) -> D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE;
}

Required Methods§

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§