Extends
This class extends others, you can call their methods on an instance of ofBaseVideo too:
Documentation from code comments
A base class representing a video source.
~ofBaseVideo()
ofBaseVideo::~ofBaseVideo()
Documentation from code comments
Destroy the ofBaseVideo.
getPixelFormat()
ofPixelFormat ofBaseVideo::getPixelFormat()
Documentation from code comments
Returns: the current ofPixelFormat.
isFrameNew()
bool ofBaseVideo::isFrameNew()
Documentation from code comments
Returns: true if the pixel data was updated since the last call to update().
isInitialized()
bool ofBaseVideo::isInitialized()
Documentation from code comments
Determine if the video source is initialized.
Video sources such as cameras are often initialized with a setup() method. Video sources such as movie players are often initialized with a load() method.
Returns: true if the video source is initialized.
setPixelFormat(...)
bool ofBaseVideo::setPixelFormat(ofPixelFormat pixelFormat)
Documentation from code comments
Set the requested ofPixelFormat.
Parameters:
pixelFormat the requested ofPixelFormat.
Returns: true if the format was successfully changed.
Last updated 星期五, 15 九月 2023 21:23:46 UTC - 89b7d17faa77e847b7de814f7dcea89eeca38653
If you have any doubt about the usage of this module you can ask in the forum.
If you want to contribute better documentation or start documenting this section you can do so here
If you find anything wrong with this docs you can report any error by opening an issue