[][src]Struct uvc_src::uvc_frame_desc

#[repr(C)]pub struct uvc_frame_desc {
    pub parent: *mut uvc_format_desc,
    pub prev: *mut uvc_frame_desc,
    pub next: *mut uvc_frame_desc,
    pub bDescriptorSubtype: uvc_vs_desc_subtype,
    pub bFrameIndex: u8,
    pub bmCapabilities: u8,
    pub wWidth: u16,
    pub wHeight: u16,
    pub dwMinBitRate: u32,
    pub dwMaxBitRate: u32,
    pub dwMaxVideoFrameBufferSize: u32,
    pub dwDefaultFrameInterval: u32,
    pub dwMinFrameInterval: u32,
    pub dwMaxFrameInterval: u32,
    pub dwFrameIntervalStep: u32,
    pub bFrameIntervalType: u8,
    pub dwBytesPerLine: u32,
    pub intervals: *mut u32,
}

Frame descriptor

A "frame" is a configuration of a streaming format for a particular image size at one of possibly several available frame rates.

Fields

parent: *mut uvc_format_descprev: *mut uvc_frame_descnext: *mut uvc_frame_descbDescriptorSubtype: uvc_vs_desc_subtype

Type of frame, such as JPEG frame or uncompressed frme

bFrameIndex: u8

Index of the frame within the list of specs available for this format

bmCapabilities: u8wWidth: u16

Image width

wHeight: u16

Image height

dwMinBitRate: u32

Bitrate of corresponding stream at minimal frame rate

dwMaxBitRate: u32

Bitrate of corresponding stream at maximal frame rate

dwMaxVideoFrameBufferSize: u32

Maximum number of bytes for a video frame

dwDefaultFrameInterval: u32

Default frame interval (in 100ns units)

dwMinFrameInterval: u32

Minimum frame interval for continuous mode (100ns units)

dwMaxFrameInterval: u32

Maximum frame interval for continuous mode (100ns units)

dwFrameIntervalStep: u32

Granularity of frame interval range for continuous mode (100ns)

bFrameIntervalType: u8

Frame intervals

dwBytesPerLine: u32

number of bytes per line

intervals: *mut u32

Available frame rates, zero-terminated (in 100ns units)

Trait Implementations

impl Clone for uvc_frame_desc[src]

impl Copy for uvc_frame_desc[src]

impl Debug for uvc_frame_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.