#[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 AVClassdevice_context: *mut AVFormatContextcodec: AVCodecIDsample_format: AVSampleFormatpixel_format: AVPixelFormatsample_rate: c_intchannels: c_intchannel_layout: i64window_width: c_intwindow_height: c_intframe_width: c_intframe_height: c_intfps: AVRationalTrait Implementations
sourceimpl Clone for AVDeviceCapabilitiesQuery
impl Clone for AVDeviceCapabilitiesQuery
sourcefn clone(&self) -> AVDeviceCapabilitiesQuery
fn clone(&self) -> AVDeviceCapabilitiesQuery
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for AVDeviceCapabilitiesQuery
impl Debug for AVDeviceCapabilitiesQuery
sourceimpl PartialEq<AVDeviceCapabilitiesQuery> for AVDeviceCapabilitiesQuery
impl PartialEq<AVDeviceCapabilitiesQuery> for AVDeviceCapabilitiesQuery
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &AVDeviceCapabilitiesQuery) -> bool
fn ne(&self, other: &AVDeviceCapabilitiesQuery) -> bool
This method tests for !=.
impl Copy for AVDeviceCapabilitiesQuery
impl Eq for AVDeviceCapabilitiesQuery
impl StructuralEq for AVDeviceCapabilitiesQuery
impl StructuralPartialEq for AVDeviceCapabilitiesQuery
Auto Trait Implementations
impl RefUnwindSafe for AVDeviceCapabilitiesQuery
impl !Send for AVDeviceCapabilitiesQuery
impl !Sync for AVDeviceCapabilitiesQuery
impl Unpin for AVDeviceCapabilitiesQuery
impl UnwindSafe for AVDeviceCapabilitiesQuery
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more