Public Attributes | List of all members
uvc_frame Struct Reference

#include <libuvc.h>

Public Attributes

struct timeval capture_time
 
voiddata
 
size_t data_bytes
 
uint32_t fourcc
 
uint32_t height
 
uint8_t library_owns_data
 
uint32_t sequence
 
uvc_device_handle_tsource
 
size_t step
 
uint32_t width
 

Detailed Description

An image frame received from the UVC device

Definition at line 364 of file libuvc.h.

Member Data Documentation

struct timeval uvc_frame::capture_time

Estimate of system time when the device started capturing the image

Definition at line 380 of file libuvc.h.

void* uvc_frame::data

Image data for this frame

Definition at line 366 of file libuvc.h.

size_t uvc_frame::data_bytes

Size of image data buffer

Definition at line 368 of file libuvc.h.

uint32_t uvc_frame::fourcc

Pixel data format

Definition at line 374 of file libuvc.h.

uint32_t uvc_frame::height

Height of image in pixels

Definition at line 372 of file libuvc.h.

uint8_t uvc_frame::library_owns_data

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.

Definition at line 390 of file libuvc.h.

uint32_t uvc_frame::sequence

Frame number (may skip, but is strictly monotonically increasing)

Definition at line 378 of file libuvc.h.

uvc_device_handle_t* uvc_frame::source

Handle on the device that produced the image.

Warning
You must not call any uvc_* functions during a callback.

Definition at line 383 of file libuvc.h.

size_t uvc_frame::step

Number of bytes per horizontal line (undefined for compressed format)

Definition at line 376 of file libuvc.h.

uint32_t uvc_frame::width

Width of image in pixels

Definition at line 370 of file libuvc.h.


The documentation for this struct was generated from the following file:


librealsense
Author(s): Sergey Dorodnicov , Mark Horn , Reagan Lopez
autogenerated on Fri Mar 13 2020 03:16:19