This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.
ofGstVideoGrabber.h
Go to the documentation of this file.
66 ofGstVideoFormat& selectFormat(int w, int h, int desired_framerate, ofPixelFormat desiredPixelFormat);
A base class representing a video device such as a camera.
Definition ofVideoBaseTypes.h:110
Definition ofGstVideoGrabber.h:34
void setDesiredFrameRate(int framerate)
Set the video grabber's desired frame rate.
Definition ofGstVideoGrabber.cpp:820
void update()
Update the object's state.
Definition ofGstVideoGrabber.cpp:829
void setDeviceID(int id)
Set the video grabber's device ID.
Definition ofGstVideoGrabber.cpp:678
bool setPixelFormat(ofPixelFormat pixelFormat)
needs to be called before initGrabber
Definition ofGstVideoGrabber.cpp:611
ofPixels & getPixels()
Get a reference to the underlying ofPixels.
Definition ofGstVideoGrabber.cpp:838
float getHeight() const
Get the video grabber's height.
Definition ofGstVideoGrabber.cpp:850
bool isInitialized() const
Determine if the video source is initialized.
Definition ofGstVideoGrabber.cpp:629
float getWidth() const
Get the video grabber's width.
Definition ofGstVideoGrabber.cpp:854
bool setup(int w, int h)
Set up the grabber with the requested width and height.
Definition ofGstVideoGrabber.cpp:708
std::vector< ofVideoDevice > listDevices() const
Get a list of available video grabber devices.
Definition ofGstVideoGrabber.cpp:649
void videoSettings()
Request a native GUI for video grabber settings.
Definition ofGstVideoGrabber.h:43
ofTexture * getTexturePtr()
Get the video grabber's internal ofTexture pointer if available.
Definition ofGstVideoGrabber.cpp:846
void setVerbose(bool bVerbose)
Set the video grabber's hardware verbosity level.
Definition ofGstVideoGrabber.cpp:624
ofPixelFormat getPixelFormat() const
Definition ofGstVideoGrabber.cpp:616
ofGstVideoUtils * getGstVideoUtils()
Definition ofGstVideoGrabber.cpp:824
Definition ofGstUtils.h:156
Definition ofGstVideoGrabber.h:29
std::vector< ofGstDevice > webcam_devices
Definition ofGstVideoGrabber.h:30
Definition ofGstVideoGrabber.h:20
std::vector< ofGstVideoFormat > video_formats
Definition ofGstVideoGrabber.h:25
Definition ofGstVideoGrabber.h:6
Definition ofGstVideoGrabber.h:11
ofGstFramerate choosen_framerate
Definition ofGstVideoGrabber.h:17
std::vector< ofGstFramerate > framerates
Definition ofGstVideoGrabber.h:16