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. More...
 
uvc_error_t uvc_duplicate_frame (uvc_frame_t *in, uvc_frame_t *out)
 Duplicate a frame, preserving color format. More...
 
void uvc_free_frame (uvc_frame_t *frame)
 Free a frame structure. More...
 

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.

uvc_error_t uvc_duplicate_frame ( uvc_frame_t in,
uvc_frame_t out 
)

Duplicate a frame, preserving color format.

Parameters
inOriginal frame
outDuplicate frame

Definition at line 109 of file frame.c.

void uvc_free_frame ( uvc_frame_t frame)

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 Fri Mar 13 2020 03:16:19