Functions
Frame processing

Tools for managing frame buffers and converting between image formats. More...

Functions

uvc_frame_tuvc_allocate_frame (size_t data_bytes)
 Allocate a frame structure.
uvc_error_t uvc_duplicate_frame (uvc_frame_t *in, uvc_frame_t *out)
 Duplicate a frame, preserving color format.
void uvc_free_frame (uvc_frame_t *frame)
 Free a frame structure.

Detailed Description

Tools for managing frame buffers and converting between image formats.


Function Documentation

uvc_frame_t* uvc_allocate_frame ( size_t  data_bytes)

Allocate a frame structure.

Parameters:
data_bytesNumber of bytes to allocate, or zero
Returns:
New frame, or NULL on error

Definition at line 64 of file frame.c.

Duplicate a frame, preserving color format.

Parameters:
inOriginal frame
outDuplicate frame

Definition at line 109 of file frame.c.

Free a frame structure.

Parameters:
frameFrame to destroy

Definition at line 92 of file frame.c.



librealsense
Author(s): Sergey Dorodnicov , Mark Horn , Reagan Lopez
autogenerated on Tue Jun 25 2019 19:54:40