MayaFlux 0.4.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 50 of file WindowContainer.cpp.

51 : m_window(std::move(window))
52{
53 if (!m_window) {
54 error<std::invalid_argument>(
57 std::source_location::current(),
58 "WindowContainer requires a valid window");
59 }
60
62
64 "WindowContainer created for window '{}' ({}x{})",
65 m_window->get_create_info().title,
67}
#define MF_INFO(comp, ctx,...)
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, 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: