Basic frame data structure - holds a pointer to buffer.
Definition: xrt_frame.h:25
Image rectangle.
Definition: xrt_defines.h:430
void u_frame_create_one_off(enum xrt_format f, uint32_t width, uint32_t height, struct xrt_frame **out_frame)
Creates a single non-pooled frame, when the reference reaches zero it is freed.
Definition: u_frame.c:26
void u_frame_create_roi(struct xrt_frame *original, struct xrt_rect roi, struct xrt_frame **out_frame)
Creates a frame out of a region of interest from original frame.
Definition: u_frame.c:90
void u_frame_clone(struct xrt_frame *to_copy, struct xrt_frame **out_frame)
Clones a frame.
Definition: u_frame.c:55
xrt_format
Common formats, use u_format_* functions to reason about them.
Definition: xrt_defines.h:176