Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
Public Attributes | List of all members
uvc_frame Struct Reference

#include <libuvc.h>

Public Attributes

void * data
 
size_t data_bytes
 
void * metadata
 
uint8_t metadata_bytes
 
uint32_t width
 
uint32_t height
 
enum uvc_frame_format frame_format
 
size_t step
 
uint32_t sequence
 
struct timeval capture_time
 
uvc_device_handle_tsource
 
uint8_t library_owns_data
 

Detailed Description

An image frame received from the UVC device

Member Data Documentation

◆ capture_time

struct timeval uvc_frame::capture_time

Estimate of system time when the device started capturing the image

◆ data

void* uvc_frame::data

Image data for this frame

◆ data_bytes

size_t uvc_frame::data_bytes

Size of image data buffer

◆ frame_format

enum uvc_frame_format uvc_frame::frame_format

Pixel data format

◆ height

uint32_t uvc_frame::height

Height of image in pixels

◆ library_owns_data

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.

◆ metadata

void* uvc_frame::metadata

Metadata for this frame

◆ metadata_bytes

uint8_t uvc_frame::metadata_bytes

Size of metadata

◆ sequence

uint32_t uvc_frame::sequence

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

◆ source

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.

◆ step

size_t uvc_frame::step

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

◆ width

uint32_t uvc_frame::width

Width of image in pixels


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