JeVois
1.22
JeVois Smart Embedded Machine Vision Toolkit
|
|
#include <jevois/Core/VideoOutputNone.H>
No-op VideoOutput derivative for when there is no video output.
This class derived from VideoOutput does (almost) nothing and can be used by Engine when no video output is desired.
Definition at line 28 of file VideoOutputNone.H.
Public Member Functions | |
virtual | ~VideoOutputNone () |
Virtual destructor for safe inheritance. | |
void | setFormat (VideoMapping const &m) override |
Set the video format and frame rate. | |
void | get (RawImage &img) override |
Get a pre-allocated image so that we can fill the pixel data and later send out using send() | |
void | send (RawImage const &img) override |
Send an image out. | |
void | streamOn () override |
Start streaming. | |
void | abortStream () override |
Abort streaming. | |
void | streamOff () override |
Stop streaming. | |
Public Member Functions inherited from jevois::VideoOutput | |
virtual | ~VideoOutput () |
Virtual destructor for safe inheritance. | |
Protected Attributes | |
std::shared_ptr< VideoBuf > | itsBuffer |
jevois::RawImage | itsImage |
|
virtual |
Virtual destructor for safe inheritance.
Definition at line 22 of file VideoOutputNone.C.
|
overridevirtual |
Abort streaming.
In VideoOutputNone, this is a no-op.
Implements jevois::VideoOutput.
Definition at line 53 of file VideoOutputNone.C.
|
overridevirtual |
Get a pre-allocated image so that we can fill the pixel data and later send out using send()
In VideoOutputNone, this returns a blank buffer.
Implements jevois::VideoOutput.
Definition at line 41 of file VideoOutputNone.C.
|
overridevirtual |
Send an image out.
In VideoOutputNone, this is a no-op.
Implements jevois::VideoOutput.
Definition at line 45 of file VideoOutputNone.C.
|
overridevirtual |
Set the video format and frame rate.
In VideoOutputNone, this is a no-op.
Implements jevois::VideoOutput.
Definition at line 26 of file VideoOutputNone.C.
References jevois::VideoMapping::ofmt, jevois::VideoMapping::ofps, jevois::VideoMapping::oh, jevois::VideoMapping::osize(), and jevois::VideoMapping::ow.
|
overridevirtual |
Stop streaming.
In VideoOutputNone, this is a no-op.
Implements jevois::VideoOutput.
Definition at line 57 of file VideoOutputNone.C.
|
overridevirtual |
Start streaming.
In VideoOutputNone, this is a no-op.
Implements jevois::VideoOutput.
Definition at line 49 of file VideoOutputNone.C.
|
protected |
Definition at line 59 of file VideoOutputNone.H.
|
protected |
Definition at line 60 of file VideoOutputNone.H.