|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
Cross-run state of the flow context. More...
#include <VisionGpuDispatch.hpp>
Collaboration diagram for MayaFlux::Yantra::FlowState:Public Attributes | |
| std::shared_ptr< Core::VKImage > | atlas [2] |
| bool | buffers_ready { false } |
| Portal::Graphics::FenceID | build_fence { Portal::Graphics::INVALID_FENCE } |
| uint32_t | curr { 0 } |
| bool | curr_ready { false } |
| std::shared_ptr< Core::VKImage > | dense_a |
| std::shared_ptr< Core::VKImage > | dense_b |
| Kinesis::Vision::PyramidLayout | dense_layout |
| std::shared_ptr< Core::VKImage > | dense_tensor |
| bool | export_pending { false } |
| uint32_t | export_slot { 0 } |
| std::shared_ptr< Portal::Graphics::GpuBufferHandle > | export_view [2] |
| Bookkeeping for the device resident track export. | |
| std::shared_ptr< Core::VKImage > | flow_lvl |
| std::shared_ptr< Core::VKImage > | flow_out [2] |
| Dense flow images, allocated on first use of OpticalFlowDense. | |
| std::shared_ptr< Core::VKImage > | flow_vis |
| bool | have_prev { false } |
| bool | host_pending { true } |
| std::shared_ptr< Portal::Graphics::GpuBufferHandle > | last_export |
| std::shared_ptr< Core::VKImage > | last_flow |
| Most recent flow image and track list produced from a frame that differed from the one before it. | |
| uint32_t | last_track_count { 0 } |
| Track count of the last distinct frame, independent of whether a host list was produced for it, and whether the submitted track sequence should read its tracks back to the host. | |
| std::vector< Kinesis::Vision::TrackResult > | last_tracks |
| Kinesis::Vision::PyramidLayout | layout |
Cross-run state of the flow context.
Two atlases are bound for their whole life. Which one holds the current frame is the curr parity, passed to shaders as a push constant, so ping-pong is a bit flip and never rewrites a descriptor. Detections, retained previous points and tracks live in the flow context's shared buffers and never leave the GPU except for the final tracks readback.
Definition at line 40 of file VisionGpuDispatch.hpp.