32 itsImage.width = m.
ow;
33 itsImage.height = m.
oh;
34 itsImage.fmt = m.
ofmt;
35 itsImage.fps = m.
ofps;
36 itsImage.buf = itsBuffer;
37 itsImage.bufindex = 0;
A raw image as coming from a V4L2 Camera and/or being sent out to a USB Gadget.
A V4L2 video buffer, to be held in a shared_ptr.
void streamOff() override
Stop streaming.
void abortStream() override
Abort streaming.
void send(RawImage const &img) override
Send an image out.
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 streamOn() override
Start streaming.
virtual ~VideoOutputNone()
Virtual destructor for safe inheritance.
Simple struct to hold video mapping definitions for the processing Engine.
unsigned int ow
output width
unsigned int osize() const
Return the size in bytes of an output image.
float ofps
output frame rate in frames/sec
unsigned int oh
output height
unsigned int ofmt
output pixel format, or 0 for no output over USB