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

◆ load_from_container() [2/2]

BufferOperation MayaFlux::Kriya::BufferOperation::load_from_container ( std::shared_ptr< Kakshya::DynamicVideoStream >  source,
std::shared_ptr< Buffers::VKBuffer >  target,
uint64_t  start_frame = 0,
uint32_t  length = 0 
)
static

Load video frames from a dynamic stream into a graphics buffer.

Definition at line 416 of file BufferOperation.cpp.

421{
423 op.m_source_graphics_stream = std::move(source);
424 op.m_target_graphics_buffer = std::move(target);
425 op.m_start_frame = start_frame;
426 op.m_load_length = length;
427 return op;
428}
uint64_t length
Definition Composite.cpp:11
BufferOperation(OpType type, BufferCapture capture)
@ LOAD
Load data from container to buffer with position control.
@ GRAPHICS_BACKEND
Standard graphics processing backend configuration.

References MayaFlux::Buffers::GRAPHICS_BACKEND, length, LOAD, m_load_length, m_source_graphics_stream, m_start_frame, and m_target_graphics_buffer.