#[repr(C)]pub struct AVDeviceCapabilitiesQuery {Show 13 fields
pub av_class: *const AVClass,
pub device_context: *mut AVFormatContext,
pub codec: AVCodecID,
pub sample_format: AVSampleFormat,
pub pixel_format: AVPixelFormat,
pub sample_rate: c_int,
pub channels: c_int,
pub channel_layout: i64,
pub window_width: c_int,
pub window_height: c_int,
pub frame_width: c_int,
pub frame_height: c_int,
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 AVClass
§device_context: *mut AVFormatContext
§codec: AVCodecID
§sample_format: AVSampleFormat
§pixel_format: AVPixelFormat
§sample_rate: c_int
§channels: c_int
§channel_layout: i64
§window_width: c_int
§window_height: c_int
§frame_width: c_int
§frame_height: c_int
§fps: AVRational
Trait Implementations§
source§impl Clone for AVDeviceCapabilitiesQuery
impl Clone for AVDeviceCapabilitiesQuery
source§fn clone(&self) -> AVDeviceCapabilitiesQuery
fn clone(&self) -> AVDeviceCapabilitiesQuery
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AVDeviceCapabilitiesQuery
impl Debug for AVDeviceCapabilitiesQuery
source§impl PartialEq for AVDeviceCapabilitiesQuery
impl PartialEq for AVDeviceCapabilitiesQuery
source§fn eq(&self, other: &AVDeviceCapabilitiesQuery) -> bool
fn eq(&self, other: &AVDeviceCapabilitiesQuery) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AVDeviceCapabilitiesQuery
impl Eq for AVDeviceCapabilitiesQuery
impl StructuralPartialEq for AVDeviceCapabilitiesQuery
Auto Trait Implementations§
impl Freeze for AVDeviceCapabilitiesQuery
impl RefUnwindSafe for AVDeviceCapabilitiesQuery
impl !Send for AVDeviceCapabilitiesQuery
impl !Sync for AVDeviceCapabilitiesQuery
impl Unpin for AVDeviceCapabilitiesQuery
impl UnwindSafe for AVDeviceCapabilitiesQuery
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more