[][src]Struct libdc1394_sys::__dc1394_video_frame

#[repr(C)]
pub struct __dc1394_video_frame { pub image: *mut c_uchar, pub size: [u32; 2], pub position: [u32; 2], pub color_coding: Type, pub color_filter: Type, pub yuv_byte_order: u32, pub data_depth: u32, pub stride: u32, pub video_mode: Type, pub total_bytes: u64, pub image_bytes: u32, pub padding_bytes: u32, pub packet_size: u32, pub packets_per_frame: u32, pub timestamp: u64, pub frames_behind: u32, pub camera: *mut dc1394camera_t, pub id: u32, pub allocated_image_bytes: u64, pub little_endian: Type, pub data_in_padding: Type, }

Video frame structure.

dc1394video_frame_t is the structure returned by the capture functions. It contains the captured image as well as a number of information.

In general this structure should be calloc'ed so that members such as "allocated size" are properly set to zero. Don't forget to free the "image" member before freeing the struct itself.

Fields

image: *mut c_ucharsize: [u32; 2]position: [u32; 2]color_coding: Typecolor_filter: Typeyuv_byte_order: u32data_depth: u32stride: u32video_mode: Typetotal_bytes: u64image_bytes: u32padding_bytes: u32packet_size: u32packets_per_frame: u32timestamp: u64frames_behind: u32camera: *mut dc1394camera_tid: u32allocated_image_bytes: u64little_endian: Typedata_in_padding: Type

Trait Implementations

impl Copy for __dc1394_video_frame[src]

impl Clone for __dc1394_video_frame[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for __dc1394_video_frame[src]

Auto Trait Implementations

Blanket Implementations

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

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

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.