|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
static |
Capture a camera straight into a dynamic video stream it creates.
One operation opens the camera, hooks it to a buffer, makes a ring sized from that buffer's real frame size and format, and each cycle appends the camera frame to it. The stream is reached through get_graphics_stream() so playback can be set up, for example lag_behind_head.
| ring_frames | Frames the ring keeps; zero keeps three seconds at the registered frame rate. |
| live | Draws the live camera when given. |
| display | Draws the stream through the pipeline's IOManager when given; the pipeline needs one. |
Definition at line 272 of file BufferOperation.cpp.
References MayaFlux::Journal::AsyncIO, capture_to_stream(), and MayaFlux::Journal::Kriya.
Referenced by capture_to_stream(), and capture_to_stream().
Here is the call graph for this function:
Here is the caller graph for this function: