Struct rsmpeg::ffi::AVDeviceCapabilitiesQuery[][src]

#[repr(C)]
pub struct AVDeviceCapabilitiesQuery {
Show fields pub av_class: *const AVClass, pub device_context: *mut AVFormatContext, pub codec: u32, pub sample_format: i32, pub pixel_format: i32, pub sample_rate: i32, pub channels: i32, pub channel_layout: i64, pub window_width: i32, pub window_height: i32, pub frame_width: i32, pub frame_height: i32, pub fps: AVRational,
}
Expand description

Structure describes device capabilities.

It is used by devices in conjunction with av_device_capabilities AVOption table to implement capabilities probing API based on AVOption API. Should not be used directly.

Fields

av_class: *const AVClassdevice_context: *mut AVFormatContextcodec: u32sample_format: i32pixel_format: i32sample_rate: i32channels: i32channel_layout: i64window_width: i32window_height: i32frame_width: i32frame_height: i32fps: AVRational

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. 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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.