[−][src]Struct uvc_src::uvc_frame
An image frame received from the UVC device @ingroup streaming
Fields
data: *mut c_void
Image data for this frame
data_bytes: size_t
Size of image data buffer
width: u32
Width of image in pixels
height: u32
Height of image in pixels
frame_format: uvc_frame_format
Pixel data format
step: size_t
Number of bytes per horizontal line (undefined for compressed format)
sequence: u32
Frame number (may skip, but is strictly monotonically increasing)
capture_time: timeval
Estimate of system time when the device started capturing the image
capture_time_finished: timespec
Estimate of system time when the device finished receiving the image
source: *mut uvc_device_handle_t
Handle on the device that produced the image. @warning You must not call any uvc_* functions during a callback.
library_owns_data: u8
Is the data buffer owned by the library? If 1, the data buffer can be arbitrarily reallocated by frame conversion functions. If 0, the data buffer will not be reallocated or freed by the library. Set this field to zero if you are supplying the buffer.
metadata: *mut c_void
Metadata for this frame if available
metadata_bytes: size_t
Size of metadata buffer
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for uvc_frame
impl !Send for uvc_frame
impl !Sync for uvc_frame
impl Unpin for uvc_frame
impl UnwindSafe for uvc_frame
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,