This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.
ofAVFoundationGrabber.h
Go to the documentation of this file.
virtual ofPixels_< unsigned char > & getPixels()=0
Get a reference to the underlying ofPixels.
A base class representing a video device such as a camera.
Definition ofVideoBaseTypes.h:110
virtual void setDesiredFrameRate(int framerate)
Set the video grabber's desired frame rate.
Definition ofBaseTypes.cpp:23
virtual bool setup(int w, int h)=0
Set up the grabber with the requested width and height.
virtual void setDeviceID(int deviceID)
Set the video grabber's device ID.
Definition ofBaseTypes.cpp:18
virtual std::vector< ofVideoDevice > listDevices() const =0
Get a list of available video grabber devices.
virtual ofPixelFormat getPixelFormat() const =0
virtual bool setPixelFormat(ofPixelFormat pixelFormat)=0
Set the requested ofPixelFormat.
virtual bool isInitialized() const =0
Determine if the video source is initialized.
virtual bool isFrameNew() const =0
Definition ofPixels.h:1522