Monado OpenXR Runtime
Loading...
Searching...
No Matches
xrt_blob_sink Class Reference
Inheritance diagram for xrt_blob_sink:

Public Member Functions

void u_sink_blob_visualizer_create (struct xrt_frame_context *xfctx, struct t_blob_sink *downstream_blob_sink, struct u_sink_debug *downstream_frame_sink, uint32_t frame_width, uint32_t frame_height, struct t_blob_sink **out_xbs)
 

Member Function Documentation

◆ u_sink_blob_visualizer_create()

void u_sink_blob_visualizer_create ( struct xrt_frame_context xfctx,
struct t_blob_sink downstream_blob_sink,
struct u_sink_debug downstream_frame_sink,
uint32_t  frame_width,
uint32_t  frame_height,
struct t_blob_sink **  out_xbs 
)
See also
xrt_frame_context Visualizes blobs by rendering them to a frame and pushing that frame to a downstream sink. Useful for debugging blob detection.
Parameters
[in]xfctxThe frame context to add this sink to.
[in]downstream_blob_sinkThe blob sink to forward the blobs to.
[in]downstream_frame_sinkThe frame sink to push the visualized frames to.
[in]frame_widthThe width of the frames to render the blobs to.
[in]frame_heightThe height of the frames to render the blobs to.
[out]out_xbsThe created blob sink.

References xrt_frame_node::break_apart, xrt_frame_node::destroy, t_blob_sink::push_blobs, and U_TYPED_CALLOC.


The documentation for this class was generated from the following files: