#[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: AVRationalTrait 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<AVDeviceCapabilitiesQuery> for AVDeviceCapabilitiesQuery
impl PartialEq<AVDeviceCapabilitiesQuery> 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 ==.