You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
12 KiB
22 lines
12 KiB
2 months ago
|
<?xml version="1.0" encoding="utf-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"><svg xmlns="http://www.w3.org/2000/svg" width="1443" height="782" xmlns:xlink="http://www.w3.org/1999/xlink"><source><![CDATA[title: RS4xx - Metadata attributes propagation and query flow
|
||
|
Participant User Code
|
||
|
Participant rs2_device
|
||
|
Participant rs2_frame_callback
|
||
|
Participant rs2_frame
|
||
|
Participant rs2_backend
|
||
|
Participant Kernel/OS Driver
|
||
|
User Code->User Code: Initialize librealsense
|
||
|
Note over User Code,rs2_device: Acquire Device handle
|
||
|
User Code->rs2_device: Start Stream (user-defined callback)
|
||
|
Note over rs2_device,rs2_frame_callback: Store callback handle
|
||
|
rs2_device->rs2_backend: Start Polling frames
|
||
|
Note over rs2_backend,Kernel/OS Driver: Polling frame
|
||
|
rs2_backend->rs2_frame: unpack and store frame pixels
|
||
|
rs2_backend->rs2_frame: check and store metadata payload
|
||
|
rs2_frame-->rs2_backend: frame is ready for dispatch
|
||
|
rs2_backend->rs2_frame_callback: invoke user-defined callback(rs2_frame)
|
||
|
rs2_frame_callback->rs2_frame_callback: User code is invoked
|
||
|
rs2_frame_callback->rs2_frame: Check metadata attribute support
|
||
|
rs2_frame-->rs2_frame_callback: result (true/false)
|
||
|
rs2_frame_callback->rs2_frame: query metadata attribute value
|
||
|
rs2_frame-->rs2_frame_callback: value(/exception)]]></source><desc>RS4xx - Metadata attributes propagation and query flow</desc><defs><marker viewBox="0 0 5 5" markerWidth="5" markerHeight="5" orient="auto" refX="5" refY="2.5" id="markerArrowBlock"><path d="M 0 0 L 5 2.5 L 0 5 z"></path></marker><marker viewBox="0 0 9.6 16" markerWidth="4" markerHeight="16" orient="auto" refX="9.6" refY="8" id="markerArrowOpen"><path d="M 9.6,8 1.92,16 0,13.7 5.76,8 0,2.286 1.92,0 9.6,8 z"></path></marker></defs><g class="title"><rect x="10" y="10" width="485.234375" height="29" stroke="#000000" fill="#ffffff" style="stroke-width: 2;"></rect><text x="15" y="30" style="font-size: 16px; font-family: "Andale Mono", monospace;"><tspan x="15">RS4xx - Metadata attributes propagation and query flow</tspan></text></g><g class="actor"><rect x="10" y="49" width="99.375" height="39" stroke="#000000" fill="#ffffff" style="stroke-width: 2;"></rect><text x="20" y="74" style="font-size: 16px; font-family: "Andale Mono", monospace;"><tspan x="20">User Code</tspan></text></g><g class="actor"><rect x="10" y="723" width="99.375" height="39" stroke="#000000" fill="#ffffff" style="stroke-width: 2;"></rect><text x="20" y="748" style="font-size: 16px; font-family: "Andale Mono", monospace;"><tspan x="20">User Code</tspan></text></g><line x1="59.6875" x2="59.6875" y1="88" y2="723" stroke="#000000" fill="none" style="stroke-width: 2;"></line><g class="actor"><rect x="342.2890625" y="49" width="108.171875" height="39" stroke="#000000" fill="#ffffff" style="stroke-width: 2;"></rect><text x="352.2890625" y="74" style="font-size: 16px; font-family: "Andale Mono", monospace;"><tspan x="352.2890625">rs2_device</tspan></text></g><g class="actor"><rect x="342.2890625" y="723" width="108.171875" height="39" stroke="#000000" fill="#ffffff" style="stroke-width: 2;"></rect><text x="352.2890625" y="748" style="font-size: 16px; font-family: "Andale Mono", monospace;"><tspan x="352.2890625">rs2_device</tspan></text></g><line x1="396.375" x2="396.375" y1="88" y2="723" stroke="#000000" fill="none" style="stroke-width: 2;"></line><g class="actor"><rect x="482.0390625" y="49" width="178.546875" height="39" stroke="#000000" fill="#ffffff" style="stroke-width: 2;"></rect><text x="492.0390625" y="74" style="font-size: 16px; font-family: "Andale Mono", monospace;"><tspan x="492.0390625">rs2_frame_callback</tspan></text></g><g class="actor"><rect x="482.0390625" y="723" width="178.546875" height="39" stroke="#000000" fill="#ffffff" style="stroke-width: 2;"></rect><text x="492.0390625" y="748" style="font-size: 16px; font-family: "Andale Mono", monospace;"><tspan x="492.0390625">rs2_frame_callback</tspan></text></g><line x1="571.3125" x2="571.3125" y1="88" y2="723" stroke="#000000" fill="none" style="stroke-width: 2;"></line><g class="actor"><rect x="823.125" y="49" width="99.375" height="39" stroke="#000000" fill="#ffffff" style="stroke-width: 2;"></rect><text x="833.125" y="74" style="font-size: 16px; font-family: "Andale Mono", monospace;"><tspan x="833.125">rs2_frame</tspan></text></g><g class="actor"><rect x="823.125" y="723" width="99.375" height="39" stroke="#000000" fill="#ffffff" style="stroke-width: 2;"></rect><text x="833.125" y="748" style="font-size: 16px; font-family: "Andale Mono", monospace;"><tspan x="833.125">rs2_frame</tspan></text></g><line x1="872.8125" x2="872.8125" y1="88" y2="723" stroke="#000000" fill="none" style="stroke-width: 2;"></line><g class="actor"><rect x="1115.9296875" y="49" width="116.765625" height="39" stroke="#000000" fill="#ffffff" style="stroke-width: 2;"></rect><text x="1125.9296875" y="74" style="font-size: 16px; font-family: "Andale Mono", monospace;"><tspan x="1125.9296875">rs2_backend</tspan></text></g><g class="actor"><rect x="1115.9296875" y="723" width="116.765625" height="39" stroke="#000000" fill="#ffffff" style="stroke-width: 2;"></rect><text x="1125.9296875" y="748" style="font-size: 16px; font-family: "Andale Mono", monospa
|