#[repr(C)]
pub struct D3D12_VIDEO_ENCODER_DESC { pub NodeMask: u32, pub Flags: D3D12_VIDEO_ENCODER_FLAGS, pub EncodeCodec: D3D12_VIDEO_ENCODER_CODEC, pub EncodeProfile: D3D12_VIDEO_ENCODER_PROFILE_DESC, pub InputFormat: DXGI_FORMAT, pub CodecConfiguration: D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION, pub MaxMotionEstimationPrecision: D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE, }
Expand description

Required features: "Win32_Media_MediaFoundation", "Win32_Graphics_Dxgi_Common"

Fields

NodeMask: u32Flags: D3D12_VIDEO_ENCODER_FLAGSEncodeCodec: D3D12_VIDEO_ENCODER_CODECEncodeProfile: D3D12_VIDEO_ENCODER_PROFILE_DESCInputFormat: DXGI_FORMATCodecConfiguration: D3D12_VIDEO_ENCODER_CODEC_CONFIGURATIONMaxMotionEstimationPrecision: D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.