windows::Win32::Media::MediaFoundation

Trait ID3D12VideoEncoderHeap_Impl

pub trait ID3D12VideoEncoderHeap_Impl: ID3D12Pageable_Impl {
    // Required methods
    fn GetNodeMask(&self) -> u32;
    fn GetEncoderHeapFlags(&self) -> D3D12_VIDEO_ENCODER_HEAP_FLAGS;
    fn GetCodec(&self) -> D3D12_VIDEO_ENCODER_CODEC;
    fn GetCodecProfile(
        &self,
        dstprofile: &D3D12_VIDEO_ENCODER_PROFILE_DESC,
    ) -> Result<()>;
    fn GetCodecLevel(
        &self,
        dstlevel: &D3D12_VIDEO_ENCODER_LEVEL_SETTING,
    ) -> Result<()>;
    fn GetResolutionListCount(&self) -> u32;
    fn GetResolutionList(
        &self,
        resolutionslistcount: u32,
        presolutionlist: *mut D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC,
    ) -> Result<()>;
}

Required Methods§

fn GetNodeMask(&self) -> u32

fn GetEncoderHeapFlags(&self) -> D3D12_VIDEO_ENCODER_HEAP_FLAGS

fn GetCodec(&self) -> D3D12_VIDEO_ENCODER_CODEC

fn GetCodecProfile( &self, dstprofile: &D3D12_VIDEO_ENCODER_PROFILE_DESC, ) -> Result<()>

fn GetCodecLevel( &self, dstlevel: &D3D12_VIDEO_ENCODER_LEVEL_SETTING, ) -> Result<()>

fn GetResolutionListCount(&self) -> u32

fn GetResolutionList( &self, resolutionslistcount: u32, presolutionlist: *mut D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC, ) -> 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§