|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| std::span< const float > MayaFlux::Kakshya::WindowContainer::processed_frame_as_float | ( | uint32_t | frame_index = 0 | ) | const |
processed_data[frame_index] as a normalised float span.
Valid after WindowAccessProcessor has written processed_data[frame_index]. uint8_t values divided by 255.0f; uint16_t by 65535.0f; float is zero-copy. Returns empty span if frame_index is out of range or the variant holds a non-pixel type.
Result is cached per slot and reused until invalidate_float_frame_cache() is called for that slot.
| frame_index | Zero-based index into processed_data. Defaults to 0. |
Definition at line 474 of file WindowContainer.cpp.
References MayaFlux::Kakshya::as_normalised_float(), m_data_lock, m_normalised_cache, m_normalised_dirty, m_processed_data, and MayaFlux::store().
Here is the call graph for this function: