|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
static |
Capture an opened camera or loaded video into a dynamic video stream it creates.
The container form of the camera and file forms, which open the source and call this. A container already hooked, for example by piping it into Graphics, keeps its buffer; an unhooked one is hooked here. The ring is sized from that buffer. Audio extracted with the video is not touched: pipe the container into Graphics first to hear it.
| ring_frames | Frames the ring keeps; zero keeps three seconds at the registered frame rate. |
| live | Draws the live source when given. |
| display | Draws the stream through the pipeline's IOManager when given; the pipeline needs one. |
Definition at line 288 of file BufferOperation.cpp.
References MayaFlux::Journal::AsyncIO, buffer, MayaFlux::Kriya::detail::ensure_rendering(), MayaFlux::Buffers::GRAPHICS_BACKEND, MayaFlux::Journal::Kriya, m_render, m_source_graphics_buffer, m_target_graphics_stream, and ROUTE.
Here is the call graph for this function: