MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ WindowContainer() [1/3]

MayaFlux::Kakshya::WindowContainer::WindowContainer ( std::shared_ptr< Core::Window window)
explicit

Construct from an existing managed window.

Parameters
windowLive window whose surface will be addressed as NDData.

Definition at line 13 of file WindowContainer.cpp.

14 : m_window(std::move(window))
15{
16 if (!m_window) {
17 error<std::invalid_argument>(
20 std::source_location::current(),
21 "WindowContainer requires a valid window");
22 }
23
26
28 "WindowContainer created for window '{}' ({}x{})",
29 m_window->get_create_info().title,
31}
#define MF_INFO(comp, ctx,...)
void create_default_processor() override
Create and configure a default processor for this container.
std::shared_ptr< Core::Window > m_window
@ ContainerProcessing
Container operations (Kakshya - file/stream/region processing)
@ Kakshya
Containers[Signalsource, Stream, File], Regions, DataProcessors.
static uint64_t get_height(const std::vector< DataDimension > &dimensions)
Extract height from image/video dimensions.
static uint64_t get_width(const std::vector< DataDimension > &dimensions)
Extract width from image/video dimensions.

References MayaFlux::Journal::ContainerProcessing, create_default_processor(), MayaFlux::Kakshya::ContainerDataStructure::get_height(), MayaFlux::Kakshya::ContainerDataStructure::get_width(), MayaFlux::Journal::Kakshya, m_structure, m_window, MF_INFO, and setup_dimensions().

+ Here is the call graph for this function: