|
MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
|
| MayaFlux::Buffers::VideoContainerBuffer::VideoContainerBuffer | ( | const std::shared_ptr< Kakshya::StreamContainer > & | container, |
| Portal::Graphics::ImageFormat | format = Portal::Graphics::ImageFormat::RGBA8 |
||
| ) |
Construct a VideoContainerBuffer from a video container.
Extracts width, height, and pixel format from the container's structure and initialises the TextureBuffer base with matching dimensions. Creates a pending VideoStreamReader that is wired on initialize().
| container | Backing video StreamContainer (must carry VIDEO_COLOR data). |
| format | Pixel format (default RGBA8 matching container convention). |
Definition at line 202 of file VideoContainerBuffer.cpp.
References MayaFlux::Journal::Buffers, MayaFlux::Buffers::TextureBuffer::get_height(), MayaFlux::Buffers::TextureBuffer::get_width(), MayaFlux::Journal::Init, m_container, m_video_reader, and MF_INFO.
Here is the call graph for this function: