Pull-based provider of one already-encoded video/image frame at a time - e.g. wraps a camera capture + H264Encoder/MJPEG capture pipeline. Used by VideoMuxerWithTasks's video task, which calls nextFrame() once per iteration, at the rate given by videoInfo().fps. Implementations should produce/capture the frame here directly (not defer it): a slow nextFrame() only delays whatever is pulling from it.
More...
#include <Video.h>
Pull-based provider of one already-encoded video/image frame at a time - e.g. wraps a camera capture + H264Encoder/MJPEG capture pipeline. Used by VideoMuxerWithTasks's video task, which calls nextFrame() once per iteration, at the rate given by videoInfo().fps. Implementations should produce/capture the frame here directly (not defer it): a slow nextFrame() only delays whatever is pulling from it.
- Author
- Phil Schatzmann
- Copyright
- GPLv3
◆ ~VideoFrameSource()
◆ nextFrame()
| virtual const uint8_t * nextFrame |
( |
size_t & | len | ) |
|
|
pure virtual |
◆ videoInfo()
◆ writeTo()
| bool writeTo |
( |
Print & | out | ) |
|
|
inline |
Write the frame to the indicated destination.
The documentation for this class was generated from the following file: