[][src]Struct uvc_src::uvc_format_desc

#[repr(C)]pub struct uvc_format_desc {
    pub parent: *mut uvc_streaming_interface,
    pub prev: *mut uvc_format_desc,
    pub next: *mut uvc_format_desc,
    pub bDescriptorSubtype: uvc_vs_desc_subtype,
    pub bFormatIndex: u8,
    pub bNumFrameDescriptors: u8,
    pub __bindgen_anon_1: uvc_format_desc__bindgen_ty_1,
    pub __bindgen_anon_2: uvc_format_desc__bindgen_ty_2,
    pub bDefaultFrameIndex: u8,
    pub bAspectRatioX: u8,
    pub bAspectRatioY: u8,
    pub bmInterlaceFlags: u8,
    pub bCopyProtect: u8,
    pub bVariableSize: u8,
    pub frame_descs: *mut uvc_frame_desc,
    pub still_frame_desc: *mut uvc_still_frame_desc,
}

Format descriptor

A "format" determines a stream's image type (e.g., raw YUYV or JPEG) and includes many "frame" configurations.

Fields

parent: *mut uvc_streaming_interfaceprev: *mut uvc_format_descnext: *mut uvc_format_descbDescriptorSubtype: uvc_vs_desc_subtype

Type of image stream, such as JPEG or uncompressed.

bFormatIndex: u8

Identifier of this format within the VS interface's format list

bNumFrameDescriptors: u8__bindgen_anon_1: uvc_format_desc__bindgen_ty_1__bindgen_anon_2: uvc_format_desc__bindgen_ty_2bDefaultFrameIndex: u8

Default {uvc_frame_desc} to choose given this format

bAspectRatioX: u8bAspectRatioY: u8bmInterlaceFlags: u8bCopyProtect: u8bVariableSize: u8frame_descs: *mut uvc_frame_desc

Available frame specifications for this format

still_frame_desc: *mut uvc_still_frame_desc

Trait Implementations

impl Clone for uvc_format_desc[src]

impl Copy for uvc_format_desc[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.