40 uint64_t source_timestamp;
114 if (old_dst == src) {
119 xrt_reference_inc(&src->reference);
125 if (xrt_reference_dec(&old_dst->reference)) {
126 old_dst->destroy(old_dst);
140 node->next = xfctx->nodes;
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
xrt_stereo_format
What type of stereo format a frame has.
Definition: xrt_defines.h:84
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
xrt_format
Common formats, use u_format_* functions to reason about them.
Definition: xrt_defines.h:60
A base class for reference counted objects.
Definition: xrt_defines.h:24