114 if (old_dst == src) {
125 if (xrt_reference_dec(&old_dst->
reference)) {
155 while (node != NULL) {
162 while (node != NULL) {
void(* destroy)(struct xrt_frame_node *node)
Do the actual freeing of the objects.
Definition: xrt_frame.h:79
void(* break_apart)(struct xrt_frame_node *node)
Called first in when the graph is being destroyed, remove any references frames and other objects and...
Definition: xrt_frame.h:74
uint64_t timestamp
Definition: xrt_frame.h:39
uint32_t width
Definition: xrt_frame.h:30
struct xrt_frame_node * nodes
Definition: xrt_frame.h:89
struct xrt_reference reference
Definition: xrt_frame.h:26
uint64_t source_timestamp
Definition: xrt_frame.h:40
xrt_stereo_format
What type of stereo format a frame has.
Definition: xrt_defines.h:86
A object that is sent frames.
Definition: xrt_frame.h:51
Common defines and enums for XRT.
Object used to track all sinks and frame producers in a graph.
Definition: xrt_frame.h:87
Basic frame data structure - holds a pointer to buffer.
Definition: xrt_frame.h:24
uint64_t source_id
Which xrt_fs this frame originated from.
Definition: xrt_frame.h:42
A interface object used for destroying a frame graph.
Definition: xrt_frame.h:66
uint64_t source_sequence
sequence id
Definition: xrt_frame.h:41
enum xrt_format format
Definition: xrt_frame.h:36
uint8_t * data
Definition: xrt_frame.h:34
struct xrt_frame_node * next
Definition: xrt_frame.h:68
void * owner
Definition: xrt_frame.h:28
xrt_format
Common formats, use u_format_* functions to reason about them.
Definition: xrt_defines.h:61
A base class for reference counted objects.
Definition: xrt_defines.h:25
uint32_t height
Definition: xrt_frame.h:31
size_t size
Definition: xrt_frame.h:33
enum xrt_stereo_format stereo_format
Definition: xrt_frame.h:37
void(* destroy)(struct xrt_frame *)
Definition: xrt_frame.h:27
size_t stride
Definition: xrt_frame.h:32