|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| std::span< const float > MayaFlux::Kakshya::VideoStreamContainer::processed_frame_as_float | ( | uint64_t | frame_index = 0 | ) | const |
Processed frame at frame_index as a normalised float span.
Valid after FrameAccessProcessor has written processed_data. uint8_t source values are divided by 255.0f. float source is zero-copy. Returns empty span if frame_index is out of range or the variant holds a non-pixel type.
The cache covers the last requested frame_index only. A call with a different index invalidates and recomputes.
| frame_index | Zero-based index into processed_data. Defaults to 0. |
Definition at line 692 of file VideoStreamContainer.cpp.
References MayaFlux::Kakshya::as_normalised_float(), m_float_frame_cache, m_float_frame_dirty, m_processed_data, and MayaFlux::store().
Here is the call graph for this function: